template<typename TImage, typename TOutputPixelType>
class itk::NthElementImageAdaptor< TImage, TOutputPixelType >
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.
- Wiki Examples:
-
- Examples:
- WikiExamples/ImageProcessing/NthElementImageAdaptor.cxx, WikiExamples/ImageProcessing/ProcessingNthImageElement.cxx, WikiExamples/Smoothing/RGBCurvatureFlowImageFilter.cxx, and WikiExamples/Smoothing/RGBMinMaxCurvatureFlowImageFilter.cxx.
Definition at line 59 of file itkNthElementImageAdaptor.h.
|
virtual ::itk::LightObject::Pointer | CreateAnother () const |
|
virtual const char * | GetNameOfClass () const |
|
|
void | SelectNthElement (unsigned int nth) |
|
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 PointType values) override |
|
void | SetOrigin (const double *values) override |
|
void | SetOrigin (const float *values) override |
|
void | SetPixel (const IndexType &index, const PixelType &value) |
|
void | SetPixelAccessor (const AccessorType &accessor) |
|
void | SetPixelContainer (PixelContainer *container) |
|
void | SetRequestedRegion (const RegionType ®ion) override |
|
void | SetRequestedRegion (const DataObject *data) override |
|
void | SetRequestedRegionToLargestPossibleRegion () override |
|
void | SetSpacing (const SpacingType &values) override |
|
void | SetSpacing (const double *values) override |
|
void | SetSpacing (const float *values) 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 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 |
|
void | Update () override |
|
void | UpdateOutputData () override |
|
void | UpdateOutputInformation () override |
|
bool | VerifyRequestedRegion () override |
|
OffsetValueType | ComputeOffset (const IndexType &ind) const |
|
void | CopyInformation (const DataObject *data) override |
|
virtual ::itk::LightObject::Pointer | CreateAnother () const |
|
virtual const DirectionType & | GetInverseDirection () const |
|
void | Initialize () override |
|
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
|
virtual void | SetBufferedRegion (const RegionType ®ion) |
|
virtual void | SetDirection (const DirectionType &direction) |
|
virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
|
virtual void | SetRegions (const SizeType &size) |
|
virtual void | SetRequestedRegion (const RegionType ®ion) |
|
void | SetRequestedRegion (const DataObject *data) override |
|
void | SetRequestedRegionToLargestPossibleRegion () override |
|
void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const |
|
bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point, ContinuousIndex< TIndexRep, VImageDimension > &index) const |
|
void | TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const |
|
void | UpdateOutputData () override |
|
void | UpdateOutputInformation () override |
|
bool | VerifyRequestedRegion () override |
|
virtual void | SetOrigin (PointType _arg) |
|
virtual void | SetOrigin (const double origin[VImageDimension]) |
|
virtual void | SetOrigin (const float origin[VImageDimension]) |
|
virtual void | SetRegions (const RegionType ®ion) |
|
const OffsetValueType * | GetOffsetTable () 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]) |
|
bool | TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &index) const |
|
void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const |
|
void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const |
|
virtual unsigned int | GetNumberOfComponentsPerPixel () const |
|
virtual void | SetNumberOfComponentsPerPixel (unsigned int) |
|
virtual void | DataHasBeenGenerated () |
|
void | DisconnectPipeline () |
|
bool | GetDataReleased () const |
|
virtual const bool & | GetReleaseDataFlag () const |
|
SmartPointer< ProcessObject > | GetSource () const |
|
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
|
const DataObjectIdentifierType & | GetSourceOutputName () const |
|
virtual ModifiedTimeType | GetUpdateMTime () const |
|
virtual void | PrepareForNewData () |
|
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 void | SetRealTimeStamp (RealTimeStamp _arg) |
|
virtual const RealTimeStamp & | GetRealTimeStamp () const |
|
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 () |
|
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 noexceptoverride |
|
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
|
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
|
virtual void | SetObjectName (std::string _arg) |
|
virtual const std::string & | GetObjectName () const |
|
virtual void | Delete () |
|
virtual int | GetReferenceCount () const |
|
| itkCloneMacro (Self) |
|
void | Print (std::ostream &os, Indent indent=0) const |
|