ITK
5.2.0
Insight Toolkit
|
#include <itkNthElementImageAdaptor.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = NthElementImageAdaptor |
using | Superclass = typename NthElementImageAdaptorHelper< TImage, TOutputPixelType >::Super |
Public Types inherited from itk::ImageAdaptor< TImage, TAccessor > | |
using | AccessorFunctorType = typename InternalImageType::AccessorFunctorType::template Rebind< Self >::Type |
using | AccessorType = TAccessor |
using | ConstPointer = SmartPointer< const Self > |
using | ConstWeakPointer = WeakPointer< const Self > |
using | DirectionType = typename Superclass::DirectionType |
using | IndexType = typename Superclass::IndexType |
using | IndexValueType = typename IndexType::IndexValueType |
using | InternalImageType = TImage |
using | InternalPixelPointerType = InternalPixelType * |
using | InternalPixelType = typename TAccessor::InternalType |
using | IOPixelType = PixelType |
using | OffsetType = typename Superclass::OffsetType |
using | OffsetValueType = typename OffsetType::OffsetValueType |
using | PixelContainer = typename TImage::PixelContainer |
using | PixelContainerConstPointer = typename TImage::PixelContainerConstPointer |
using | PixelContainerPointer = typename TImage::PixelContainerPointer |
using | PixelType = typename TAccessor::ExternalType |
using | Pointer = SmartPointer< Self > |
using | PointType = typename Superclass::PointType |
template<typename UPixelType , unsigned int NUImageDimension = TImage::ImageDimension> | |
using | RebindImageType = itk::Image< UPixelType, NUImageDimension > |
using | RegionType = typename Superclass::RegionType |
using | Self = ImageAdaptor |
using | SizeType = typename Superclass::SizeType |
using | SizeValueType = typename SizeType::SizeValueType |
using | SpacingType = typename Superclass::SpacingType |
using | Superclass = ImageBase< Self::ImageDimension > |
Public Types inherited from itk::ImageBase< TImage::ImageDimension > | |
using | ConstPointer = SmartPointer< const Self > |
using | DirectionType = Matrix< SpacePrecisionType, VImageDimension, VImageDimension > |
using | ImageDimensionType = unsigned int |
using | IndexType = Index< VImageDimension > |
using | IndexValueType = typename IndexType::IndexValueType |
using | OffsetType = Offset< VImageDimension > |
using | OffsetValueType = typename OffsetType::OffsetValueType |
using | Pointer = SmartPointer< Self > |
using | PointType = Point< PointValueType, VImageDimension > |
using | PointValueType = SpacePrecisionType |
using | RegionType = ImageRegion< VImageDimension > |
using | Self = ImageBase |
using | SizeType = Size< VImageDimension > |
using | SizeValueType = typename SizeType::SizeValueType |
using | SpacingType = Vector< SpacingValueType, VImageDimension > |
using | SpacingValueType = SpacePrecisionType |
using | Superclass = DataObject |
Public Types inherited from itk::DataObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = std::string |
using | DataObjectPointerArraySizeType = std::vector< Pointer >::size_type |
using | Pointer = SmartPointer< Self > |
using | Self = DataObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from itk::ImageAdaptor< TImage, TAccessor > | |
void | Allocate (bool initialize=false) override |
IndexType | ComputeIndex (OffsetValueType offset) const |
void | CopyInformation (const DataObject *data) override |
const RegionType & | GetBufferedRegion () const override |
InternalPixelType * | GetBufferPointer () |
const InternalPixelType * | GetBufferPointer () const |
const DirectionType & | GetDirection () const override |
const RegionType & | GetLargestPossibleRegion () const override |
ModifiedTimeType | GetMTime () const override |
const OffsetValueType * | GetOffsetTable () const |
const PointType & | GetOrigin () const override |
PixelType | GetPixel (const IndexType &index) const |
AccessorType & | GetPixelAccessor () |
const AccessorType & | GetPixelAccessor () const |
PixelContainerPointer | GetPixelContainer () |
const PixelContainer * | GetPixelContainer () const |
const RegionType & | GetRequestedRegion () const override |
const SpacingType & | GetSpacing () const override |
virtual void | Graft (const Self *imgData) |
void | Initialize () override |
void | Modified () const override |
PixelType | operator[] (const IndexType &index) const |
void | PropagateRequestedRegion () override |
void | SetBufferedRegion (const RegionType ®ion) override |
void | SetDirection (const DirectionType &direction) override |
virtual void | SetImage (TImage *) |
void | SetLargestPossibleRegion (const RegionType ®ion) override |
void | SetOrigin (const double *origin) override |
void | SetOrigin (const float *origin) override |
void | SetOrigin (const PointType origin) override |
void | SetPixel (const IndexType &index, const PixelType &value) |
void | SetPixelAccessor (const AccessorType &accessor) |
void | SetPixelContainer (PixelContainer *container) |
void | SetRequestedRegion (const DataObject *data) override |
void | SetRequestedRegion (const RegionType ®ion) override |
void | SetRequestedRegionToLargestPossibleRegion () override |
void | SetSpacing (const double *spacing) override |
void | SetSpacing (const float *spacing) override |
void | SetSpacing (const SpacingType &spacing) override |
template<typename TCoordRep > | |
void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, Self::ImageDimension > &index, Point< TCoordRep, Self::ImageDimension > &point) const |
template<typename TCoordRep > | |
void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, Self::ImageDimension > &point) const |
template<typename TCoordRep > | |
void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, Self::ImageDimension > &inputGradient, FixedArray< TCoordRep, Self::ImageDimension > &outputGradient) const |
template<typename TVector > | |
TVector | TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const |
template<typename TCoordRep > | |
bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, Self::ImageDimension > &point, ContinuousIndex< TCoordRep, Self::ImageDimension > &index) const |
template<typename TCoordRep > | |
bool | TransformPhysicalPointToIndex (const Point< TCoordRep, Self::ImageDimension > &point, IndexType &index) const |
template<typename TCoordRep > | |
void | TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, Self::ImageDimension > &inputGradient, FixedArray< TCoordRep, Self::ImageDimension > &outputGradient) const |
template<typename TVector > | |
TVector | TransformPhysicalVectorToLocalVector (const TVector &inputGradient) const |
void | Update () override |
void | UpdateOutputData () override |
void | UpdateOutputInformation () override |
bool | VerifyRequestedRegion () override |
Public Member Functions inherited from itk::ImageBase< TImage::ImageDimension > | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
void | Initialize () override |
virtual void | SetOrigin (PointType _arg) |
virtual void | SetOrigin (const double origin[VImageDimension]) |
virtual void | SetOrigin (const float origin[VImageDimension]) |
virtual void | SetDirection (const DirectionType &direction) |
virtual const DirectionType & | GetInverseDirection () const |
virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
virtual void | SetBufferedRegion (const RegionType ®ion) |
virtual void | SetRequestedRegion (const RegionType ®ion) |
void | SetRequestedRegion (const DataObject *data) override |
virtual void | SetRegions (const RegionType ®ion) |
virtual void | SetRegions (const SizeType &size) |
const OffsetValueType * | GetOffsetTable () const |
OffsetValueType | ComputeOffset (const IndexType &ind) const |
IndexType | ComputeIndex (OffsetValueType offset) const |
virtual void | SetSpacing (const SpacingType &spacing) |
virtual void | SetSpacing (const double spacing[VImageDimension]) |
virtual void | SetSpacing (const float spacing[VImageDimension]) |
IndexType | TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point) const |
bool | TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &index) const |
ContinuousIndex< TIndexRep, VImageDimension > | TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point) const |
bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point, ContinuousIndex< TIndexRep, VImageDimension > &index) const |
void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const |
Point< TCoordRep, VImageDimension > | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index) const |
void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const |
Point< TCoordRep, VImageDimension > | TransformIndexToPhysicalPoint (const IndexType &index) const |
void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const |
TVector | TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const |
void | TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const |
TVector | TransformPhysicalVectorToLocalVector (const TVector &inputGradient) const |
void | CopyInformation (const DataObject *data) override |
void | UpdateOutputInformation () override |
void | UpdateOutputData () override |
void | SetRequestedRegionToLargestPossibleRegion () override |
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
bool | VerifyRequestedRegion () override |
virtual unsigned int | GetNumberOfComponentsPerPixel () const |
virtual void | SetNumberOfComponentsPerPixel (unsigned int) |
Public Member Functions inherited from itk::DataObject | |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () const |
SmartPointer< ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
void | ReleaseData () |
virtual void | ReleaseDataFlagOff () |
virtual void | ReleaseDataFlagOn () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
bool | ShouldIReleaseData () const |
void | SetPipelineMTime (ModifiedTimeType time) |
virtual const ModifiedTimeType & | GetPipelineMTime () const |
virtual ModifiedTimeType | GetUpdateMTime () const |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () const |
virtual void | PrepareForNewData () |
virtual void | DataHasBeenGenerated () |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
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 void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageAdaptor< TImage, TAccessor > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageBase< TImage::ImageDimension > | |
static unsigned int | GetImageDimension () |
static Pointer | New () |
Static Public Member Functions inherited from itk::DataObject | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
static Pointer | New () |
static void | SetGlobalReleaseDataFlag (bool val) |
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 () |
void | SelectNthElement (unsigned int nth) |
NthElementImageAdaptor ()=default | |
~NthElementImageAdaptor () override=default | |
Additional Inherited Members | |
Static Public Attributes inherited from itk::ImageAdaptor< TImage, TAccessor > | |
static constexpr unsigned int | ImageDimension = TImage::ImageDimension |
Static Public Attributes inherited from itk::ImageBase< TImage::ImageDimension > | |
static constexpr ImageDimensionType | ImageDimension |
Protected Member Functions inherited from itk::ImageAdaptor< TImage, TAccessor > | |
void | Graft (const DataObject *data) override |
ImageAdaptor () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ImageAdaptor () override=default | |
Protected Member Functions inherited from itk::ImageBase< TImage::ImageDimension > | |
void | Graft (const DataObject *data) override |
ImageBase () | |
~ImageBase () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | ComputeOffsetTable () |
virtual void | ComputeIndexToPhysicalPointMatrices () |
virtual void | InitializeBufferedRegion () |
OffsetValueType | FastComputeOffset (const IndexType &ind) const |
IndexType | FastComputeIndex (OffsetValueType offset) const |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
~DataObject () override | |
virtual void | PropagateResetPipeline () |
Protected Member Functions inherited from itk::Object | |
Object () | |
~Object () override | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes inherited from itk::ImageBase< TImage::ImageDimension > | |
SpacingType | m_Spacing |
PointType | m_Origin |
DirectionType | m_Direction |
DirectionType | m_InverseDirection |
DirectionType | m_IndexToPhysicalPoint |
DirectionType | m_PhysicalPointToIndex |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
Presents an image as being composed of the N-th element of its pixels.
It assumes that the pixels are of container type and have in their API an operator[]( unsigned int ) defined.
Additional casting is performed according to the input and output image types following C++ default casting rules.
Definition at line 58 of file itkNthElementImageAdaptor.h.
using itk::NthElementImageAdaptor< TImage, TOutputPixelType >::ConstPointer = SmartPointer<const Self> |
Definition at line 67 of file itkNthElementImageAdaptor.h.
using itk::NthElementImageAdaptor< TImage, TOutputPixelType >::Pointer = SmartPointer<Self> |
Definition at line 66 of file itkNthElementImageAdaptor.h.
using itk::NthElementImageAdaptor< TImage, TOutputPixelType >::Self = NthElementImageAdaptor |
Standard class type aliases.
Definition at line 64 of file itkNthElementImageAdaptor.h.
using itk::NthElementImageAdaptor< TImage, TOutputPixelType >::Superclass = typename NthElementImageAdaptorHelper<TImage, TOutputPixelType>::Super |
Definition at line 65 of file itkNthElementImageAdaptor.h.
|
protecteddefault |
Select the element number to be accessed
|
overrideprotecteddefault |
Select the element number to be accessed
|
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::ImageAdaptor< TImage, TAccessor >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.
|
static |
Method for creation through the object factory.
|
inline |
Select the element number to be accessed
Definition at line 77 of file itkNthElementImageAdaptor.h.
References itk::ImageAdaptor< TImage, TAccessor >::GetPixelAccessor(), and itk::ImageAdaptor< TImage, TAccessor >::Modified().