74 template<
typename TPixel,
unsigned int VImageDimension = 2 >
163 template <
typename UPixelType,
unsigned int UImageDimension = VImageDimension>
172 virtual void Allocate(
bool initializePixels =
false) ITK_OVERRIDE;
190 ( *m_Buffer )[offset] = value;
291 void operator=(const Self &);
298 #ifndef ITK_MANUAL_INSTANTIATION
299 #include "itkImage.hxx"
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
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
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
itk::Image< UPixelType, UImageDimension > Type
PixelContainerPointer m_Buffer
virtual const TPixel * GetBufferPointer() const
SizeType::SizeValueType SizeValueType
OffsetType::OffsetValueType OffsetValueType
Base class for templated image classes.
static const unsigned int ImageDimension
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.
OffsetValueType ComputeOffset(const IndexType &ind) const
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.