SoShadeProcessing2d Class Reference
[Sharpening]

ImageViz SoShadeProcessing2d engine More...

#include <ImageViz/Engines/ImageFiltering/Sharpening/SoShadeProcessing2d.h>

Inheritance diagram for SoShadeProcessing2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoShadeProcessing2d ()

Public Attributes

SoSFImageDataAdapter inImage
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoShadeProcessing2d engine

The SoShadeProcessing2d engine provides a shadowing effect on a grayscale image.

For an introduction, see section Images Filters.

A high-pass filter is a convolution with kernels of positive and negative coefficients. The output image is a linear combination of the Laplacian and the original image. Because the result of this convolution is a linear combination of the original image and the Laplacian which detects contours, a contrast enhancement is obtained.

The SoShadeProcessing2d filter provides a shadowing effect on a grayscale image. The SoShadeProcessing2d filter is actually a combination of the search of the maxima and mean values. The proposed algorithm is from S. Steinberg, and allows the visualisation of some of the edges of objects in the image. We suppose that the light is coming on the object from the left side, and that the gray levels correspond to the height of the object. The shaded image will show the shadow of each object under this light condition.

Note: Because the resulting image is a signed type (containing positive and negative values), it must be viewed by changing the display context.

SEE ALSO

SoDeblurProcessing2d.

FILE FORMAT/DEFAULT


Library references: shade


Constructor & Destructor Documentation

SoShadeProcessing2d::SoShadeProcessing2d (  ) 

Constructor.


Member Data Documentation

The input image.

Default value is NULL. Supported types include: grayscale color image.

The output image.

Default value is NULL. Supported types include: grayscale binary label color image.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/