Smoothing
DicomObjects (both COM and .NET versions) supports smoothing of displayed images, controlled by the MagnificationMode and MinificationMode properties of the image. Whilst using these produces a more visually pleasing image, it does not actually add to the “value” of an image, and does have a performance penalty, so developers are advised to disable these features whilst windowing and scrolling etc. by setting both to doFilterReplicate
There are two independent properties which control such smoothing in DicomObjects:
- MinificationMode
- Controls the smoothing where ActualZoom is <1
- MagnificationMode
- Controls the smoothing where ActualZoom is >1
Allowable values for MinificationMode
- doFilterDefault
- equal to doFilterMovingAverage
- doFilterReplicate
- Simply subsample (fast, but totally omits many pixels)
- doFilterMovingAverage
- Applies a linear kernel, depending on value of Filterlength
Allowable values for MagnificationMode
- doFilterDefault
- equal to doFilteReplicate ( note : different to the behaviour for MinificationMode)
- doFilterReplicate
- Simply replicate as needed (fast and safe, but some users dislike the "pixilation")
- doFilterBSline
- Applies a B-Spline kernel
- doFilterCubicSline
- Applies a Cubic-Spline kernel, using the CubicSplineAlpha property to define the sharpness