 SoColorAntialiasingProcessing2d engine  
More...
  SoColorAntialiasingProcessing2d engine  
More...
#include <ImageViz/Engines/ImageFiltering/ColorTransforms/SoColorAntialiasingProcessing2d.h>
 
  
 | Public Member Functions | |
| SoColorAntialiasingProcessing2d () | |
| Public Attributes | |
| SoSFImageDataAdapter | inColorImage | 
| SoSFInt32 | kernelSize | 
| SoSFInt32 | iterationNumber | 
| SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outColorImage | 
 SoColorAntialiasingProcessing2d engine
  SoColorAntialiasingProcessing2d engine 
The SoColorAntialiasingProcessing2d engine reduces the color artifacts.
This engine reduces the color artefacts. These artefacts can occur when an image is captured with a camera equiped with a single sensor array. Each individual sensor is able to capture only a single color because of the arrangement of color films or dyes between the sensor and the lens. A demosaicing algorithm is a method for reconstructing a full three-color representation of color images by estimating the missing pixel components in each color plane.
The algorithm repeats several times the following process:
![\[R = mean(R - G) + G\]](form_345.png) 
![\[B = mean(B - G) + G\]](form_346.png) 
![\[G = (mean(G - R) + mean(G - B) + R + B)\]](form_347.png) 
 
Antialiasing effect
SoDecorrelationStretchProcessing2d
| inColorImage | NULL | 
| kernelSize | 3 | 
| iterationNumber | 1 | 
| SoColorAntialiasingProcessing2d::SoColorAntialiasingProcessing2d | ( | ) | 
Constructor.
The input color image.
Default value is NULL. Supported types include: grayscale binary label color image.
Enter the number of iterations (strictly positive integer) Default value is 1.
The size of the kernel.
Default value is 3.
| SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoColorAntialiasingProcessing2d::outColorImage | 
The output color image.
Default value is NULL. Supported types include: grayscale binary label color image.