ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkExtractOrthogonalSwath2DImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageType::ConstPointer | ImageConstPointer |
typedef ImageType::IndexType | ImageIndexType |
typedef ImageType::PixelType | ImagePixelType |
typedef ImageType::Pointer | ImagePointer |
typedef ImageType::RegionType | ImageRegionType |
typedef TImage | ImageType |
typedef PathType::ConstPointer | PathConstPointer |
typedef PathType::ContinuousIndexType | PathContinuousIndexType |
typedef PathType::IndexType | PathIndexType |
typedef PathType::InputType | PathInputType |
typedef PathType::OffsetType | PathOffsetType |
typedef PathType::OutputType | PathOutputType |
typedef ParametricPath< 2 > | PathType |
typedef PathType::VectorType | PathVectorType |
typedef SmartPointer< Self > | Pointer |
typedef ExtractOrthogonalSwath2DImageFilter | Self |
typedef ImageType::SizeType | SizeType |
typedef ImageAndPathToImageFilter < TImage, ParametricPath < 2 >, TImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual void | EnlargeOutputRequestedRegion (DataObject *output) |
virtual const char * | GetNameOfClass () const |
virtual const double * | GetOrigin () const |
virtual const double * | GetSpacing () const |
virtual void | SetDefaultPixelValue (ImagePixelType _arg) |
virtual void | SetOrigin (const double *origin) |
virtual void | SetOrigin (const float *origin) |
virtual void | SetSize (SizeType _arg) |
virtual void | SetSpacing (const double *spacing) |
virtual void | SetSpacing (const float *spacing) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | PathDimension = 2 |
static const unsigned int | ImageDimension = TImage::ImageDimension |
Protected Member Functions | |
ExtractOrthogonalSwath2DImageFilter () | |
virtual void | GenerateData (void) |
virtual void | GenerateOutputInformation (void) |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ExtractOrthogonalSwath2DImageFilter () |
virtual void | GenerateInputRequestedRegion () |
Private Member Functions | |
ExtractOrthogonalSwath2DImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
ImagePixelType | m_DefaultPixelValue |
double | m_Origin [ImageDimension] |
SizeType | m_Size |
double | m_Spacing [ImageDimension] |
Extracts into rectangular form a "swath" image from the input image along the parametric path.
Extracts a rectangular "swath" image from the 2D input image by interpolating image pixels orthogonal to the parametric path while walking along the path. The top half of the swath image corresponds to pixels to the left of the path when walking along the path, and the bottom half of the swath image likewise corresponds to pixels to the right of the path when walking along the path. The center row of the swath image corresponds to pixels laying directly on the path. The input and output images must be of the same type.
Definition at line 42 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef SmartPointer< const Self > itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ConstPointer |
Reimplemented from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >.
Definition at line 51 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef ImageType::ConstPointer itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImageConstPointer |
Definition at line 62 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef ImageType::IndexType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImageIndexType |
Definition at line 64 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef ImageType::PixelType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImagePixelType |
Definition at line 65 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef ImageType::Pointer itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImagePointer |
Definition at line 61 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef ImageType::RegionType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImageRegionType |
Definition at line 63 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef TImage itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImageType |
Some convenient typedefs.
Definition at line 57 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef PathType::ConstPointer itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathConstPointer |
Definition at line 67 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef PathType::ContinuousIndexType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathContinuousIndexType |
Definition at line 71 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef PathType::IndexType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathIndexType |
Definition at line 70 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef PathType::InputType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathInputType |
Definition at line 68 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef PathType::OffsetType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathOffsetType |
Definition at line 72 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef PathType::OutputType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathOutputType |
Definition at line 69 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef ParametricPath< 2 > itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathType |
Definition at line 66 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef PathType::VectorType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathVectorType |
Definition at line 73 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef SmartPointer< Self > itk::ExtractOrthogonalSwath2DImageFilter< TImage >::Pointer |
Reimplemented from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >.
Definition at line 50 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef ExtractOrthogonalSwath2DImageFilter itk::ExtractOrthogonalSwath2DImageFilter< TImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >.
Definition at line 47 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef ImageType::SizeType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::SizeType |
Definition at line 74 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage > itk::ExtractOrthogonalSwath2DImageFilter< TImage >::Superclass |
Reimplemented from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >.
Definition at line 49 of file itkExtractOrthogonalSwath2DImageFilter.h.
itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ExtractOrthogonalSwath2DImageFilter | ( | ) | [inline, protected] |
Definition at line 125 of file itkExtractOrthogonalSwath2DImageFilter.h.
virtual itk::ExtractOrthogonalSwath2DImageFilter< TImage >::~ExtractOrthogonalSwath2DImageFilter | ( | ) | [inline, protected, virtual] |
Definition at line 134 of file itkExtractOrthogonalSwath2DImageFilter.h.
itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ExtractOrthogonalSwath2DImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::ExtractOrthogonalSwath2DImageFilter< TImage >::CreateAnother | ( | void | ) | const [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::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >.
virtual void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::EnlargeOutputRequestedRegion | ( | DataObject * | output | ) | [inline, virtual] |
Request the largest possible region on all outputs.
Reimplemented from itk::ProcessObject.
Definition at line 117 of file itkExtractOrthogonalSwath2DImageFilter.h.
virtual void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::GenerateData | ( | void | ) | [protected, virtual] |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TImage >.
virtual void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::GenerateInputRequestedRegion | ( | void | ) | [inline, protected, virtual] |
Request the largest possible region on all inputs.
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 144 of file itkExtractOrthogonalSwath2DImageFilter.h.
virtual void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::GenerateOutputInformation | ( | void | ) | [protected, virtual] |
GenerateOutputInformation does not rely on input information
Reimplemented from itk::ProcessObject.
virtual const char* itk::ExtractOrthogonalSwath2DImageFilter< TImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >.
virtual const double* itk::ExtractOrthogonalSwath2DImageFilter< TImage >::GetOrigin | ( | ) | const [virtual] |
virtual const double* itk::ExtractOrthogonalSwath2DImageFilter< TImage >::GetSpacing | ( | ) | const [virtual] |
static Pointer itk::ExtractOrthogonalSwath2DImageFilter< TImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >.
void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::operator= | ( | const Self & | ) | [private] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >.
void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >.
virtual void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::SetDefaultPixelValue | ( | ImagePixelType | _arg | ) | [virtual] |
Set the default pixel value of the swath image, to be used if the swath extends past the edge of the input image data.
virtual void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::SetOrigin | ( | const double * | origin | ) | [virtual] |
The origin of the output image. The origin is the geometric coordinates of the index (0,0,...,0). It is stored internally as double but may be set from float.
virtual void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::SetOrigin | ( | const float * | origin | ) | [virtual] |
virtual void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::SetSize | ( | SizeType | _arg | ) | [virtual] |
Set the size of the swath image. The number of rows (size[1]) MUST be odd
virtual void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::SetSpacing | ( | const double * | spacing | ) | [virtual] |
Spacing (size of a pixel) of the output image. The spacing is normally the geometric distance between image samples, but in the case of a swath image it is meaningless since the size of each pixel varies depending on the curvature of the input path. It is stored internally as double, but may be set from float.
virtual void itk::ExtractOrthogonalSwath2DImageFilter< TImage >::SetSpacing | ( | const float * | spacing | ) | [virtual] |
const unsigned int itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImageDimension = TImage::ImageDimension [static] |
ImageDimension constants
Definition at line 80 of file itkExtractOrthogonalSwath2DImageFilter.h.
ImagePixelType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::m_DefaultPixelValue [private] |
Definition at line 162 of file itkExtractOrthogonalSwath2DImageFilter.h.
double itk::ExtractOrthogonalSwath2DImageFilter< TImage >::m_Origin[ImageDimension] [private] |
Definition at line 164 of file itkExtractOrthogonalSwath2DImageFilter.h.
SizeType itk::ExtractOrthogonalSwath2DImageFilter< TImage >::m_Size [private] |
Definition at line 163 of file itkExtractOrthogonalSwath2DImageFilter.h.
double itk::ExtractOrthogonalSwath2DImageFilter< TImage >::m_Spacing[ImageDimension] [private] |
Definition at line 165 of file itkExtractOrthogonalSwath2DImageFilter.h.
const unsigned int itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathDimension = 2 [static] |
ImageDimension constants
Definition at line 78 of file itkExtractOrthogonalSwath2DImageFilter.h.