You are here: Start » FIL.NET » Function Reference » Image » Image Point Transforms » FIL.RescalePixels_FixedRange
Transforms pixels value from given range into new one.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RescalePixels_FixedRange ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, float inMinValue, float inMaxValue, float inNewMinValue, float inNewMaxValue, FilNet.Image outImage )
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. | ||
![]() | inMinValue | float | Declared minimum value of input image. | ||
![]() | inMaxValue | float | Declared maximum value of input image. | ||
![]() | inNewMinValue | float | Desired minimum value of the resulting image. | ||
![]() | inNewMaxValue | float | Desired maximum value of the resulting image. | ||
![]() | outImage | FilNet.Image | Output image. |
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT8, SINT16, REAL.
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | A inMinValue cannot be equal to inMaxValue in RescalePixels_FixedRange. |
DomainError | A inMinValue cannot be higher than the inMaxValue in RescalePixels_FixedRange. |
DomainError | The inNewMinValue cannot be higher than the inNewMaxValue in RescalePixels_FixedRange. |