Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
This is an abstract superclass for delivering USImages. Each subclass must implement the method mitk::USImageSource::GetNextRawImage(). The public method mitk::USImageSource::GetNextImage() can the be used to get the next image from the image source. This image will be filtered by the filter set with mitk::USImageSource::SetImageFilter(). More...
#include <mitkUSImageSource.h>
Public Member Functions | |
mitkClassMacroItkParent (USImageSource, itk::Object) | |
virtual mitk::BasicCombinationOpenCVImageFilter::Pointer | GetImageFilter () |
void | PushFilter (AbstractOpenCVImageFilter::Pointer filter) |
bool | RemoveFilter (AbstractOpenCVImageFilter::Pointer filter) |
bool | GetIsFilterInThePipeline (AbstractOpenCVImageFilter::Pointer filter) |
mitk::Image::Pointer | GetNextImage () |
Retrieves the next frame. This will typically be the next frame in a file or the last cached file in a device. The image is filtered if a filter was set by mitk::USImageSource::SetImageFilter(). More... | |
Static Public Attributes | |
static const char * | IMAGE_PROPERTY_IDENTIFIER |
Protected Member Functions | |
USImageSource () | |
virtual | ~USImageSource () |
virtual void | GetNextRawImage (cv::Mat &) |
Set the given OpenCV image matrix to the next image received from the device or file. More... | |
virtual void | GetNextRawImage (mitk::Image::Pointer &)=0 |
Set mitk::Image to the next image received from the device or file. This method must be implemented in every subclass. More... | |
Protected Attributes | |
mitk::OpenCVToMitkImageFilter::Pointer | m_OpenCVToMitkFilter |
Used to convert from OpenCV Images to MITK Images. More... | |
mitk::ImageToOpenCVImageFilter::Pointer | m_MitkToOpenCVFilter |
Used to convert from MITK Images to OpenCV Images. More... | |
This is an abstract superclass for delivering USImages. Each subclass must implement the method mitk::USImageSource::GetNextRawImage(). The public method mitk::USImageSource::GetNextImage() can the be used to get the next image from the image source. This image will be filtered by the filter set with mitk::USImageSource::SetImageFilter().
Definition at line 44 of file mitkUSImageSource.h.
|
protected |
Definition at line 22 of file mitkUSImageSource.cpp.
|
protectedvirtual |
Definition at line 31 of file mitkUSImageSource.cpp.
|
virtual |
bool mitk::USImageSource::GetIsFilterInThePipeline | ( | AbstractOpenCVImageFilter::Pointer | filter | ) |
Definition at line 45 of file mitkUSImageSource.cpp.
mitk::Image::Pointer mitk::USImageSource::GetNextImage | ( | ) |
Retrieves the next frame. This will typically be the next frame in a file or the last cached file in a device. The image is filtered if a filter was set by mitk::USImageSource::SetImageFilter().
Definition at line 50 of file mitkUSImageSource.cpp.
References mitk::IntProperty::New(), and mitk::Image::New().
|
protectedvirtual |
Set the given OpenCV image matrix to the next image received from the device or file.
The standard implementation calls the overloaded function with an mitk::Image and converts this image to OpenCV then. One should reimplement this method for a better performance if an image filter is set.
Reimplemented in mitk::USImageVideoSource.
Definition at line 96 of file mitkUSImageSource.cpp.
References mitk::ImageToOpenCVImageFilter::New().
|
protectedpure virtual |
Set mitk::Image to the next image received from the device or file. This method must be implemented in every subclass.
Implemented in mitk::USImageVideoSource, mitk::IGTLMessageToUSImageFilter, and mitk::USTelemedImageSource.
mitk::USImageSource::mitkClassMacroItkParent | ( | USImageSource | , |
itk::Object | |||
) |
void mitk::USImageSource::PushFilter | ( | AbstractOpenCVImageFilter::Pointer | filter | ) |
Definition at line 35 of file mitkUSImageSource.cpp.
bool mitk::USImageSource::RemoveFilter | ( | AbstractOpenCVImageFilter::Pointer | filter | ) |
Definition at line 40 of file mitkUSImageSource.cpp.
|
static |
Definition at line 47 of file mitkUSImageSource.h.
|
protected |
Used to convert from MITK Images to OpenCV Images.
Definition at line 92 of file mitkUSImageSource.h.
|
protected |
Used to convert from OpenCV Images to MITK Images.
Definition at line 88 of file mitkUSImageSource.h.