SoMathematicalFunctionProcessing engine
More...
#include <ImageViz/Engines/ImageFiltering/GrayscaleTransforms/SoMathematicalFunctionProcessing.h>
Public Types | |
| enum | MathematicalOperator { EXPONENTIAL = 0, LOGARITHM = 1, SQUARE = 2, SQUAREROOT = 3 } |
Public Member Functions | |
| SoMathematicalFunctionProcessing () | |
Public Attributes | |
| SoSFEnum | mathematicalOperator |
| SoSFImageDataAdapter | inRealImage |
| SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outRealImage |
SoMathematicalFunctionProcessing engine
The SoMathematicalFunctionProcessing engine applies a mathematical operator on each value of image pixel/voxel. Available operators are : exponential, logarithm, square and square root. The operator to apply is selected with the SoMathematicalFunctionProcessing::MathematicalOperator enumerate.
| mathematicalOperator | SQUARE |
| inRealImage | NULL |
| EXPONENTIAL |
This operator computes the exponential value of each pixel : |
| LOGARITHM |
This operator computes the natural logarithm value of each pixel : |
| SQUARE |
This operator computes the square value of each pixel : |
| SQUAREROOT |
This operator computes the square root value of each pixel : See also: SoHistogramEqualizationProcessing, SoMatchContrastProcessing, SoShadingCorrectionProcessing. |
| SoMathematicalFunctionProcessing::SoMathematicalFunctionProcessing | ( | ) |
Constructor.
The input floating point image.
Default value is NULL. Supported types include: grayscale color image.
Select the operator to apply.
Use enum MathematicalOperator. Default is SQUARE
| SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoMathematicalFunctionProcessing::outRealImage |
The output floating point image.
Default value is NULL. Supported types include: grayscale binary label color image.