ITK
5.2.0
Insight Toolkit
|
#include <itkImportImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
using | DirectionType = Matrix< SpacePrecisionType, VImageDimension, VImageDimension > |
RegionType | m_Region |
SpacingType | m_Spacing |
OriginType | m_Origin |
DirectionType | m_Direction |
ImportImageContainerType::Pointer | m_ImportImageContainer |
SizeValueType | m_Size |
void | SetRegion (const RegionType ®ion) |
const RegionType & | GetRegion () const |
virtual void | SetSpacing (SpacingType _arg) |
virtual const SpacingType & | GetSpacing () const |
virtual void | SetSpacing (const float data[]) |
virtual void | SetOrigin (OriginType _arg) |
virtual const OriginType & | GetOrigin () const |
virtual void | SetOrigin (const float data[]) |
virtual void | SetDirection (const DirectionType &direction) |
virtual const DirectionType & | GetDirection () const |
ImportImageFilter () | |
~ImportImageFilter () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | GenerateData () override |
void | GenerateOutputInformation () override |
void | EnlargeOutputRequestedRegion (DataObject *output) override |
Import data from a standard C array into an itk::Image.
ImportImageFilter provides a mechanism for importing data into an itk::Image. ImportImageFilter is an image source, so it behaves like any other pipeline object.
This class is templated over the pixel type and the image dimension of the output image.
Definition at line 43 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::ConstPointer = SmartPointer<const Self> |
Definition at line 59 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::DirectionType = Matrix<SpacePrecisionType, VImageDimension, VImageDimension> |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Definition at line 133 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::ImportImageContainerType = ImportImageContainer<SizeValueType, TPixel> |
Definition at line 53 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::IndexType = Index<VImageDimension> |
Index type alias support An index is used to access pixel values.
Definition at line 68 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::OriginType = typename OutputImageType::PointType |
Definition at line 52 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::OutputImagePixelType = TPixel |
Type of the output image pixel type.
Definition at line 78 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 50 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::OutputImageType = Image<TPixel, VImageDimension> |
Typedef for the output image.
Definition at line 49 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::Pointer = SmartPointer<Self> |
Definition at line 58 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::RegionType = ImageRegion<VImageDimension> |
Region type alias support A region is used to specify a subset of an image.
Definition at line 75 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::Self = ImportImageFilter |
Standard class type aliases.
Definition at line 56 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::SizeType = Size<VImageDimension> |
Size type alias support A size is used to define region bounds.
Definition at line 71 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::SpacingType = typename OutputImageType::SpacingType |
Definition at line 51 of file itkImportImageFilter.h.
using itk::ImportImageFilter< TPixel, VImageDimension >::Superclass = ImageSource<OutputImageType> |
Definition at line 57 of file itkImportImageFilter.h.
|
protected |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
|
overrideprotecteddefault |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightObject.
|
overrideprotectedvirtual |
This filter can only produce the amount of data that it is given, so we must override ProcessObject::EnlargeOutputRequestedRegion() (The default implementation of a source produces the amount of data requested. This source, however, can only produce what it is given.)
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
This filter does not actually "produce" any data, rather it "wraps" the user supplied data into an itk::Image.
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
This is a source, so it must set the spacing, size, and largest possible region for the output image that it will produce.
Reimplemented from itk::ProcessObject.
|
virtual |
Get the direction of the image
TPixel* itk::ImportImageFilter< TPixel, VImageDimension >::GetImportPointer | ( | ) |
Get the pointer from which the image data is imported.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >.
|
virtual |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
|
inline |
Get the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Definition at line 114 of file itkImportImageFilter.h.
|
virtual |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Reimplemented from itk::LightObject.
|
virtual |
Set the direction of the image
void itk::ImportImageFilter< TPixel, VImageDimension >::SetImportPointer | ( | TPixel * | ptr, |
SizeValueType | num, | ||
bool | LetImageContainerManageMemory | ||
) |
Set the pointer from which the image data is imported. "num" is the number of pixels in the block of memory. If "LetImageContainerManageMemory" is false, then the this filter will not free the memory in its destructor and the application providing the buffer retains the responsibility of freeing the memory for this image data. If "LetImageContainerManageMemory" is true, then the ImageContainer will free the memory when it is destroyed.
|
virtual |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
|
virtual |
Set the origin of the image.
|
inline |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Definition at line 99 of file itkImportImageFilter.h.
|
virtual |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
|
virtual |
Set the spacing (size of a pixel) of the image.
|
private |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Definition at line 175 of file itkImportImageFilter.h.
|
private |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Definition at line 177 of file itkImportImageFilter.h.
|
private |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Definition at line 174 of file itkImportImageFilter.h.
|
private |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Definition at line 172 of file itkImportImageFilter.h.
|
private |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Definition at line 178 of file itkImportImageFilter.h.
|
private |
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Definition at line 173 of file itkImportImageFilter.h.