Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages   Examples  

ByteKernel Class Reference

#include <ByteKernel.h>

Inheritance diagram for ByteKernel::

Kernel Image List of all members.

Public Methods

 ByteKernel (char *name="")
 ByteKernel (BYTE_KERNEL_TYPE kernel_type=CROSS_3x3, char *name="")
ByteKernel& operator! (void)

Detailed Description

Implements data structures and functions for manipulating morphological kernels.
Examples:

test_morphop.cpp.

Definition at line 14 of file ByteKernel.h.


Constructor & Destructor Documentation

ByteKernel::ByteKernel ( char * name = "" ) [inline]
 

Creates a kernel with the specified name without allocating space for the kernel data.

Definition at line 18 of file ByteKernel.h.

ByteKernel::ByteKernel ( BYTE_KERNEL_TYPE kernel_type = CROSS_3x3,
char * name = "" )
 

Creates a kernel of size wxh with the specified name and type (kernel_type) and allocates space for storing the kernel data. Currently supported types of kernels are:

  • CROSS_3x3
  • DISK_3x3
  • KERNEL_BYTE_UNKNOWN (unspecified or supplied from a file).

Definition at line 6 of file ByteKernel.cpp.


Member Function Documentation

ByteKernel & ByteKernel::operator! ( void )
 

Performs pixelwise logical negation of the current kernel.

Definition at line 25 of file ByteKernel.cpp.


The documentation for this class was generated from the following files: