You are here: Start » FIL.NET » FIS.NormalizeImage Method
FIS.NormalizeImage Method
Rescales an image linearly, so that its minimum becomes inNewMinimum and the maximum of the remaining pixels becomes inNewMaximum.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void NormalizeImage ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, float inNewMinimum, float inNewMaximum, float inSaturateBrightestFraction, float inSaturateDarkestFraction, float? inMinValue, float? inMaxValue, FilNet.Image outImage, out float outA, out float outB )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inNewMinimum | float | 0.0f | Desired minimum value of the resulting image. Default value: 0.0f. | |
![]() | inNewMaximum | float | 255.0f | Desired maximum value of the resulting image. Default value: 255.0f. | |
![]() | inSaturateBrightestFraction | float | <0.0f, 1.0f> | 0.0f | Fraction of the brightest pixels skipped during normalization. Default value: 0.0f. |
![]() | inSaturateDarkestFraction | float | <0.0f, 1.0f> | 0.0f | Fraction of the darkest pixels skipped during normalization. Default value: 0.0f. |
![]() | inMinValue | float? | Pixels darker than that value will be skipped during normalization. Default value: ftl::NIL. | ||
![]() | inMaxValue | float? | Pixels brighter than that value will be skipped during normalization. Default value: ftl::NIL. | ||
![]() | outImage | FilNet.Image | Rescaled image. | ||
![]() | outA | float | Multiplicative parameter of the applied linear transformation of pixel values. | ||
![]() | outB | float | Additive parameter of the applied linear transformation of pixel values. |
Function Overrides
- NormalizeImage(Image, Single, Single, Single, Single, Nullable<Single>, Nullable<Single>, Image, Single, Single)
- NormalizeImage(Image, NullableRef<Region>, Single, Single, Single, Single, Nullable<Single>, Nullable<Single>, Image, Single, Single, Region)