#include <morphologicalOperationUsingStrel.h>
Inheritance diagram for iptk::MorphologicalOperationUsingStrel:
The morphological operations shall be performed on a binary image. The binary image should be a iptk::GRAY_SCALE image having intensity values of 0 or 255 only. The regions with intensity value of 255 will be considered as the arifacts in the image.
Public Member Functions | |
MorphologicalOperationUsingStrel (void) | |
Default Constructor. | |
MorphologicalOperationUsingStrel (const iptk::Image &im) | |
Image registering constructor. | |
MorphologicalOperationUsingStrel (const MorphologicalOperationUsingStrel &mos) | |
Copy constructor. | |
virtual | ~MorphologicalOperationUsingStrel () |
Destructor. | |
virtual void | process (void)=0 |
A pure virtual function. | |
virtual void | setParams (double params[]) |
Sets the parameters neccessary for the morphological operation. | |
virtual iptk::Image | getResult (void) |
Returns the resulting image. | |
Protected Attributes | |
int | STREL_SIZE |
The protected member storing the Strel size. | |
iptk::Image | RESULT |
The protected member storing the result of the operation. |
|
Default Constructor.
|
|
Image registering constructor. The image is autmatically registered at the construction stage. |
|
Returns the resulting image.
Reimplemented from iptk::IP_Function. |
|
A pure virtual function.
Implements iptk::IP_Function. Implemented in iptk::Dilate, iptk::Erode, iptk::Close, iptk::MembershipFilter, and iptk::Open. |
|
Sets the parameters neccessary for the morphological operation.
Reimplemented from iptk::IP_Function. Reimplemented in iptk::MembershipFilter. |