13 #ifndef mitkOpenCVToMitkImageFilter_h
14 #define mitkOpenCVToMitkImageFilter_h
17 #include <MitkOpenCVVideoSupportExports.h>
26 #include <opencv2/core.hpp>
27 #include <opencv2/core/core_c.h>
48 template <
typename TPixel,
unsigned int VImageDimension>
49 static Image::Pointer ConvertCVMatToMitkImage(
const cv::Mat input);
52 itkFactorylessNewMacro(
Self);
58 void SetOpenCVImage(
const IplImage* image);
64 void SetOpenCVMat(
const cv::Mat& image);
65 itkGetMacro(OpenCVMat, cv::Mat);
78 void InsertOpenCVImageAsMitkTimeSlice(
const cv::Mat openCVImage,
Image::Pointer mitkImage,
int timeStep);
85 void GenerateData()
override;