OTB
9.0.0
Orfeo Toolbox
|
#include <otbImportImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::Index< OutputImageType::ImageDimension > | IndexType |
typedef OutputImageType::PointType | OriginType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef TOutputImageType | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::ImageRegion< OutputImageType::ImageDimension > | RegionType |
typedef ImportImageFilter | Self |
typedef itk::Size< OutputImageType::ImageDimension > | SizeType |
typedef OutputImageType::SpacingType | SpacingType |
typedef itk::ImageSource< OutputImageType > | Superclass |
typedef OutputImageType::PixelType | TPixel |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
TPixel * | GetImportPointer () |
void | SetImportPointer (TPixel *ptr, unsigned long num, bool LetFilterManageMemory) |
Static Public Member Functions | |
static Pointer | New () |
typedef itk::Matrix< double, OutputImageType::ImageDimension, OutputImageType::ImageDimension > | DirectionType |
RegionType | m_Region |
double | m_Spacing [OutputImageType::ImageDimension] |
double | m_Origin [OutputImageType::ImageDimension] |
DirectionType | m_Direction |
TPixel * | m_ImportPointer |
bool | m_FilterManageMemory |
unsigned long | m_Size |
void | SetRegion (const RegionType ®ion) |
const RegionType & | GetRegion () const |
virtual void | SetSpacing (const double data[]) |
virtual void | SetSpacing (const float data[]) |
virtual const double * | GetSpacing () const |
void | SetSpacing (const SpacingType &spacing) |
virtual void | SetOrigin (const double data[]) |
virtual void | SetOrigin (const float data[]) |
void | SetOrigin (const OriginType &origin) |
virtual const double * | GetOrigin () const |
virtual void | SetDirection (const DirectionType direction) |
virtual const DirectionType & | GetDirection () const |
ImportImageFilter () | |
~ImportImageFilter () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | GenerateData () override |
void | GenerateOutputInformation () override |
void | EnlargeOutputRequestedRegion (itk::DataObject *output) override |
ImportImageFilter (const ImportImageFilter &)=delete | |
void | operator= (const ImportImageFilter &)=delete |
Import data from a standard C array into an Image Type.
ImportImageFilter provides a mechanism for importing data into an Image Type. ImportImageFilter is an image source, so it behaves like any other pipeline object.
This class is templated over the output Image Type
Definition at line 45 of file otbImportImageFilter.h.
typedef itk::SmartPointer<const Self> otb::ImportImageFilter< TOutputImageType >::ConstPointer |
Definition at line 58 of file otbImportImageFilter.h.
typedef itk::Matrix<double, OutputImageType::ImageDimension, OutputImageType::ImageDimension> otb::ImportImageFilter< TOutputImageType >::DirectionType |
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 135 of file otbImportImageFilter.h.
typedef itk::Index<OutputImageType::ImageDimension> otb::ImportImageFilter< TOutputImageType >::IndexType |
Index typedef support. An index is used to access pixel values.
Definition at line 64 of file otbImportImageFilter.h.
typedef OutputImageType::PointType otb::ImportImageFilter< TOutputImageType >::OriginType |
Definition at line 52 of file otbImportImageFilter.h.
typedef OutputImageType::Pointer otb::ImportImageFilter< TOutputImageType >::OutputImagePointer |
Definition at line 50 of file otbImportImageFilter.h.
typedef TOutputImageType otb::ImportImageFilter< TOutputImageType >::OutputImageType |
Typedef for the output image.
Definition at line 49 of file otbImportImageFilter.h.
typedef itk::SmartPointer<Self> otb::ImportImageFilter< TOutputImageType >::Pointer |
Definition at line 57 of file otbImportImageFilter.h.
typedef itk::ImageRegion<OutputImageType::ImageDimension> otb::ImportImageFilter< TOutputImageType >::RegionType |
Region typedef support. A region is used to specify a subset of an image.
Definition at line 74 of file otbImportImageFilter.h.
typedef ImportImageFilter otb::ImportImageFilter< TOutputImageType >::Self |
Standard class typedefs.
Definition at line 55 of file otbImportImageFilter.h.
typedef itk::Size<OutputImageType::ImageDimension> otb::ImportImageFilter< TOutputImageType >::SizeType |
Size typedef support. A size is used to define region bounds.
Definition at line 70 of file otbImportImageFilter.h.
typedef OutputImageType::SpacingType otb::ImportImageFilter< TOutputImageType >::SpacingType |
Definition at line 51 of file otbImportImageFilter.h.
typedef itk::ImageSource<OutputImageType> otb::ImportImageFilter< TOutputImageType >::Superclass |
Definition at line 56 of file otbImportImageFilter.h.
typedef OutputImageType::PixelType otb::ImportImageFilter< TOutputImageType >::TPixel |
Type of the output image pixel type.
Definition at line 77 of file otbImportImageFilter.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.
Definition at line 35 of file otbImportImageFilter.hxx.
|
overrideprotected |
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 55 of file otbImportImageFilter.hxx.
|
privatedelete |
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::itk::LightObject::Pointer otb::ImportImageFilter< TOutputImageType >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
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.)
Definition at line 135 of file otbImportImageFilter.hxx.
|
overrideprotected |
This filter does not actually "produce" any data, rather it "wraps" the user supplied data into an itk::Image.
Definition at line 172 of file otbImportImageFilter.hxx.
|
overrideprotected |
This is a source, so it must set the spacing, size, and largest possible region for the output image that it will produce.
Definition at line 152 of file otbImportImageFilter.hxx.
|
virtual |
Get the direction of the image
ImportImageFilter< TOutputImage >::TPixel * otb::ImportImageFilter< TOutputImage >::GetImportPointer |
Get the pointer from which the image data is imported.
Definition at line 126 of file otbImportImageFilter.hxx.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get the origin of the image.
|
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 109 of file otbImportImageFilter.h.
|
virtual |
Get the spacing (size of a pixel) of the image.
|
static |
Method for creation through the object factory.
|
privatedelete |
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.
|
overrideprotected |
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 68 of file otbImportImageFilter.hxx.
|
virtual |
Set the direction of the image
Definition at line 225 of file otbImportImageFilter.hxx.
void otb::ImportImageFilter< TOutputImage >::SetImportPointer | ( | TPixel * | ptr, |
unsigned long | num, | ||
bool | LetFilterManageMemory | ||
) |
Set the pointer from which the image data is imported. "num" is the number of pixels in the block of memory. If "LetFilterManageMemory" 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 "LetFilterManageMemory" is true, then this class will free the memory when this object is destroyed.
Definition at line 106 of file otbImportImageFilter.hxx.
|
virtual |
Set the origin of the image.
|
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.
void otb::ImportImageFilter< TOutputImage >::SetOrigin | ( | const OriginType & | origin | ) |
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 212 of file otbImportImageFilter.hxx.
|
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 95 of file otbImportImageFilter.h.
|
virtual |
Set the spacing (size of a pixel) of the image.
|
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.
void otb::ImportImageFilter< TOutputImage >::SetSpacing | ( | const SpacingType & | spacing | ) |
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 197 of file otbImportImageFilter.hxx.
|
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 otbImportImageFilter.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 180 of file otbImportImageFilter.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 179 of file otbImportImageFilter.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 176 of file otbImportImageFilter.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 otbImportImageFilter.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 181 of file otbImportImageFilter.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 175 of file otbImportImageFilter.h.