ITK
6.0.0
Insight 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 43 of file itkExtractOrthogonalSwath2DImageFilter.h.
Public Member Functions | |
void | EnlargeOutputRequestedRegion (DataObject *output) override |
const char * | GetNameOfClass () const override |
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 > | |
const InputImageType * | GetImageInput () |
const char * | GetNameOfClass () const override |
const InputPathType * | GetPathInput () |
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 () const |
const InputImageType * | GetInput (unsigned int idx) const |
const char * | GetNameOfClass () const override |
void | PopBackInput () override |
void | PopFrontInput () override |
virtual void | PushBackInput (const InputImageType *input) |
virtual void | PushFrontInput (const InputImageType *input) |
virtual void | SetInput (const DataObjectIdentifierType &key, DataObject *input) |
virtual void | SetInput (const InputImageType *input) |
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 > | |
const char * | GetNameOfClass () const override |
OutputImageType * | GetOutput (unsigned int idx) |
OutputImageType * | GetOutput () |
const OutputImageType * | GetOutput () const |
virtual void | GraftOutput (DataObject *graft) |
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *graft) |
virtual void | GraftNthOutput (unsigned int idx, DataObject *graft) |
ProcessObject::DataObjectPointer | MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override |
ProcessObject::DataObjectPointer | MakeOutput (const ProcessObject::DataObjectIdentifierType &) override |
Public Member Functions inherited from itk::ProcessObject | |
virtual void | AbortGenerateDataOn () |
virtual void | EnlargeOutputRequestedRegion (DataObject *) |
virtual const bool & | GetAbortGenerateData () const |
DataObjectPointerArray | GetIndexedInputs () |
DataObjectPointerArray | GetIndexedOutputs () |
NameArray | GetInputNames () const |
DataObjectPointerArray | GetInputs () |
MultiThreaderType * | GetMultiThreader () const |
const char * | GetNameOfClass () const override |
DataObjectPointerArraySizeType | GetNumberOfIndexedInputs () const |
DataObjectPointerArraySizeType | GetNumberOfIndexedOutputs () const |
DataObjectPointerArraySizeType | GetNumberOfInputs () const |
DataObjectPointerArraySizeType | GetNumberOfOutputs () const |
virtual DataObjectPointerArraySizeType | GetNumberOfValidRequiredInputs () const |
NameArray | GetOutputNames () const |
DataObjectPointerArray | GetOutputs () |
virtual float | GetProgress () const |
NameArray | GetRequiredInputNames () const |
bool | HasInput (const DataObjectIdentifierType &key) const |
bool | HasOutput (const DataObjectIdentifierType &key) const |
void | IncrementProgress (float increment) |
virtual DataObjectPointer | MakeOutput (const DataObjectIdentifierType &) |
virtual DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType idx) |
virtual void | PrepareOutputs () |
virtual void | PropagateRequestedRegion (DataObject *output) |
virtual void | ResetPipeline () |
virtual void | SetAbortGenerateData (bool _arg) |
void | SetMultiThreader (MultiThreaderType *threader) |
virtual void | Update () |
virtual void | UpdateLargestPossibleRegion () |
virtual void | UpdateOutputData (DataObject *output) |
virtual void | UpdateOutputInformation () |
void | UpdateProgress (float progress) |
virtual void | SetReleaseDataFlag (bool val) |
virtual bool | GetReleaseDataFlag () const |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
virtual void | SetReleaseDataBeforeUpdateFlag (bool _arg) |
virtual const bool & | GetReleaseDataBeforeUpdateFlag () const |
virtual void | ReleaseDataBeforeUpdateFlagOn () |
virtual void | SetNumberOfWorkUnits (ThreadIdType _arg) |
virtual const ThreadIdType & | GetNumberOfWorkUnits () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual const char * | GetNameOfClass () const |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
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::ImageToImageFilter< TImage, TImage > | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
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 () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TImage::ImageDimension |
static constexpr unsigned int | PathDimension = 2 |
Static Public Attributes inherited from itk::ImageAndPathToImageFilter< TImage, ParametricPath< 2 >, TImage > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TImage, TImage > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TImage > | |
static constexpr unsigned int | OutputImageDimension |
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 > | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
Static Protected Member Functions inherited from itk::ImageSource< TImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Static Protected Member Functions inherited from itk::ProcessObject | |
template<typename TSourceObject > | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
Protected Attributes inherited from itk::ImageSource< TImage > | |
bool | m_DynamicMultiThreading |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 53 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImageConstPointer = typename ImageType::ConstPointer |
Definition at line 64 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImageIndexType = typename ImageType::IndexType |
Definition at line 66 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImagePixelType = typename ImageType::PixelType |
Definition at line 67 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImagePointer = typename ImageType::Pointer |
Definition at line 63 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImageRegionType = typename ImageType::RegionType |
Definition at line 65 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::ImageType = TImage |
Some convenient type alias.
Definition at line 62 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathConstPointer = typename PathType::ConstPointer |
Definition at line 69 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathContinuousIndexType = typename PathType::ContinuousIndexType |
Definition at line 73 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathIndexType = typename PathType::IndexType |
Definition at line 72 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathInputType = typename PathType::InputType |
Definition at line 70 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathOffsetType = typename PathType::OffsetType |
Definition at line 74 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathOutputType = typename PathType::OutputType |
Definition at line 71 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathType = ParametricPath<2> |
Definition at line 68 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::PathVectorType = typename PathType::VectorType |
Definition at line 75 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::Pointer = SmartPointer<Self> |
Definition at line 52 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::Self = ExtractOrthogonalSwath2DImageFilter |
Standard class type aliases.
Definition at line 50 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::SizeType = typename ImageType::SizeType |
Definition at line 76 of file itkExtractOrthogonalSwath2DImageFilter.h.
using itk::ExtractOrthogonalSwath2DImageFilter< TImage >::Superclass = ImageAndPathToImageFilter<TImage, ParametricPath<2>, TImage> |
Definition at line 51 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
inlineprotected |
Definition at line 132 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
overrideprotecteddefault |
|
inlineoverridevirtual |
Request the largest possible region on all outputs.
Reimplemented from itk::ProcessObject.
Definition at line 123 of file itkExtractOrthogonalSwath2DImageFilter.h.
References itk::DataObject::SetRequestedRegionToLargestPossibleRegion().
|
overrideprotectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
|
inlineoverrideprotectedvirtual |
Request the largest possible region on all inputs.
Reimplemented from itk::ProcessObject.
Definition at line 154 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
overrideprotectedvirtual |
GenerateOutputInformation does not rely on input information
Reimplemented from itk::ProcessObject.
|
overridevirtual |
Reimplemented from itk::ProcessObject.
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
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::ProcessObject.
|
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 |
|
staticconstexpr |
Definition at line 80 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
private |
Definition at line 169 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
private |
Definition at line 171 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
private |
Definition at line 170 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
private |
Definition at line 172 of file itkExtractOrthogonalSwath2DImageFilter.h.
|
staticconstexpr |
ImageDimension constants
Definition at line 79 of file itkExtractOrthogonalSwath2DImageFilter.h.