Function: calculateRadiographicPixelSpacing()
calculateRadiographicPixelSpacing(
instance):object
Given an instance, calculates the project (radiographic) pixel spacing plus the type of calibration that got used for it.
This will be Calibrated if the calibration type is Fiducial (calibration)
It will be ERMF if Pixel Spacing is present, and the calibration is GEOMETRY
It will be ERMF if Imager Pixel Spacing is present and ermf is defined in some format.
It will be projection if imager pixel spacing is defined, but no ermf
It will be unknown if pixel spacing is defined
Otherwise it will be undefined (no spacing).
Parameters
• instance: any
Returns
object
isProjection
isProjection:
boolean
PixelSpacing
PixelSpacing:
any
type
type:
CalibrationTypes=CalibrationTypes.ERMF
Defined in
packages/core/src/utilities/getPixelSpacingInformation.ts:65