| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/image/imageconvolutionkernel.h>

Public Types | |
| enum | ConvComb { CONV_SUM, CONV_SUMSQ, CONV_SUMSQROOT, CONV_MAX, CONV_MIN } |
Public Member Functions | |
| VRS_SERIALIZABLE_CLASS_ENUM (ConvComb) | |
| ImageConvolutionKernel (int width, int height, ConvComb combine=ImageConvolutionKernel::CONV_SUM, int anchorX=0, int anchorY=0, int bitshift=0) | |
| int | width () const |
| int | height () const |
| int | anchorX () const |
| int | anchorY () const |
| ImageConvolutionKernel::ConvComb | combinationMethod () const |
| returns the combination method for user defined kernels. | |
| int | bitShift () const |
| void | setCoefficient (int column, int row, int value) |
| int | getCoefficient (int column, int row) const |
| const int * | getCoefficients () const |
| set/get each kernel matrix coefficient | |
| VRS_TYPEINFO (ImageConvolutionKernel, SharedObj) | |
Static Public Member Functions | |
| static const ImageConvolutionKernel * | prewitt3x3v () |
| static const ImageConvolutionKernel * | prewitt3x3h () |
| static const ImageConvolutionKernel * | sobel3x3v () |
| static const ImageConvolutionKernel * | sobel3x3h () |
| static const ImageConvolutionKernel * | laplacian3x3 () |
| static const ImageConvolutionKernel * | laplacian5x5 () |
| static const ImageConvolutionKernel * | gaussian3x3 () |
| static const ImageConvolutionKernel * | gaussian5x5 () |
| static const ImageConvolutionKernel * | hipass3x3 () |
| static const ImageConvolutionKernel * | hipass5x5 () |
| static const ImageConvolutionKernel * | sharpen3x3 () |
| static const ImageConvolutionKernel * | lighten3x3 () |
| static const ImageConvolutionKernel * | darken3x3 () |
| VRS::ImageConvolutionKernel::ImageConvolutionKernel | ( | int | width, | |
| int | height, | |||
| ConvComb | combine = ImageConvolutionKernel::CONV_SUM, |
|||
| int | anchorX = 0, |
|||
| int | anchorY = 0, |
|||
| int | bitshift = 0 | |||
| ) |
'width' and 'height' specify the number of columns and rows of the kernel matrix. The combination method is specified by 'combine'. 'anchorX' and 'anchorY' set the center of the kernel matrix. Each resulting pixel is shifted by 'bitshift' bits.
| VRS::ImageConvolutionKernel::VRS_SERIALIZABLE_CLASS_ENUM | ( | ConvComb | ) |
| int VRS::ImageConvolutionKernel::width | ( | ) | const [inline] |
| int VRS::ImageConvolutionKernel::height | ( | ) | const [inline] |
| int VRS::ImageConvolutionKernel::anchorX | ( | ) | const [inline] |
| int VRS::ImageConvolutionKernel::anchorY | ( | ) | const [inline] |
returns the x and y value of the kernel center for user defined kernels.
| ImageConvolutionKernel::ConvComb VRS::ImageConvolutionKernel::combinationMethod | ( | ) | const |
returns the combination method for user defined kernels.
| int VRS::ImageConvolutionKernel::bitShift | ( | ) | const [inline] |
| void VRS::ImageConvolutionKernel::setCoefficient | ( | int | column, | |
| int | row, | |||
| int | value | |||
| ) |
| int VRS::ImageConvolutionKernel::getCoefficient | ( | int | column, | |
| int | row | |||
| ) | const |
| const int* VRS::ImageConvolutionKernel::getCoefficients | ( | ) | const |
set/get each kernel matrix coefficient
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::prewitt3x3v | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::prewitt3x3h | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::sobel3x3v | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::sobel3x3h | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::laplacian3x3 | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::laplacian5x5 | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::gaussian3x3 | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::gaussian5x5 | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::hipass3x3 | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::hipass5x5 | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::sharpen3x3 | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::lighten3x3 | ( | ) | [static] |
| static const ImageConvolutionKernel* VRS::ImageConvolutionKernel::darken3x3 | ( | ) | [static] |
| VRS::ImageConvolutionKernel::VRS_TYPEINFO | ( | ImageConvolutionKernel | , | |
| SharedObj | ||||
| ) |