Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Pipelined import of itk::Image. More...
#include <mitkITKImageImport.h>
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (RegionDimension, unsigned int, mitk::SlicedData::RegionDimension) | |
InputImageType * | GetInput (void) |
Set the input itk::Image of this image importer. More... | |
void | SetInput (const InputImageType *) |
Set the input itk::Image of this image importer. More... | |
void | SetGeometry (const BaseGeometry *geometry) |
Set the Geometry of the result image (optional) More... | |
Public Member Functions inherited from mitk::ImageSource | |
Pointer | Clone () const |
OutputType * | GetOutput () |
Get the output data of this image source object. More... | |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
Make a DataObject of the correct type to used as the specified output. More... | |
itk::DataObject::Pointer | MakeOutput (const DataObjectIdentifierType &name) override |
virtual vtkImageData * | GetVtkImageData () |
virtual const vtkImageData * | GetVtkImageData () const |
Public Member Functions inherited from mitk::BaseDataSource | |
OutputType * | GetOutput () |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
virtual void | GraftOutput (OutputType *output) |
Graft the specified BaseData onto this BaseDataSource's output. More... | |
virtual void | GraftOutput (const DataObjectIdentifierType &key, OutputType *output) |
virtual void | GraftNthOutput (unsigned int idx, OutputType *output) |
Graft the specified base data object onto this BaseDataSource's idx'th output. More... | |
bool | Updating () const |
Access itk::ProcessObject::m_Updating. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Static Public Member Functions inherited from mitk::ImageSource | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Method for creation through the object factory. More... | |
Static Public Member Functions inherited from mitk::BaseDataSource | |
static const char * | GetStaticNameOfClass () |
Protected Types | |
typedef itk::ImageToImageFilterDetail::ImageRegionCopier< itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(RegionDimension)> | OutputToInputRegionCopierType |
Protected Member Functions | |
ITKImageImport () | |
~ITKImageImport () override | |
void | GenerateOutputInformation () override |
void | GenerateInputRequestedRegion () override |
void | GenerateData () override |
void | SetNthOutput (DataObjectPointerArraySizeType num, itk::DataObject *output) override |
Protected Member Functions inherited from mitk::ImageSource | |
ImageSource () | |
~ImageSource () override | |
void | GenerateData () override |
A version of GenerateData() specific for image processing filters. More... | |
virtual void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) |
If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData(). More... | |
void | PrepareOutputs () override |
This method is intentionally left blank. More... | |
virtual void | AllocateOutputs () |
The GenerateData method normally allocates the buffers for all of the outputs of a filter. More... | |
virtual void | BeforeThreadedGenerateData () |
If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). More... | |
virtual void | AfterThreadedGenerateData () |
If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData(). More... | |
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion) |
Split the output's RequestedRegion into "num" pieces, returning region "i" as "splitRegion". More... | |
Protected Member Functions inherited from mitk::BaseDataSource | |
BaseDataSource () | |
~BaseDataSource () override | |
Protected Attributes | |
BaseGeometry::Pointer | m_Geometry |
Additional Inherited Members | |
Static Protected Member Functions inherited from mitk::ImageSource | |
static itk::ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Static function used as a "callback" by the MultiThreader. More... | |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
Pipelined import of itk::Image.
The image data contained in the itk::Image is referenced, not copied. The easiest way of use is by the function mitk::ImportItkImage
Definition at line 36 of file mitkITKImageImport.h.
typedef itk::SmartPointer<const Self> mitk::ITKImageImport< TInputImage >::ConstPointer |
Definition at line 39 of file mitkITKImageImport.h.
typedef InputImageType::ConstPointer mitk::ITKImageImport< TInputImage >::InputImageConstPointer |
Definition at line 46 of file mitkITKImageImport.h.
typedef InputImageType::PixelType mitk::ITKImageImport< TInputImage >::InputImagePixelType |
Definition at line 48 of file mitkITKImageImport.h.
typedef InputImageType::Pointer mitk::ITKImageImport< TInputImage >::InputImagePointer |
Definition at line 45 of file mitkITKImageImport.h.
typedef InputImageType::RegionType mitk::ITKImageImport< TInputImage >::InputImageRegionType |
Definition at line 47 of file mitkITKImageImport.h.
typedef TInputImage mitk::ITKImageImport< TInputImage >::InputImageType |
The type of the input image.
Definition at line 41 of file mitkITKImageImport.h.
|
protected |
Typedef for the region copier function object that converts an output region to an input region.
Definition at line 91 of file mitkITKImageImport.h.
typedef itk::SmartPointer<Self> mitk::ITKImageImport< TInputImage >::Pointer |
Definition at line 39 of file mitkITKImageImport.h.
typedef ITKImageImport mitk::ITKImageImport< TInputImage >::Self |
Definition at line 39 of file mitkITKImageImport.h.
typedef ImageSource mitk::ITKImageImport< TInputImage >::Superclass |
Definition at line 39 of file mitkITKImageImport.h.
|
protected |
|
overrideprotected |
Pointer mitk::ITKImageImport< TInputImage >::Clone | ( | ) | const |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
inlineoverridevirtual |
Reimplemented from mitk::ImageSource.
Definition at line 39 of file mitkITKImageImport.h.
|
virtual |
Reimplemented from mitk::ImageSource.
InputImageType* mitk::ITKImageImport< TInputImage >::GetInput | ( | void | ) |
Set the input itk::Image of this image importer.
|
inlinestatic |
Definition at line 39 of file mitkITKImageImport.h.
mitk::ITKImageImport< TInputImage >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned int | , | ||
TInputImage::ImageDimension | |||
) |
ImageDimension constants
mitk::ITKImageImport< TInputImage >::itkStaticConstMacro | ( | RegionDimension | , |
unsigned int | , | ||
mitk::SlicedData::RegionDimension | |||
) |
|
static |
void mitk::ITKImageImport< TInputImage >::SetGeometry | ( | const BaseGeometry * | geometry | ) |
Set the Geometry of the result image (optional)
The Geometry has to fit the dimension and size of the input image. The Geometry will be cloned, not referenced!
Providing the Geometry is optional. The default behavior is to set the geometry by the itk::Image::GetDirection() information.
void mitk::ITKImageImport< TInputImage >::SetInput | ( | const InputImageType * | ) |
Set the input itk::Image of this image importer.
|
overrideprotected |
|
protected |
Definition at line 93 of file mitkITKImageImport.h.