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>
|
| | mitkClassMacroItkParent (USImageSource, itk::Object) |
| |
| | itkGetMacro (ImageFilter, mitk::BasicCombinationOpenCVImageFilter::Pointer) |
| |
| void | PushFilter (AbstractOpenCVImageFilter::Pointer filter) |
| |
| bool | RemoveFilter (AbstractOpenCVImageFilter::Pointer filter) |
| |
| bool | GetIsFilterInThePipeline (AbstractOpenCVImageFilter::Pointer filter) |
| |
| std::vector< 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().
|
| |
|
| | USImageSource () |
| |
| | ~USImageSource () override |
| |
| virtual void | GetNextRawImage (std::vector< cv::Mat > &) |
| | Set the given OpenCV image matrix to the next image received from the device or file.
|
| |
| virtual void | GetNextRawImage (std::vector< 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.
|
| |
|
| mitk::OpenCVToMitkImageFilter::Pointer | m_OpenCVToMitkFilter |
| | Used to convert from OpenCV Images to MITK Images.
|
| |
| mitk::ImageToOpenCVImageFilter::Pointer | m_MitkToOpenCVFilter |
| | Used to convert from MITK Images to OpenCV Images.
|
| |
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 |
◆ GetIsFilterInThePipeline()
| bool mitk::USImageSource::GetIsFilterInThePipeline |
( |
AbstractOpenCVImageFilter::Pointer | filter | ) |
|
◆ GetNextImage()
| std::vector< 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().
- Returns
- pointer to the next USImage (filtered if set)
Definition at line 45 of file mitkUSImageSource.cpp.
◆ GetNextRawImage() [1/2]
| void mitk::USImageSource::GetNextRawImage |
( |
std::vector< cv::Mat > & | imageVector | ) |
|
|
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 95 of file mitkUSImageSource.cpp.
◆ GetNextRawImage() [2/2]
| virtual void mitk::USImageSource::GetNextRawImage |
( |
std::vector< mitk::Image::Pointer > & | | ) |
|
|
protectedpure virtual |
◆ itkGetMacro()
| mitk::USImageSource::itkGetMacro |
( |
ImageFilter | , |
|
|
mitk::BasicCombinationOpenCVImageFilter::Pointer | ) |
◆ 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 = "id_nummer" |
|
static |
◆ m_MitkToOpenCVFilter
| mitk::ImageToOpenCVImageFilter::Pointer mitk::USImageSource::m_MitkToOpenCVFilter |
|
protected |
◆ m_OpenCVToMitkFilter
| mitk::OpenCVToMitkImageFilter::Pointer mitk::USImageSource::m_OpenCVToMitkFilter |
|
protected |
The documentation for this class was generated from the following files: