class
IntensityNormalizationNormalize intensities of an image to a 0-1 or custom range.
Contents
- Reference
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:
- 0: Image
Outputs:
- 0: Image float
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 |