17 #ifndef mitkImageToOpenCVImageFilter_h
18 #define mitkImageToOpenCVImageFilter_h
23 #include <itkOpenCVImageBridge.h>
24 #include <MitkOpenCVVideoSupportExports.h>
43 itkFactorylessNewMacro(Self)
58 bool CheckImage(
mitk::Image* image);
65 IplImage* GetOpenCVImage();
71 cv::Mat GetOpenCVMat();
81 void SetInputFromTimeSlice(Image::
Pointer mitkImage,
int timeStep,
int slice);
87 template<typename TPixel,
unsigned int VImageDimension>
88 void ItkImageProcessing(
itk::Image<TPixel,VImageDimension>* image );
97 IplImage* m_OpenCVImage;
105 #endif // mitkImageToOpenCVImageFilter_h
DataCollection - Class to facilitate loading/accessing structured data.
itk::RGBPixel< unsigned short > USRGBPixelType
itk::RGBPixel< float > FloatRGBPixelType
A pseudo-Filter for creating OpenCV images from MITK images with the option of copying data or refere...
#define mitkClassMacroItkParent(className, SuperClassName)
Image class for storing images.
Implements a weak reference to an object.
itk::RGBPixel< double > DoubleRGBPixelType
Provides access to a slice of the input image.
itk::RGBPixel< unsigned char > UCRGBPixelType