im.im_kernel

\file \brief Kernel Generators Creates several known kernels

See Copyright Notice in im_lib.h

Members

Functions

imKernelBarlett5x5
imImage* imKernelBarlett5x5()

Creates a kernel with the following values: * \verbatim 1 2 3 2 1 2 4 6 4 2 3 6 9 6 3 2 4 6 4 2 1 2 3 2 1 \endverbatim * * \verbatim im.KernelBarlett5x5() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelCircularMean5x5
imImage* imKernelCircularMean5x5()

Creates a kernel with the following values: * \verbatim 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 0 \endverbatim * * \verbatim im.KernelMean5x5() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelCircularMean7x7
imImage* imKernelCircularMean7x7()

Creates a kernel with the following values: * \verbatim 0 0 1 1 1 0 0 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 0 0 1 1 1 0 0 \endverbatim * * \verbatim im.KernelCircularMean7x7() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelEnhance
imImage* imKernelEnhance()

Creates a kernel with the following values: * \verbatim 0 -1 -2 -1 0 -1 -4 0 -4 -1 -2 0 40 0 -2 -1 -4 0 -4 -1 0 -1 -2 -1 0 \endverbatim * * \verbatim im.KernelEnhance() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelGaussian3x3
imImage* imKernelGaussian3x3()

Creates a kernel with the following values: * \verbatim 1 2 1 2 4 2 1 2 1 \endverbatim * * \verbatim im.KernelGaussian3x3() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelGaussian5x5
imImage* imKernelGaussian5x5()

Creates a kernel with the following values: * \verbatim 1 4 6 4 1 4 16 24 16 4 6 24 36 24 6 4 16 24 16 4 1 4 6 4 1 \endverbatim * * \verbatim im.KernelGaussian5x5() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelGradian3x3
imImage* imKernelGradian3x3()

Creates a kernel with the following values: * \verbatim 0 -1 0 0 1 0 0 0 0 \endverbatim * * \verbatim im.KernelGradian3x3() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelGradian7x7
imImage* imKernelGradian7x7()

Creates a kernel with the following values: * \verbatim 0 -1 -1 0 1 1 0 -1 -2 -2 0 2 2 1 -1 -2 -3 0 3 2 1 -1 -2 -3 0 3 2 1 -1 -2 -3 0 3 2 1 -1 -2 -2 0 2 2 1 0 -1 -1 0 1 1 0 \endverbatim * * \verbatim im.KernelGradian7x7() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelKirsh
imImage* imKernelKirsh()

Creates a kernel with the following values: * \verbatim 5 5 5 -3 0 -3 -3 -3 -3 \endverbatim * * \verbatim im.KernelKirsh() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelLaplacian4
imImage* imKernelLaplacian4()

Creates a kernel with the following values: * \verbatim 0 -1 0 -1 4 -1 0 -1 0 \endverbatim * * \verbatim im.KernelLaplacian4() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelLaplacian5x5
imImage* imKernelLaplacian5x5()

Creates a kernel with the following values: * \verbatim 0 -1 -1 -1 0 -1 0 1 0 -1 -1 1 8 1 -1 -1 0 1 0 -1 0 -1 -1 -1 0 \endverbatim * * \verbatim im.KernelLaplacian5x5() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelLaplacian7x7
imImage* imKernelLaplacian7x7()

Creates a kernel with the following values: * \verbatim -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 48 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 \endverbatim * * \verbatim im.KernelLaplacian7x7() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelLaplacian8
imImage* imKernelLaplacian8()

Creates a kernel with the following values: * \verbatim -1 -1 -1 -1 8 -1 -1 -1 -1 \endverbatim * * \verbatim im.KernelLaplacian8() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelMean3x3
imImage* imKernelMean3x3()

Creates a kernel with the following values: * \verbatim 1 1 1 1 1 1 1 1 1 \endverbatim * * \verbatim im.KernelMean3x3() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelMean5x5
imImage* imKernelMean5x5()

Creates a kernel with the following values: * \verbatim 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 \endverbatim * * \verbatim im.KernelMean5x5() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelMean7x7
imImage* imKernelMean7x7()

Creates a kernel with the following values: * \verbatim 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 \endverbatim * * \verbatim im.KernelMean7x7() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelPrewitt
imImage* imKernelPrewitt()

Creates a kernel with the following values: * \verbatim 1 1 1 0 0 0 -1 -1 -1 \endverbatim * * \verbatim im.KernelPrewitt() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelSculpt
imImage* imKernelSculpt()

Creates a kernel with the following values: * \verbatim -1 0 0 0 0 0 0 0 1 \endverbatim * * \verbatim im.KernelSculpt() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelSobel
imImage* imKernelSobel()

Creates a kernel with the following values: * \verbatim 1 2 1 0 0 0 -1 -2 -1 \endverbatim * * \verbatim im.KernelSobel() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelTopHat5x5
imImage* imKernelTopHat5x5()

Creates a kernel with the following values: * \verbatim 0 -1 -1 -1 0 -1 -1 3 -1 -1 -1 3 4 3 -1 -1 -1 3 -1 -1 0 -1 -1 -1 0 \endverbatim * * \verbatim im.KernelTopHat5x5() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

imKernelTopHat7x7
imImage* imKernelTopHat7x7()

Creates a kernel with the following values: * \verbatim 0 0 -1 -1 -1 0 0 0 -1 -1 -1 -1 -1 0 -1 -1 3 3 3 -1 -1 -1 -1 3 4 3 -1 -1 -1 -1 3 3 3 -1 -1 0 -1 -1 -1 -1 -1 0 0 0 -1 -1 -1 0 0 \endverbatim * * \verbatim im.KernelTopHat7x7() -> kernel: imImage [in Lua 5] \endverbatim * \ingroup kernel

Meta