MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions
mds::img::CImageEdgeDetector< I > Class Template Reference

Base class for all image edge detectors. More...

#include <mdsImageEdgeDetector.h>

Inheritance diagram for mds::img::CImageEdgeDetector< I >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { TEMPLATE_PARAMETER_IS_NOT_IMAGE = I::CLASS_IMAGE }
 Check that I is an image. More...
typedef I::tImage tImage
 Image type.
typedef I::tPixel tPixel
 Image pixel type.

Public Member Functions

 CImageEdgeDetector ()
 Default constructor.
virtual bool operator() (const tImage &SrcImage, tImage &DstImage)=0
 Edge detection in a given image.
virtual ~CImageEdgeDetector ()
 Virtual destructor.

Detailed Description

template<class I>
class mds::img::CImageEdgeDetector< I >

Base class for all image edge detectors.


Member Typedef Documentation

template<class I >
typedef I::tImage mds::img::CImageEdgeDetector< I >::tImage

Image type.

Reimplemented in mds::img::CCanny< I >, and mds::img::CZeroCrossDetector< I >.

template<class I >
typedef I::tPixel mds::img::CImageEdgeDetector< I >::tPixel

Image pixel type.

Reimplemented in mds::img::CCanny< I >, and mds::img::CZeroCrossDetector< I >.


Member Enumeration Documentation

template<class I >
anonymous enum

Check that I is an image.

You will see name of this enum somewhere in compiler error message if the type I is not image.

Enumerator:
TEMPLATE_PARAMETER_IS_NOT_IMAGE 

Constructor & Destructor Documentation

template<class I >
mds::img::CImageEdgeDetector< I >::CImageEdgeDetector ( )

Default constructor.

template<class I >
virtual mds::img::CImageEdgeDetector< I >::~CImageEdgeDetector ( ) [virtual]

Virtual destructor.


Member Function Documentation

template<class I >
virtual bool mds::img::CImageEdgeDetector< I >::operator() ( const tImage SrcImage,
tImage DstImage 
) [pure virtual]

Edge detection in a given image.

  • Returns false on failure.

Implemented in mds::img::CCanny< I >, and mds::img::CZeroCrossDetector< I >.


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