RescalePixels_FixedRange


Transforms pixels value from given range into new one.

Syntax

C++
Python
 
def RescalePixels_FixedRange(
	inImage: Image,
	inMinValue: float,
	inMaxValue: float,
	inNewMinValue: float,
	inNewMaxValue: float,
	outImage: Image,
	/,
	*,
	inRoi: Region | None = None
)
-> None

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inRoi Region | None None Range of pixels to be processed
Input value inMinValue float Declared minimum value of input image
Input value inMaxValue float Declared maximum value of input image
Input value inNewMinValue float Desired minimum value of the resulting image
Input value inNewMaxValue float Desired maximum value of the resulting image
Output value outImage 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.