74 template<
typename TPixel,
unsigned int VImageDimension = 2 >
160 template <
typename UPixelType,
unsigned int NUImageDimension = VImageDimension>
169 virtual void Allocate(
bool initializePixels =
false) ITK_OVERRIDE;
187 ( *m_Buffer )[offset] = value;
288 void operator=(const
Self &) ITK_DELETE_FUNCTION;
295 #ifndef ITK_MANUAL_INSTANTIATION
296 #include "itkImage.hxx"
itk::Image< UPixelType, NUImageDimension > Type
Superclass::RegionType RegionType
Index< VImageDimension > IndexType
Superclass::OffsetType OffsetType
SmartPointer< Self > Pointer
const PixelContainer * GetPixelContainer() const
Superclass::SizeValueType SizeValueType
Superclass::PointType PointType
void FillBuffer(const TPixel &value)
virtual TPixel * GetBufferPointer()
TPixel & GetPixel(const IndexType &index)
Get a reference to a pixel (e.g. for editing).
SpacePrecisionType SpacingValueType
const TPixel & GetPixel(const IndexType &index) const
Get a pixel (read only version).
Superclass::IndexValueType IndexValueType
Superclass::OffsetValueType OffsetValueType
ObjectType * GetPointer() const
Implements a weak reference to an object.
Superclass::SpacingType SpacingType
const AccessorType GetPixelAccessor(void) const
Size< VImageDimension > SizeType
Point< PointValueType, VImageDimension > PointType
void PrintSelf(std::ostream &os, Indent indent) const override
const NeighborhoodAccessorFunctorType GetNeighborhoodAccessor() const
Matrix< SpacePrecisionType, VImageDimension, VImageDimension > DirectionType
SmartPointer< const Self > ConstPointer
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor()
NeighborhoodAccessorFunctor< Self > NeighborhoodAccessorFunctorType
PixelContainer::ConstPointer PixelContainerConstPointer
unsigned int ImageDimensionType
WeakPointer< const Self > ConstWeakPointer
Superclass::SpacingValueType SpacingValueType
DefaultPixelAccessorFunctor< Self > AccessorFunctorType
Provides accessor interfaces to Get pixels and is meant to be used on pointers contained within Neigh...
Offset< VImageDimension > OffsetType
PixelContainer::Pointer PixelContainerPointer
Vector< SpacingValueType, VImageDimension > SpacingType
Superclass::IndexType IndexType
OffsetValueType FastComputeOffset(const IndexType &ind) const
Superclass::SizeType SizeType
virtual void Graft(const DataObject *data) override
virtual void ComputeIndexToPhysicalPointMatrices() override
virtual void Initialize() override
Superclass::DirectionType DirectionType
Provides a common API for pixel accessors for Image and VectorImage.
ImportImageContainer< SizeValueType, PixelType > PixelContainer
PixelContainerPointer m_Buffer
Superclass::ImageDimensionType ImageDimensionType
virtual const TPixel * GetBufferPointer() const
SizeType::SizeValueType SizeValueType
OffsetType::OffsetValueType OffsetValueType
Base class for templated image classes.
AccessorType GetPixelAccessor(void)
DefaultPixelAccessor< PixelType > AccessorType
Control indentation during Print() invocation.
PixelContainer * GetPixelContainer()
const TPixel & operator[](const IndexType &index) const
Access a pixel. This version can only be an rvalue.
void SetPixelContainer(PixelContainer *container)
ImageRegion< VImageDimension > RegionType
ImageBase< VImageDimension > Superclass
Give access to partial aspects a type.
TPixel & operator[](const IndexType &index)
Access a pixel. This version can be an lvalue.
virtual void Allocate(bool initializePixels=false) override
void SetPixel(const IndexType &index, const TPixel &value)
Set a pixel value.
Base class for all data objects in ITK.
IndexType::IndexValueType IndexValueType
Templated n-dimensional image class.
virtual unsigned int GetNumberOfComponentsPerPixel() const override
Defines an itk::Image front-end to a standard C-array.