fast::IntensityNormalization class

Normalize intensities of an image to a 0-1 or custom range.

This process object will scale the pixel values of an image to a value between 0 and 1 (default) or other values if set.

Inputs:

Outputs:

Base classes

class ProcessObject
Abstract base class for all process objects.

Public functions

auto create(float valueLow, float valueHigh, float minimumIntensity, float maximumIntensity) -> std::shared_ptr<IntensityNormalization>
Create instance Every pixel value is scaled so that: value = (value - minimumIntensity) / (maximumIntensity - minimumIntensity); value = value*(valueHigh - valueLow) + valueLow;.
void setMaximumIntensity(float intensity)
void setLowestValue(float value)
void setHighestValue(float value)

Private functions

void execute() virtual

Function documentation

std::shared_ptr<IntensityNormalization> fast::IntensityNormalization::create(float valueLow, float valueHigh, float minimumIntensity, float maximumIntensity)

Create instance Every pixel value is scaled so that: value = (value - minimumIntensity) / (maximumIntensity - minimumIntensity); value = value*(valueHigh - valueLow) + valueLow;.

Parameters
valueLow minimum value after normalization
valueHigh maximum value after normalization
minimumIntensity set fixed minimum intensity, if not set it is calculated for each image
maximumIntensity set fixed maxiumum intensity, if not set it is calculated for each image
Returns instance