Skip to main content

Function: provisionReducedResolutionStrategy()

provisionReducedResolutionStrategy(__namedParameters): IVolumeRenderStrategy | undefined

Builds the reduced-resolution strategy that the device can hold.

The reduction applies a separate factor to each axis. An edge of 2049 voxels exceeds a limit of 2048 on one axis and by one voxel, so the reduction takes that one axis and leaves the other two. A uniform reduction by 2 on three axes would take 8 times fewer voxels for an excess of one voxel.

Intensity volumes reduce with the box average. Labelmaps set reductionStatistic to foregroundMajority so segment indices stay real labels.

Parameters​

• __namedParameters: VolumeStrategyProvisionContext

Returns​

IVolumeRenderStrategy | undefined

Defined in​

packages/core/src/RenderingEngine/helpers/volumeRenderStrategy.ts:322