SoConvolutionWithImageProcessing2d Class Reference
[Frequency Domain]

ImageViz SoConvolutionWithImageProcessing2d engine More...

#include <ImageViz/Engines/ImageFiltering/FrequencyDomain/SoConvolutionWithImageProcessing2d.h>

Inheritance diagram for SoConvolutionWithImageProcessing2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoConvolutionWithImageProcessing2d ()

Public Attributes

SoSFImageDataAdapter inImage
SoSFImageDataAdapter inKernelImage
SoSFBool autoScale
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoConvolutionWithImageProcessing2d engine

Wherever the formulae below refer to $K$, it is the normalization or automatic scaling coefficient. Set $K$ to 1 if you do not wish to normalize the result.

\[\mbox{and}~ K=\sum_{i=-p}^{p}\sum_{j=-q}^{q}|k(i,j)|~\mbox{otherwise} \]

The SoConvolutionWithImageProcessing2d filter produces a convolution of image $I$ with another image $k$. This image $k$ will be converted into a 1D-array and convolution by this general kernel will be performed. It is only implemented for square images.

If image $k$ is of size $(2p+1)\times(2q+1)$, it is in fact a 2D-array with $(2p+1)$ columns and $(2q+1)$ lines. It will be converted in a 1D-array of $(2p+1)\times(2q+1)$ elements by placing side by side the $(2q+1)$ lines of the $k$ array.

\[O(n,m)=\frac{1}{K}\sum_{i=-p}^{p}\sum_{j=-q}^{q}k(i,j)\times I(n-i,m-j) \]

FILE FORMAT/DEFAULT


Library references: image_kernel


Constructor & Destructor Documentation

SoConvolutionWithImageProcessing2d::SoConvolutionWithImageProcessing2d (  ) 

Constructor.


Member Data Documentation

Select the automatic intensity scaling mode.

Default value is TRUE.

The input image.

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

The kernel image.

Default value is NULL. Supported types include: grayscale binary label 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/