Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ConvertGrayscaleOpenCVImageFilter Class Reference

#include <mitkConvertGrayscaleOpenCVImageFilter.h>

Inheritance diagram for mitk::ConvertGrayscaleOpenCVImageFilter:
Collaboration diagram for mitk::ConvertGrayscaleOpenCVImageFilter:

Public Member Functions

 mitkClassMacro (ConvertGrayscaleOpenCVImageFilter, AbstractOpenCVImageFilter)
 
Pointer Clone () const
 
bool OnFilterImage (cv::Mat &image) override
 Converts given image to grayscale. More...
 
- Public Member Functions inherited from mitk::AbstractOpenCVImageFilter
 mitkClassMacroItkParent (AbstractOpenCVImageFilter, itk::Object)
 
virtual bool FilterImage (cv::Mat &image, int id=INVALID_IMAGE_ID)
 

Static Public Member Functions

static Pointer New ()
 

Additional Inherited Members

- Static Public Attributes inherited from mitk::AbstractOpenCVImageFilter
static int INVALID_IMAGE_ID
 
- Protected Member Functions inherited from mitk::AbstractOpenCVImageFilter
 AbstractOpenCVImageFilter ()
 
int GetCurrentImageId ()
 
- Protected Attributes inherited from mitk::AbstractOpenCVImageFilter
int m_CurrentImageId
 

Detailed Description

Definition at line 27 of file mitkConvertGrayscaleOpenCVImageFilter.h.

Member Function Documentation

Pointer mitk::ConvertGrayscaleOpenCVImageFilter::Clone ( ) const
mitk::ConvertGrayscaleOpenCVImageFilter::mitkClassMacro ( ConvertGrayscaleOpenCVImageFilter  ,
AbstractOpenCVImageFilter   
)
static Pointer mitk::ConvertGrayscaleOpenCVImageFilter::New ( )
static
bool mitk::ConvertGrayscaleOpenCVImageFilter::OnFilterImage ( cv::Mat &  image)
overridevirtual

Converts given image to grayscale.

Returns
always true

Implements mitk::AbstractOpenCVImageFilter.

Definition at line 23 of file mitkConvertGrayscaleOpenCVImageFilter.cpp.


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