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>
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 38 of file mitkUSImageSource.h.
◆ USImageSource()
mitk::USImageSource::USImageSource |
( |
| ) |
|
|
protected |
◆ ~USImageSource()
mitk::USImageSource::~USImageSource |
( |
| ) |
|
|
overrideprotected |
◆ GetImageFilter()
virtual mitk::BasicCombinationOpenCVImageFilter::Pointer mitk::USImageSource::GetImageFilter |
( |
| ) |
|
|
virtual |
◆ GetIsFilterInThePipeline()
bool mitk::USImageSource::GetIsFilterInThePipeline |
( |
AbstractOpenCVImageFilter::Pointer |
filter | ) |
|
◆ 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().
- Returns
- pointer to the next USImage (filtered if set)
◆ GetNextRawImage() [1/2]
virtual void mitk::USImageSource::GetNextRawImage |
( |
std::vector< cv::Mat > & |
| ) |
|
|
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.
◆ GetNextRawImage() [2/2]
◆ mitkClassMacroItkParent()
mitk::USImageSource::mitkClassMacroItkParent |
( |
USImageSource |
, |
|
|
itk::Object |
|
|
) |
| |
◆ PushFilter()
void mitk::USImageSource::PushFilter |
( |
AbstractOpenCVImageFilter::Pointer |
filter | ) |
|
◆ RemoveFilter()
bool mitk::USImageSource::RemoveFilter |
( |
AbstractOpenCVImageFilter::Pointer |
filter | ) |
|
◆ IMAGE_PROPERTY_IDENTIFIER
const char* mitk::USImageSource::IMAGE_PROPERTY_IDENTIFIER |
|
static |
◆ m_MitkToOpenCVFilter
mitk::ImageToOpenCVImageFilter::Pointer mitk::USImageSource::m_MitkToOpenCVFilter |
|
protected |
◆ m_OpenCVToMitkFilter
The documentation for this class was generated from the following file: