You are here: Start » AVL.NET » AVS.NormalizeImage Method
AVS.NormalizeImage Method
Rescales an image linearly, so that its minimum becomes inNewMinimum and the maximum of the remaining pixels becomes inNewMaximum.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void NormalizeImage ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, float inNewMinimum, float inNewMaximum, float inSaturateBrightestFraction, float inSaturateDarkestFraction, float? inMinValue, float? inMaxValue, AvlNet.Image outImage, out float outA, out float outB, AvlNet.Region diagLinearNormalizedRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::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: atl::NIL. | |||
inMaxValue | float? | Pixels brighter than that value will be skipped during normalization. Default value: atl::NIL. | |||
outImage | AvlNet.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. | |||
diagLinearNormalizedRegion | AvlNet.Region | Region of image that has been linearly normalized. |
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)