#include <itkImageRegion.h>
template<unsigned int VImageDimension>
class itk::ImageRegion< VImageDimension >
An image region represents a structured region of data.
ImageRegion is an class that represents some structured portion or piece of an Image. The ImageRegion is represented with an index and a size in each of the n-dimensions of the image. (The index is the corner of the image, the size is the lengths of the image in each of the topological directions.)
- See also
- Region
-
Index
-
Size
-
MeshRegion
- ITK Sphinx Examples:
-
Definition at line 80 of file itkImageRegion.h.
◆ IndexType
template<unsigned int VImageDimension>
◆ IndexValueArrayType
template<unsigned int VImageDimension>
◆ IndexValueType
template<unsigned int VImageDimension>
◆ OffsetTableType
template<unsigned int VImageDimension>
◆ OffsetType
template<unsigned int VImageDimension>
◆ OffsetValueType
template<unsigned int VImageDimension>
using itk::ImageRegion< VImageDimension >::OffsetValueType = typename OffsetType::OffsetValueType |
◆ Self
template<unsigned int VImageDimension>
◆ SizeType
template<unsigned int VImageDimension>
◆ SizeValueType
template<unsigned int VImageDimension>
◆ SliceRegion
template<unsigned int VImageDimension>
◆ ImageRegion() [1/4]
template<unsigned int VImageDimension>
Constructor. ImageRegion is a lightweight object that is not reference counted, so the constructor is public. Its two data members are filled with zeros (using C++11 default member initializers).
◆ ~ImageRegion()
template<unsigned int VImageDimension>
Destructor. ImageRegion is a lightweight object that is not reference counted, so the destructor is public.
◆ ImageRegion() [2/4]
template<unsigned int VImageDimension>
Copy constructor. ImageRegion is a lightweight object that is not reference counted, so the copy constructor is public.
◆ ImageRegion() [3/4]
template<unsigned int VImageDimension>
Constructor that takes an index and size. ImageRegion is a lightweight object that is not reference counted, so this constructor is public.
- Note
- This constructor supports class template argument deduction (CTAD).
Definition at line 157 of file itkImageRegion.h.
◆ ImageRegion() [4/4]
template<unsigned int VImageDimension>
Constructor that takes a size and assumes an index of zeros. ImageRegion is lightweight object that is not reference counted so this constructor is public.
- Note
- This constructor supports class template argument deduction (CTAD).
Definition at line 168 of file itkImageRegion.h.
◆ ComputeOffsetTable()
template<unsigned int VImageDimension>
Compute an offset table based on the Size.
◆ Crop()
template<unsigned int VImageDimension>
Crop a region by another region. If this region is outside of the crop, this method returns false and does not modify the region. Otherwise, this method returns true and the region is modified to reflect the crop.
◆ get() [1/2]
template<unsigned int VImageDimension>
template<vcl_size_t VTupleIndex>
Supports tuple-like access: get<0>()
returns a reference to the index and get<1>()
returns a reference to the size of the region.
Definition at line 375 of file itkImageRegion.h.
◆ get() [2/2]
template<unsigned int VImageDimension>
template<vcl_size_t VTupleIndex>
◆ GetImageDimension()
template<unsigned int VImageDimension>
static constexpr unsigned int itk::ImageRegion< VImageDimension >::GetImageDimension |
( |
| ) |
|
|
inlinestaticconstexpr |
Dimension of the image available at compile-time and at run time.
Definition at line 110 of file itkImageRegion.h.
◆ GetIndex() [1/2]
template<unsigned int VImageDimension>
◆ GetIndex() [2/2]
template<unsigned int VImageDimension>
Convenience methods to get and set the index of the particular dimension i.
Definition at line 242 of file itkImageRegion.h.
◆ GetModifiableIndex()
template<unsigned int VImageDimension>
◆ GetModifiableSize()
template<unsigned int VImageDimension>
◆ GetNameOfClass()
template<unsigned int VImageDimension>
◆ GetNumberOfPixels()
template<unsigned int VImageDimension>
◆ GetRegionType()
template<unsigned int VImageDimension>
Return the region type. Images are described with structured regions.
Definition at line 132 of file itkImageRegion.h.
◆ GetSize() [1/2]
template<unsigned int VImageDimension>
Get the size of the region.
Definition at line 209 of file itkImageRegion.h.
Referenced by itk::ImageIORegionAdaptor< VDimension >::Convert(), itk::ImageToImageFilterDetail::ExtractImageFilterCopyRegion(), itk::testhelper::ImageRegistrationMethodImageSource< TFixedPixelType, TMovingPixelType, VDimension >::GenerateImages(), itk::ImageRegionSplitterBase::GetNumberOfSplits(), itk::ImageToImageFilterDetail::ImageToImageFilterDefaultCopyRegion(), itk::ImageToImageFilterDetail::ImageToImageFilterDefaultCopyRegion(), itk::MultiThreaderBase::ParallelizeImageRegion(), itk::MultiThreaderBase::ParallelizeImageRegionRestrictDirection(), itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformContinuousIndexToPhysicalPoint(), itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformIndexToPhysicalPoint(), itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformPhysicalPointToContinuousIndex(), and itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformPhysicalPointToIndex().
◆ GetSize() [2/2]
template<unsigned int VImageDimension>
Convenience methods to get and set the size of the particular dimension i.
Definition at line 228 of file itkImageRegion.h.
◆ GetUpperIndex()
template<unsigned int VImageDimension>
Get index defining the upper corner of the region.
◆ IsInside() [1/3]
template<unsigned int VImageDimension>
template<typename TCoordinate>
Test if a continuous index is inside the region. We take into account the fact that each voxel has its center at the integer coordinate and extends half way to the next integer coordinate, inclusive on all sides.
Definition at line 290 of file itkImageRegion.h.
◆ IsInside() [2/3]
template<unsigned int VImageDimension>
◆ IsInside() [3/3]
template<unsigned int VImageDimension>
Test if a region (the argument) is completely inside of this region. If the region that is passed as argument to this method, has a size of value zero, then it will not be considered to be inside of the current region, even its starting index is inside.
Definition at line 310 of file itkImageRegion.h.
◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION()
template<unsigned int VImageDimension>
◆ operator=()
template<unsigned int VImageDimension>
operator=. ImageRegion is a lightweight object that is not reference counted, so operator= is public.
◆ operator==()
template<unsigned int VImageDimension>
◆ PadByRadius() [1/3]
template<unsigned int VImageDimension>
◆ PadByRadius() [2/3]
template<unsigned int VImageDimension>
◆ PadByRadius() [3/3]
template<unsigned int VImageDimension>
Pad an image region by the specified radius. Region can be padded uniformly in all dimensions or can be padded by different amounts in each dimension.
◆ Print()
template<unsigned int VImageDimension>
◆ PrintSelf()
template<unsigned int VImageDimension>
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.
◆ SetIndex() [1/2]
template<unsigned int VImageDimension>
◆ SetIndex() [2/2]
template<unsigned int VImageDimension>
Convenience methods to get and set the index of the particular dimension i.
Definition at line 237 of file itkImageRegion.h.
◆ SetSize() [1/2]
template<unsigned int VImageDimension>
◆ SetSize() [2/2]
template<unsigned int VImageDimension>
Convenience methods to get and set the size of the particular dimension i.
Definition at line 223 of file itkImageRegion.h.
◆ SetUpperIndex()
template<unsigned int VImageDimension>
Modify the Size of the ImageRegion so that the provided index will be the upper corner index.
◆ ShrinkByRadius() [1/3]
template<unsigned int VImageDimension>
◆ ShrinkByRadius() [2/3]
template<unsigned int VImageDimension>
◆ ShrinkByRadius() [3/3]
template<unsigned int VImageDimension>
Shrink an image region by the specified radius. The region can be shrunk uniformly in all dimension or can be shrink by different amounts in each direction. If the shrink operation fails because the radius is too large, this method returns false.
◆ Slice()
template<unsigned int VImageDimension>
Slice a region, producing a region that is one dimension lower than the current region. Parameter "dim" specifies which dimension to remove.
◆ ImageBase< VImageDimension >
template<unsigned int VImageDimension>
◆ ImageDimension
template<unsigned int VImageDimension>
unsigned int itk::ImageRegion< VImageDimension >::ImageDimension = VImageDimension |
|
staticconstexpr |
Dimension of the image available at compile time.
Definition at line 102 of file itkImageRegion.h.
◆ m_Index
template<unsigned int VImageDimension>
◆ m_Size
template<unsigned int VImageDimension>
◆ SliceDimension
template<unsigned int VImageDimension>
Dimension one lower than the image unless the image is one dimensional in which case the SliceDimension is also one dimensional.
Definition at line 106 of file itkImageRegion.h.
The documentation for this class was generated from the following file: