Skip to main content

Function: imageQualityStatusOfRecord()

imageQualityStatusOfRecord(record): ImageQualityStatus

Gives the comparable summary of one record.

ImageQualityStatus stays as the comparable summary, and the code DERIVES that summary from the record, so every existing minQuality floor and every existing guard against a regression of the quality keeps working.

The summary takes the LOWEST quality of the deliveries of the region, because the summary of a region is no better than its worst part, and a region that holds data that has not arrived falls to FAR_REPLICATE, which is the lowest value that the vocabulary holds.

Parameters​

• record: Pick<VoxelQualityRecord, "lowest" | "missing" | "voxels" | "reduction">

the absolute record of a region

Returns​

ImageQualityStatus

the comparable summary

Defined in​

packages/core/src/utilities/voxelGrid/voxelQuality.ts:174