template<unsigned int TDimension = 3, typename TPixel = unsigned char>
class itk::ImageMaskSpatialObject< TDimension, TPixel >
Implementation of an image mask as spatial object.
This class derives from the ImageSpatialObject and overloads the IsInsideInObjectSpace() method. One of the common uses of this class is to serve as Mask for the Image Registration Metrics.
- See Also
- ImageSpatialObject SpatialObject CompositeSpatialObject
- Examples:
- Examples/RegistrationITKv3/ImageRegistration12.cxx, Examples/RegistrationITKv4/ImageRegistration12.cxx, Examples/SpatialObjects/BoundingBoxFromImageMaskSpatialObject.cxx, and Examples/SpatialObjects/ImageMaskSpatialObject.cxx.
Definition at line 39 of file itkImageMaskSpatialObject.h.
|
using | BoundingBoxType = typename Superclass::BoundingBoxType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | ImagePointer = typename Superclass::ImagePointer |
|
using | ImageType = typename Superclass::ImageType |
|
using | IndexType = typename Superclass::IndexType |
|
using | InterpolatorType = typename Superclass::InterpolatorType |
|
using | PixelType = typename Superclass::PixelType |
|
using | Pointer = SmartPointer< Self > |
|
using | PointType = typename Superclass::PointType |
|
using | RegionType = typename Superclass::RegionType |
|
using | ScalarType = typename Superclass::ScalarType |
|
using | Self = ImageMaskSpatialObject< TDimension, TPixel > |
|
using | SizeType = typename Superclass::SizeType |
|
using | SliceIteratorType = itk::ImageSliceConstIteratorWithIndex< ImageType > |
|
using | Superclass = ImageSpatialObject< TDimension, TPixel > |
|
using | TransformType = typename Superclass::TransformType |
|
using | BoundingBoxType = typename Superclass::BoundingBoxType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | ContinuousIndexType = ContinuousIndex< double, TDimension > |
|
using | ImagePointer = typename ImageType::ConstPointer |
|
using | ImageType = Image< PixelType, TDimension > |
|
using | IndexType = typename ImageType::IndexType |
|
using | InterpolatorType = InterpolateImageFunction< ImageType > |
|
using | NNInterpolatorType = NearestNeighborInterpolateImageFunction< ImageType > |
|
using | PixelType = TPixel |
|
using | PointContainerPointer = typename PointContainerType::Pointer |
|
using | PointContainerType = VectorContainer< IdentifierType, PointType > |
|
using | Pointer = SmartPointer< Self > |
|
using | PointType = typename Superclass::PointType |
|
using | RegionType = typename ImageType::RegionType |
|
using | ScalarType = double |
|
using | Self = ImageSpatialObject< TDimension, TPixel > |
|
using | Superclass = SpatialObject< TDimension > |
|
using | TransformType = typename Superclass::TransformType |
|
using | BoundingBoxPointer = typename BoundingBoxType::Pointer |
|
using | BoundingBoxType = BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > |
|
using | ChildrenListPointer = ChildrenListType * |
|
using | ChildrenListType = std::list< Pointer > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | CovariantVectorType = CovariantVector< ScalarType, VDimension > |
|
using | DerivativeOffsetType = Vector< double, VDimension > |
|
using | DerivativeVectorPointer = DerivativeVectorType * |
|
using | DerivativeVectorType = CovariantVector< ScalarType, VDimension > |
|
using | IndexType = Index< VDimension > |
|
using | InputType = Point< ScalarType, VDimension > |
|
using | ObjectDimensionType = unsigned int |
|
using | ObjectListType = std::list< Pointer > |
|
using | Pointer = SmartPointer< Self > |
|
using | PointPointer = PointType * |
|
using | PointType = Point< ScalarType, VDimension > |
|
using | PropertyType = SpatialObjectProperty |
|
using | RegionType = ImageRegion< VDimension > |
|
using | ScalarType = double |
|
using | Self = SpatialObject< VDimension > |
|
using | SizeType = Size< VDimension > |
|
using | Superclass = DataObject |
|
using | TransformConstPointer = const TransformType * |
|
using | TransformPointer = typename TransformType::Pointer |
|
using | TransformType = AffineTransform< ScalarType, VDimension > |
|
using | VectorContainerType = VectorContainer< IdentifierType, PointType > |
|
using | VectorPointer = VectorType * |
|
using | VectorType = Vector< ScalarType, VDimension > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | DataObjectIdentifierType = std::string |
|
using | DataObjectPointerArraySizeType = std::vector< Pointer >::size_type |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = DataObject |
|
using | Superclass = Object |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = Object |
|
using | Superclass = LightObject |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = LightObject |
|
|
bool | ComputeMyBoundingBox () const override |
|
virtual ::itk::LightObject::Pointer | CreateAnother () const |
|
virtual const char * | GetNameOfClass () const |
|
bool | IsInsideInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const override |
|
bool | ComputeMyBoundingBox () const override |
|
virtual ::itk::LightObject::Pointer | CreateAnother () const |
|
const ImageType * | GetImage () const |
|
ModifiedTimeType | GetMTime () const override |
|
const char * | GetPixelTypeName () |
|
bool | IsInsideInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const override |
|
void | SetImage (const ImageType *image) |
|
bool | ValueAtInObjectSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const override |
|
virtual void | SetSliceNumber (IndexType _arg) |
|
void | SetSliceNumber (unsigned int dimension, int position) |
|
virtual IndexType | GetSliceNumber () const |
|
int | GetSliceNumber (unsigned int dimension) |
|
void | SetInterpolator (InterpolatorType *interpolator) |
|
virtual InterpolatorType * | GetInterpolator () const |
|
void | AddChild (Self *pointer) |
|
virtual void | AddChildrenToList (ChildrenListType *children, unsigned int depth=0, const std::string &name="") const |
|
bool | CheckIdValidity () const |
|
virtual bool | ComputeFamilyBoundingBox (unsigned int depth=0, const std::string &name="") const |
|
void | ComputeObjectToParentTransform () |
|
void | ComputeObjectToWorldTransform () |
|
void | CopyInformation (const DataObject *data) override |
|
virtual ::itk::LightObject::Pointer | CreateAnother () const |
|
virtual void | DerivativeAtInObjectSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &spacing=1) |
|
virtual void | DerivativeAtInWorldSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &spacing=1) |
|
bool | Evaluate (const PointType &point) const |
|
void | FixIdValidity () |
|
bool | FixParentChildHierarchyUsingParentIds () |
|
virtual const RegionType & | GetBufferedRegion () const |
|
virtual ChildrenListType * | GetChildren (unsigned int depth=0, const std::string &name="") const |
|
virtual std::string | GetClassNameAndDimension (void) const |
|
virtual const BoundingBoxType * | GetFamilyBoundingBoxInObjectSpace () const |
|
virtual const BoundingBoxType * | GetFamilyBoundingBoxInWorldSpace () const |
|
virtual const RegionType & | GetLargestPossibleRegion () const |
|
unsigned int | GetMaximumDepth () const |
|
ModifiedTimeType | GetMTime () const override |
|
virtual const BoundingBoxType * | GetMyBoundingBoxInObjectSpace () const |
|
virtual const BoundingBoxType * | GetMyBoundingBoxInWorldSpace () const |
|
ModifiedTimeType | GetMyMTime () const |
|
int | GetNextAvailableId () const |
|
unsigned int | GetNumberOfChildren (unsigned int depth=0, const std::string &name="") const |
|
SpatialObject< VDimension > * | GetObjectById (int Id) |
|
unsigned int | GetObjectDimension () const |
|
virtual const Self * | GetParent () const |
|
virtual Self * | GetParent () |
|
const PropertyType & | GetProperty () const |
|
PropertyType & | GetProperty () |
|
virtual const RegionType & | GetRequestedRegion () const |
|
virtual const std::string | GetTypeName () const |
|
virtual bool | HasParent () const |
|
virtual bool | IsEvaluableAtChildrenInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const |
|
virtual bool | IsEvaluableAtInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const |
|
virtual bool | IsEvaluableAtInWorldSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const |
|
virtual bool | IsInsideChildrenInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const |
|
virtual bool | IsInsideInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const |
|
virtual bool | IsInsideInWorldSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const |
|
void | RemoveAllChildren (unsigned int depth=MaximumDepth) |
|
bool | RemoveChild (Self *object) |
|
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
|
virtual void | SetBufferedRegion (const RegionType ®ion) |
|
void | SetChildren (ChildrenListType &children) |
|
virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
|
void | SetParent (Self *parent) |
|
void | SetProperty (const PropertyType &property) |
|
virtual void | SetRequestedRegion (const RegionType ®ion) |
|
void | SetRequestedRegion (const DataObject *data) override |
|
void | SetRequestedRegionToLargestPossibleRegion () override |
|
virtual void | SetTypeName (std::string _arg) |
|
void | Update () override |
|
void | UpdateOutputInformation () override |
|
virtual bool | ValueAtChildrenInObjectSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const |
|
virtual bool | ValueAtInObjectSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const |
|
virtual bool | ValueAtInWorldSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const |
|
bool | VerifyRequestedRegion () override |
|
void | SetId (int id) |
|
virtual const int & | GetId () const |
|
void | SetObjectToWorldTransform (const TransformType *transform) |
|
virtual TransformType * | GetModifiableObjectToWorldTransform () |
|
virtual const TransformType * | GetObjectToWorldTransform () const |
|
const TransformType * | GetObjectToWorldTransformInverse () const |
|
void | SetObjectToParentTransform (const TransformType *transform) |
|
virtual TransformType * | GetModifiableObjectToParentTransform () |
|
virtual const TransformType * | GetObjectToParentTransform () const |
|
const TransformType * | GetObjectToParentTransformInverse () const |
|
virtual void | SetDefaultInsideValue (double _arg) |
|
virtual double | GetDefaultInsideValue () const |
|
virtual void | SetDefaultOutsideValue (double _arg) |
|
virtual double | GetDefaultOutsideValue () const |
|
virtual void | SetParentId (int _arg) |
|
virtual const int & | GetParentId () const |
|
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 | Graft (const DataObject *) |
|
virtual void | Initialize () |
|
virtual void | PrepareForNewData () |
|
virtual void | PropagateRequestedRegion () |
|
void | ReleaseData () |
|
virtual void | ReleaseDataFlagOff () |
|
virtual void | ReleaseDataFlagOn () |
|
virtual void | ResetPipeline () |
|
void | SetReleaseDataFlag (bool flag) |
|
bool | ShouldIReleaseData () const |
|
virtual void | UpdateOutputData () |
|
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 |
|
virtual void | Modified () 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 |
|