11.65. ITK Rescale Intensity Image Filter

Linearly rescales the full intensity range of an image into a chosen output range.

Group (Subgroup)

ITKImageIntensity (ImageIntensity)

Description

This filter applies a linear transform that maps the full intensity range of the input image onto a user-specified output range. The smallest input value maps to Output Minimum, the largest input value maps to Output Maximum, and everything in between scales proportionally. It is the standard way to normalize an image to a fixed range (for example 0-255 for display, or 0-1 for downstream processing).

$$ \text{output} = (\text{input} - \text{inputMin}) \cdot \frac{\text{OutputMax} - \text{OutputMin}}{\text{inputMax} - \text{inputMin}} + \text{OutputMin} $$

The input minimum and maximum are detected automatically, so only the output range is set by the user. To stretch a chosen input window rather than the full range (clamping outside it), use ITK Intensity Windowing Image Filter.

Parameter Guidance

  • Output Minimum / Output Maximum — the target output range, in output intensity units (defaults 0 and 255).

Required Input Sources

Operates on any scalar image — typically from Read Image, Read Images [3D Stack], or the output of a prior ITK image filter.

Input Parameter(s)

Parameter Name

Parameter Type

Parameter Notes

Description

Output Minimum

Scalar Value

Float64

The minimum output value that is used.

Output Maximum

Scalar Value

Float64

The maximum output value that is used.

Input Cell Data

Parameter Name

Parameter Type

Parameter Notes

Description

Image Geometry

Geometry Selection

Image

Select the Image Geometry Group from the DataStructure.

Input Cell Data

Array Selection

Allowed Types: int8, uint8, int16, uint16, int32, uint32, int64, uint64, float32, float64

The image data that will be processed by this filter.

Output Cell Data

Parameter Name

Parameter Type

Parameter Notes

Description

Output Cell Data

DataObjectName

The result of the processing will be stored in this Data Array inside the same group as the input data.

Example Pipelines

DREAM3D-NX Help

If you need help, need to file a bug report or want to request a new feature, please head over to the DREAM3DNX-Issues GitHub site where the community of DREAM3D-NX users can help answer your questions.