Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::AbstractOpenCVImageFilter Class Referenceabstract

Interface for image filters on OpenCV images. More...

#include <mitkAbstractOpenCVImageFilter.h>

Inheritance diagram for mitk::AbstractOpenCVImageFilter:
Collaboration diagram for mitk::AbstractOpenCVImageFilter:

Public Member Functions

 mitkClassMacroItkParent (AbstractOpenCVImageFilter, itk::Object)
 
virtual bool FilterImage (cv::Mat &image, int id=INVALID_IMAGE_ID)
 
virtual bool OnFilterImage (cv::Mat &image)=0
 Pure virtual method for filtering an image. More...
 

Static Public Attributes

static int INVALID_IMAGE_ID
 

Protected Member Functions

 AbstractOpenCVImageFilter ()
 
int GetCurrentImageId ()
 

Protected Attributes

int m_CurrentImageId
 

Detailed Description

Interface for image filters on OpenCV images.

Every concrete filter has to implement the pure virual mitk::AbstractOpenCVImageFilter::filterImage() method.

Definition at line 40 of file mitkAbstractOpenCVImageFilter.h.

Constructor & Destructor Documentation

mitk::AbstractOpenCVImageFilter::AbstractOpenCVImageFilter ( )
protected

Definition at line 21 of file mitkAbstractOpenCVImageFilter.cpp.

Member Function Documentation

bool mitk::AbstractOpenCVImageFilter::FilterImage ( cv::Mat &  image,
int  id = INVALID_IMAGE_ID 
)
virtual

Definition at line 25 of file mitkAbstractOpenCVImageFilter.cpp.

int mitk::AbstractOpenCVImageFilter::GetCurrentImageId ( )
protected
mitk::AbstractOpenCVImageFilter::mitkClassMacroItkParent ( AbstractOpenCVImageFilter  ,
itk::Object   
)
virtual bool mitk::AbstractOpenCVImageFilter::OnFilterImage ( cv::Mat &  image)
pure virtual

Pure virtual method for filtering an image.

Parameters
imageOpenCV image which is supposed to be manipulated.
Returns
true if filtering was successfull, false otherwise

Implemented in mitk::GrabCutOpenCVImageFilter, mitk::CropOpenCVImageFilter, mitk::ConvertGrayscaleOpenCVImageFilter, and mitk::BasicCombinationOpenCVImageFilter.

Member Data Documentation

int mitk::AbstractOpenCVImageFilter::INVALID_IMAGE_ID
static

Definition at line 44 of file mitkAbstractOpenCVImageFilter.h.

int mitk::AbstractOpenCVImageFilter::m_CurrentImageId
protected

Definition at line 63 of file mitkAbstractOpenCVImageFilter.h.


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