Functions

Kernel Generators
[Convolution Operations]

Collaboration diagram for Kernel Generators:

Functions

imImage * imKernelSobel (void)
imImage * imKernelPrewitt (void)
imImage * imKernelKirsh (void)
imImage * imKernelLaplacian4 (void)
imImage * imKernelLaplacian8 (void)
imImage * imKernelLaplacian5x5 (void)
imImage * imKernelLaplacian7x7 (void)
imImage * imKernelGradian3x3 (void)
imImage * imKernelGradian7x7 (void)
imImage * imKernelSculpt (void)
imImage * imKernelMean3x3 (void)
imImage * imKernelMean5x5 (void)
imImage * imKernelCircularMean5x5 (void)
imImage * imKernelMean7x7 (void)
imImage * imKernelCircularMean7x7 (void)
imImage * imKernelGaussian3x3 (void)
imImage * imKernelGaussian5x5 (void)
imImage * imKernelBarlett5x5 (void)
imImage * imKernelTopHat5x5 (void)
imImage * imKernelTopHat7x7 (void)
imImage * imKernelEnhance (void)

Detailed Description

Creates several known kernels
See im_kernel.h

Function Documentation

imImage* imKernelSobel ( void   ) 

Creates a kernel with the following values:

   1  2  1
   0  0  0
  -1 -2 -1
im.KernelSobel() -> kernel: imImage [in Lua 5] 
imImage* imKernelPrewitt ( void   ) 

Creates a kernel with the following values:

   1  1  1
   0  0  0
  -1 -1 -1
im.KernelPrewitt() -> kernel: imImage [in Lua 5] 
imImage* imKernelKirsh ( void   ) 

Creates a kernel with the following values:

   5  5  5
  -3  0 -3
  -3 -3 -3
im.KernelKirsh() -> kernel: imImage [in Lua 5] 
imImage* imKernelLaplacian4 ( void   ) 

Creates a kernel with the following values:

   0 -1  0 
  -1  4 -1 
   0 -1  0 
im.KernelLaplacian4() -> kernel: imImage [in Lua 5] 
imImage* imKernelLaplacian8 ( void   ) 

Creates a kernel with the following values:

  -1 -1 -1 
  -1  8 -1 
  -1 -1 -1 
im.KernelLaplacian8() -> kernel: imImage [in Lua 5] 
imImage* imKernelLaplacian5x5 ( void   ) 

Creates a kernel with the following values:

   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
im.KernelLaplacian5x5() -> kernel: imImage [in Lua 5] 
imImage* imKernelLaplacian7x7 ( void   ) 

Creates a kernel with the following values:

  -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
im.KernelLaplacian7x7() -> kernel: imImage [in Lua 5] 
imImage* imKernelGradian3x3 ( void   ) 

Creates a kernel with the following values:

  0 -1 0  
  0  1 0  
  0  0 0  
im.KernelGradian3x3() -> kernel: imImage [in Lua 5] 
imImage* imKernelGradian7x7 ( void   ) 

Creates a kernel with the following values:

   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
im.KernelGradian7x7() -> kernel: imImage [in Lua 5] 
imImage* imKernelSculpt ( void   ) 

Creates a kernel with the following values:

  -1 0 0 
   0 0 0 
   0 0 1 
im.KernelSculpt() -> kernel: imImage [in Lua 5] 
imImage* imKernelMean3x3 ( void   ) 

Creates a kernel with the following values:

  1 1 1 
  1 1 1 
  1 1 1 
im.KernelMean3x3() -> kernel: imImage [in Lua 5] 
imImage* imKernelMean5x5 ( void   ) 

Creates a kernel with the following values:

  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 
im.KernelMean5x5() -> kernel: imImage [in Lua 5] 
imImage* imKernelCircularMean5x5 ( void   ) 

Creates a kernel with the following values:

  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 
im.KernelMean5x5() -> kernel: imImage [in Lua 5] 
imImage* imKernelMean7x7 ( void   ) 

Creates a kernel with the following values:

  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 
im.KernelMean7x7() -> kernel: imImage [in Lua 5] 
imImage* imKernelCircularMean7x7 ( void   ) 

Creates a kernel with the following values:

  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 
im.KernelCircularMean7x7() -> kernel: imImage [in Lua 5] 
imImage* imKernelGaussian3x3 ( void   ) 

Creates a kernel with the following values:

  1 2 1 
  2 4 2 
  1 2 1 
im.KernelGaussian3x3() -> kernel: imImage [in Lua 5] 
imImage* imKernelGaussian5x5 ( void   ) 

Creates a kernel with the following values:

  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 
im.KernelGaussian5x5() -> kernel: imImage [in Lua 5] 
imImage* imKernelBarlett5x5 ( void   ) 

Creates a kernel with the following values:

  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 
im.KernelBarlett5x5() -> kernel: imImage [in Lua 5] 
imImage* imKernelTopHat5x5 ( void   ) 

Creates a kernel with the following values:

   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 
im.KernelTopHat5x5() -> kernel: imImage [in Lua 5] 
imImage* imKernelTopHat7x7 ( void   ) 

Creates a kernel with the following values:

   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 
im.KernelTopHat7x7() -> kernel: imImage [in Lua 5] 
imImage* imKernelEnhance ( void   ) 

Creates a kernel with the following values:

   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 
im.KernelEnhance() -> kernel: imImage [in Lua 5]