ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkExtractOrthogonalSwath2DImageFilter.h>
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.
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) |
Public Member Functions inherited from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const InputImageType * | GetImageInput (void) |
const InputPathType * | GetPathInput (void) |
virtual void | SetImageInput (const TImage *image) |
virtual void | SetPathInput (const ParametricPath< 2 > *path) |
Public Member Functions inherited from itk::ImageToImageFilter< TImage, TImage > | |
const InputImageType * | GetInput (void) const |
const InputImageType * | GetInput (unsigned int idx) const |
virtual void | PopBackInput () |
virtual void | PopFrontInput () |
virtual void | PushBackInput (const InputImageType *image) |
virtual void | PushFrontInput (const InputImageType *image) |
virtual void | SetInput (const InputImageType *image) |
virtual void | SetInput (unsigned int, const TImage *image) |
virtual void | SetCoordinateTolerance (double _arg) |
virtual double | GetCoordinateTolerance () const |
virtual void | SetDirectionTolerance (double _arg) |
virtual double | GetDirectionTolerance () const |
Public Member Functions inherited from itk::ImageSource< TImage > | |
OutputImageType * | GetOutput (unsigned int idx) |
virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
virtual void | GraftOutput (DataObject *output) |
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *output) |
OutputImageType * | GetOutput (void) |
const OutputImageType * | GetOutput (void) const |
virtual ProcessObject::DataObjectPointer | MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) ITK_OVERRIDE |
Public Member Functions inherited from itk::ProcessObject | |
virtual void | AbortGenerateDataOff () |
virtual void | AbortGenerateDataOn () |
virtual const bool & | GetAbortGenerateData () const |
NameArray | GetInputNames () const |
MultiThreader * | GetMultiThreader () const |
DataObjectPointerArraySizeType | GetNumberOfIndexedInputs () const |
DataObjectPointerArraySizeType | GetNumberOfInputs () const |
DataObjectPointerArraySizeType | GetNumberOfOutputs () const |
virtual DataObjectPointerArraySizeType | GetNumberOfValidRequiredInputs () const |
NameArray | GetOutputNames () const |
virtual const float & | GetProgress () const |
NameArray | GetRequiredInputNames () const |
bool | HasInput (const DataObjectIdentifierType &key) const |
bool | HasOutput (const DataObjectIdentifierType &key) const |
virtual DataObjectPointer | MakeOutput (const DataObjectIdentifierType &) |
virtual void | PrepareOutputs () |
virtual void | PropagateRequestedRegion (DataObject *output) |
virtual void | ResetPipeline () |
virtual void | SetAbortGenerateData (bool _arg) |
virtual void | Update () |
virtual void | UpdateLargestPossibleRegion () |
virtual void | UpdateOutputData (DataObject *output) |
virtual void | UpdateOutputInformation () |
void | UpdateProgress (float progress) |
DataObjectPointerArray | GetInputs () |
DataObjectPointerArray | GetOutputs () |
DataObjectPointerArray | GetIndexedInputs () |
DataObjectPointerArray | GetIndexedOutputs () |
DataObjectPointerArraySizeType | GetNumberOfIndexedOutputs () const |
void | SetProgress (float progress) |
virtual void | SetReleaseDataFlag (bool flag) |
virtual bool | GetReleaseDataFlag () const |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
virtual void | SetReleaseDataBeforeUpdateFlag (bool _arg) |
virtual const bool & | GetReleaseDataBeforeUpdateFlag () const |
virtual void | ReleaseDataBeforeUpdateFlagOn () |
virtual void | ReleaseDataBeforeUpdateFlagOff () |
virtual void | SetNumberOfThreads (ThreadIdType _arg) |
virtual const ThreadIdType & | GetNumberOfThreads () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const ITK_OVERRIDE |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) ITK_OVERRIDE |
virtual void | UnRegister () const ITK_OVERRIDE |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage > | |
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 flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | PathDimension = 2 |
static const unsigned int | ImageDimension = TImage::ImageDimension |
Static Public Attributes inherited from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TImage, TImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TImage > | |
static const unsigned int | OutputImageDimension |
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] |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Static Protected Member Functions inherited from itk::ImageSource< TImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef SmartPointer< const Self > itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ConstPointer |
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 |
Definition at line 50 of file itkExtractOrthogonalSwath2DImageFilter.h.
typedef ExtractOrthogonalSwath2DImageFilter itk::ExtractOrthogonalSwath2DImageFilter< TImage >::Self |
Standard class typedefs.
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 |
Definition at line 49 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
inlineprotected |
Definition at line 126 of file itkExtractOrthogonalSwath2DImageFilter.h.
References itk::ExtractOrthogonalSwath2DImageFilter< TImage >::m_DefaultPixelValue, itk::ExtractOrthogonalSwath2DImageFilter< TImage >::m_Origin, itk::ExtractOrthogonalSwath2DImageFilter< TImage >::m_Size, and itk::ExtractOrthogonalSwath2DImageFilter< TImage >::m_Spacing.
|
inlineprotectedvirtual |
Definition at line 135 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
private |
|
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::Object.
|
inlinevirtual |
Request the largest possible region on all outputs.
Reimplemented from itk::ProcessObject.
Definition at line 117 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
protectedvirtual |
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 >.
|
inlineprotectedvirtual |
Request the largest possible region on all inputs.
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 145 of file itkExtractOrthogonalSwath2DImageFilter.h.
References itk::ImageToImageFilter< TImage, TImage >::GenerateInputRequestedRegion(), itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >::GetNonConstImageInput(), itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >::GetNonConstPathInput(), and itk::DataObject::SetRequestedRegionToLargestPossibleRegion().
|
protectedvirtual |
GenerateOutputInformation does not rely on input information
Reimplemented from itk::ProcessObject.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage >.
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
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 |
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 |
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 |
|
virtual |
Set the size of the swath image. The number of rows (size[1]) MUST be odd
|
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 |
|
static |
ImageDimension constants
Definition at line 80 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
private |
Definition at line 162 of file itkExtractOrthogonalSwath2DImageFilter.h.
Referenced by itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ExtractOrthogonalSwath2DImageFilter().
|
private |
Definition at line 164 of file itkExtractOrthogonalSwath2DImageFilter.h.
Referenced by itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ExtractOrthogonalSwath2DImageFilter().
|
private |
Definition at line 163 of file itkExtractOrthogonalSwath2DImageFilter.h.
Referenced by itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ExtractOrthogonalSwath2DImageFilter().
|
private |
Definition at line 165 of file itkExtractOrthogonalSwath2DImageFilter.h.
Referenced by itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ExtractOrthogonalSwath2DImageFilter().
|
static |
ImageDimension constants
Definition at line 78 of file itkExtractOrthogonalSwath2DImageFilter.h.