SoUnsharpMaskingProcessing engine More...
#include <ImageViz/Engines/ImageFiltering/Sharpening/SoUnsharpMaskingProcessing.h>
Public Member Functions | |
SoUnsharpMaskingProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inImage |
SoSFFloat | edgeSize |
SoSFFloat | edgeContrast |
SoSFFloat | brightnessThreshold |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoUnsharpMaskingProcessing engine harpens edges on the elements without increasing noise.
For an introduction to image filters, see section Images Filters.
This engine is a very common filter that sharpens edges on the elements without increasing noise. It first applies a Gaussian filter to a copy of the original image and blends it with the original. Undesired effects are finally reduced by using a mask to only apply sharpening to desired regions, that is regions of the gradient image that are above a certain size threshold.
SoBilateralFilterProcessing, SoSigmaFilterProcessing.
computeMode | MODE_AUTO |
inImage | NULL |
edgeSize | 5.0f |
edgeContrast | 0.5f |
brightnessThreshold | 0.0f |
SoUnsharpMaskingProcessing::SoUnsharpMaskingProcessing | ( | ) |
Constructor.
The minimum brightness threshold.
Default value is 0.0f.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The contrast amount added at the edges.
Default value is 0.5f.
Radius of the desired edges.
Default value is 5.0f.
The input image.
Default value is NULL. Supported types include: grayscale binary label color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoUnsharpMaskingProcessing::outImage |
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.