![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkImageMaskSpatialObject2.h>
Implementation of an image mask as spatial object.
This class fixes a bug in the ITK. The ITK has implemented the ImageSpatialObject with a wrong conversion between physical coordinates and image coordinates. This class solves that.
Definition at line 56 of file itkImageMaskSpatialObject2.h.
Public Types | |
typedef Superclass::BoundingBoxType | BoundingBoxType |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::ImagePointer | ImagePointer |
typedef Superclass::ImageType | ImageType |
typedef Superclass::IndexType | IndexType |
typedef Superclass::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::PointType | PointType |
typedef Superclass::RegionType | RegionType |
typedef Superclass::ScalarType | ScalarType |
typedef ImageMaskSpatialObject2< TDimension > | Self |
typedef Superclass::SizeType | SizeType |
typedef itk::ImageSliceConstIteratorWithIndex< ImageType > | SliceIteratorType |
typedef ImageSpatialObject2< TDimension > | Superclass |
typedef Superclass::TransformType | TransformType |
![]() | |
typedef Superclass::BoundingBoxType | BoundingBoxType |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageType::ConstPointer | ImagePointer |
typedef Image< PixelType, TDimension > | ImageType |
typedef ImageType::IndexType | IndexType |
typedef InterpolateImageFunction< ImageType > | InterpolatorType |
typedef NearestNeighborInterpolateImageFunction< ImageType > | NNInterpolatorType |
typedef unsigned char | PixelType |
typedef PointContainerType::Pointer | PointContainerPointer |
typedef VectorContainer< unsigned long, PointType > | PointContainerType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::PointType | PointType |
typedef ImageType::RegionType | RegionType |
typedef double | ScalarType |
typedef ImageSpatialObject2< TDimension, unsigned char > | Self |
typedef ImageType::SizeType | SizeType |
typedef SpatialObject< TDimension > | Superclass |
typedef Superclass::TransformType | TransformType |
Public Member Functions | |
bool | ComputeLocalBoundingBox () const |
void | ComputeLocalBoundingBoxIndexAndSize (IndexType &index, SizeType &size) const |
RegionType | GetAxisAlignedBoundingBoxRegion () const |
virtual const char * | GetClassName () const |
bool | IsInside (const PointType &point, unsigned int depth, char *name) const |
virtual bool | IsInside (const PointType &point) const |
![]() | |
bool | ComputeLocalBoundingBox () const |
const ImageType * | GetImage (void) const |
virtual InterpolatorType * | GetInterpolator () |
unsigned long | GetMTime (void) const |
const char * | GetPixelType () |
int | GetSlicePosition (unsigned int dimension) |
bool | IsEvaluableAt (const PointType &point, unsigned int depth=0, char *name=NULL) const |
bool | IsInside (const PointType &point, unsigned int depth, char *name) const |
bool | IsInside (const PointType &point) const |
void | SetImage (const ImageType *image) |
void | SetInterpolator (InterpolatorType *interpolator) |
void | SetSlicePosition (unsigned int dimension, int position) |
bool | ValueAt (const PointType &point, double &value, unsigned int depth=0, char *name=NULL) const |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
Protected Member Functions | |
ImageMaskSpatialObject2 (const Self &) | |
ImageMaskSpatialObject2 () | |
void | operator= (const Self &) |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ImageMaskSpatialObject2 () |
![]() | |
ImageSpatialObject2 (const Self &) | |
ImageSpatialObject2 () | |
void | operator= (const Self &) |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ImageSpatialObject2 () |
Additional Inherited Members | |
![]() | |
ImagePointer | m_Image |
InterpolatorType::Pointer | m_Interpolator |
std::string | m_PixelType |
int * | m_SlicePosition |
typedef Superclass::BoundingBoxType itk::ImageMaskSpatialObject2< TDimension >::BoundingBoxType |
Definition at line 76 of file itkImageMaskSpatialObject2.h.
typedef SmartPointer< const Self > itk::ImageMaskSpatialObject2< TDimension >::ConstPointer |
Definition at line 65 of file itkImageMaskSpatialObject2.h.
typedef Superclass::ImagePointer itk::ImageMaskSpatialObject2< TDimension >::ImagePointer |
Definition at line 70 of file itkImageMaskSpatialObject2.h.
typedef Superclass::ImageType itk::ImageMaskSpatialObject2< TDimension >::ImageType |
Definition at line 69 of file itkImageMaskSpatialObject2.h.
typedef Superclass::IndexType itk::ImageMaskSpatialObject2< TDimension >::IndexType |
Definition at line 71 of file itkImageMaskSpatialObject2.h.
typedef Superclass::PixelType itk::ImageMaskSpatialObject2< TDimension >::PixelType |
Definition at line 68 of file itkImageMaskSpatialObject2.h.
typedef SmartPointer< Self > itk::ImageMaskSpatialObject2< TDimension >::Pointer |
Definition at line 64 of file itkImageMaskSpatialObject2.h.
typedef Superclass::PointType itk::ImageMaskSpatialObject2< TDimension >::PointType |
Definition at line 75 of file itkImageMaskSpatialObject2.h.
typedef Superclass::RegionType itk::ImageMaskSpatialObject2< TDimension >::RegionType |
Definition at line 73 of file itkImageMaskSpatialObject2.h.
typedef Superclass::ScalarType itk::ImageMaskSpatialObject2< TDimension >::ScalarType |
Definition at line 67 of file itkImageMaskSpatialObject2.h.
typedef ImageMaskSpatialObject2< TDimension > itk::ImageMaskSpatialObject2< TDimension >::Self |
Definition at line 62 of file itkImageMaskSpatialObject2.h.
typedef Superclass::SizeType itk::ImageMaskSpatialObject2< TDimension >::SizeType |
Definition at line 72 of file itkImageMaskSpatialObject2.h.
typedef itk::ImageSliceConstIteratorWithIndex< ImageType > itk::ImageMaskSpatialObject2< TDimension >::SliceIteratorType |
Definition at line 79 of file itkImageMaskSpatialObject2.h.
typedef ImageSpatialObject2< TDimension > itk::ImageMaskSpatialObject2< TDimension >::Superclass |
Definition at line 63 of file itkImageMaskSpatialObject2.h.
typedef Superclass::TransformType itk::ImageMaskSpatialObject2< TDimension >::TransformType |
Definition at line 74 of file itkImageMaskSpatialObject2.h.
|
protected |
|
protected |
|
protectedvirtual |
bool itk::ImageMaskSpatialObject2< TDimension >::ComputeLocalBoundingBox | ( | ) | const |
Compute the boundaries of the image mask spatial object.
void itk::ImageMaskSpatialObject2< TDimension >::ComputeLocalBoundingBoxIndexAndSize | ( | IndexType & | index, |
SizeType & | size | ||
) | const |
Helper function for GetAxisAlignedBoundingBoxRegion() and ComputeLocalBoundingBox().
RegionType itk::ImageMaskSpatialObject2< TDimension >::GetAxisAlignedBoundingBoxRegion | ( | ) | const |
Compute axis aligned bounding box from the image mask. The bounding box is returned as an image region. Each call to this function will recompute the region. This function is useful in cases, where you may have a mask image resulting from say a segmentation and you want to get the smallest box region that encapsulates the mask image. Currently this is done only for 3D volumes.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageSpatialObject2< TDimension, unsigned char >.
bool itk::ImageMaskSpatialObject2< TDimension >::IsInside | ( | const PointType & | point, |
unsigned int | depth, | ||
char * | name | ||
) | const |
Returns true if the point is inside, false otherwise.
|
virtual |
Test whether a point is inside or outside the object For computational speed purposes, it is faster if the method does not check the name of the class and the current depth
|
static |
Method for creation through the object factory.
|
protected |
|
protected |
Generated on 07-03-2016 for elastix by ![]() |
![]() |