MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Prewit gradient edge detector (horizontal version). More...
#include <mdsPrewit.h>
Public Types | |
enum | { TEMPLATE_PARAMETER_IS_NOT_IMAGE = I::CLASS_IMAGE } |
Check that I is an image. More... | |
typedef CNormImageFilter< I, N > | base |
Image filter base. | |
typedef base::tImage | tImage |
Image type. | |
typedef base::tPixel | tPixel |
Image pixel type. | |
typedef base::tResult | tResult |
Filter response type. | |
Public Member Functions | |
CPrewitX () | |
Default constructor. | |
tResult | getResponse (const tImage &SrcImage, tSize x, tSize y) |
Returns filter response at specified image point. | |
tSize | getSize () const |
Returns filter standard deviation. | |
bool | operator() (const tImage &SrcImage, tImage &DstImage) |
Filtering of input/source image. | |
virtual bool | operator() (const tImage &SrcImage, tImage &DstImage)=0 |
Filtering of input/source image. | |
~CPrewitX () | |
Destructor. | |
Static Public Attributes | |
static const int | DENOM = 3 |
Number used to divide filter response. |
Prewit gradient edge detector (horizontal version).
typedef CNormImageFilter<I,N> mds::img::CPrewitX< I, N >::base |
Image filter base.
Reimplemented from mds::img::CNormImageFilter< I, N >.
typedef base::tImage mds::img::CPrewitX< I, N >::tImage |
Image type.
Reimplemented from mds::img::CNormImageFilter< I, N >.
typedef base::tPixel mds::img::CPrewitX< I, N >::tPixel |
Image pixel type.
Reimplemented from mds::img::CNormImageFilter< I, N >.
typedef base::tResult mds::img::CPrewitX< I, N >::tResult |
Filter response type.
Reimplemented from mds::img::CNormImageFilter< I, N >.
anonymous enum [inherited] |
mds::img::CPrewitX< I, N >::CPrewitX | ( | ) |
Default constructor.
mds::img::CPrewitX< I, N >::~CPrewitX | ( | ) |
Destructor.
CPrewitX< I, N >::tResult CPrewitX::getResponse | ( | const tImage & | SrcImage, |
tSize | x, | ||
tSize | y | ||
) |
Returns filter response at specified image point.
tSize mds::img::CPrewitX< I, N >::getSize | ( | ) | const |
Returns filter standard deviation.
bool CPrewitX::operator() | ( | const tImage & | SrcImage, |
tImage & | DstImage | ||
) |
Filtering of input/source image.
Point filter responses are written to the destination image.
virtual bool mds::img::CNormImageFilter< I, N >::operator() | ( | const tImage & | SrcImage, |
tImage & | DstImage | ||
) | [pure virtual, inherited] |
const int mds::img::CPrewitX< I, N >::DENOM = 3 [static] |
Number used to divide filter response.