Class SoShadeProcessing2d

  • All Implemented Interfaces:

    public class SoShadeProcessing2d
    extends SoImageVizEngine
    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: ShadeProcessing2d { inImage NULL } Library references: shade
    • Constructor Detail

      • SoShadeProcessing2d

        public SoShadeProcessing2d()