Medical Imaging Interaction Toolkit  2023.12.00
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 23 of file mitkConvertGrayscaleOpenCVImageFilter.h.

Member Function Documentation

◆ Clone()

Pointer mitk::ConvertGrayscaleOpenCVImageFilter::Clone ( ) const

◆ mitkClassMacro()

mitk::ConvertGrayscaleOpenCVImageFilter::mitkClassMacro ( ConvertGrayscaleOpenCVImageFilter  ,
AbstractOpenCVImageFilter   
)

◆ New()

static Pointer mitk::ConvertGrayscaleOpenCVImageFilter::New ( )
static

◆ OnFilterImage()

bool mitk::ConvertGrayscaleOpenCVImageFilter::OnFilterImage ( cv::Mat &  image)
overridevirtual

Converts given image to grayscale.

Returns
always true

Implements mitk::AbstractOpenCVImageFilter.


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