|
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 | 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 | Pointer = SmartPointer< Self > |
|
using | PointType = typename Superclass::PointType |
|
using | ScalarType = double |
|
using | Self = ImageSpatialObject< TDimension, TPixel > |
|
using | Superclass = SpatialObject< TDimension > |
|
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 |
|
|
RegionType | ComputeMyBoundingBoxInIndexSpace () const |
|
virtual ::itk::LightObject::Pointer | CreateAnother () const |
|
virtual const char * | GetNameOfClass () const |
|
bool | IsInsideInObjectSpace (const PointType &point) const override |
|
void | Clear () override |
|
virtual ::itk::LightObject::Pointer | CreateAnother () const |
|
const ImageType * | GetImage () const |
|
ModifiedTimeType | GetMTime () const override |
|
bool | IsInsideInObjectSpace (const PointType &point) 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 |
|
virtual ::itk::LightObject::Pointer | CreateAnother () const |
|
unsigned int | GetMaximumDepth () const |
|
unsigned int | GetObjectDimension () const |
|
void | SetId (int id) |
|
virtual const int & | GetId () const |
|
virtual void | SetTypeName (std::string _arg) |
|
virtual const std::string | GetTypeName () const |
|
virtual std::string | GetClassNameAndDimension () const |
|
void | SetProperty (const PropertyType &property) |
|
const PropertyType & | GetProperty () const |
|
PropertyType & | GetProperty () |
|
ModifiedTimeType | GetMTime () const override |
|
ModifiedTimeType | GetMyMTime () 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 |
|
void | ComputeObjectToParentTransform () |
|
bool | IsInsideInObjectSpace (const PointType &point, unsigned int depth, const std::string &name="") const |
|
virtual bool | IsInsideInObjectSpace (const PointType &point) const |
|
void | Update () override |
|
virtual bool | ValueAtInObjectSpace (const PointType &point, double &value, 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 | IsInsideChildrenInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const |
|
virtual bool | ValueAtChildrenInObjectSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const |
|
virtual bool | IsEvaluableAtChildrenInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const |
|
virtual void | SetDefaultInsideValue (double _arg) |
|
virtual double | GetDefaultInsideValue () const |
|
virtual void | SetDefaultOutsideValue (double _arg) |
|
virtual double | GetDefaultOutsideValue () const |
|
virtual bool | ValueAtInWorldSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const |
|
virtual bool | IsInsideInWorldSpace (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 void | DerivativeAtInObjectSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &offset=1) |
|
virtual void | DerivativeAtInWorldSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &offset=1) |
|
void | SetParent (Self *parent) |
|
virtual bool | HasParent () const |
|
virtual const Self * | GetParent () const |
|
virtual Self * | GetParent () |
|
virtual void | SetParentId (int _arg) |
|
virtual const int & | GetParentId () const |
|
void | SetChildren (ChildrenListType &children) |
|
void | AddChild (Self *pointer) |
|
bool | RemoveChild (Self *pointer) |
|
void | RemoveAllChildren (unsigned int depth=MaximumDepth) |
|
virtual ChildrenListType * | GetChildren (unsigned int depth=0, const std::string &name="") const |
|
virtual void | AddChildrenToList (ChildrenListType *childrenList, unsigned int depth=0, const std::string &name="") const |
|
unsigned int | GetNumberOfChildren (unsigned int depth=0, const std::string &name="") const |
|
SpatialObject< VDimension > * | GetObjectById (int id) |
|
bool | FixParentChildHierarchyUsingParentIds () |
|
bool | CheckIdValidity () const |
|
void | FixIdValidity () |
|
int | GetNextAvailableId () const |
|
virtual const BoundingBoxType * | GetMyBoundingBoxInObjectSpace () const |
|
virtual const BoundingBoxType * | GetMyBoundingBoxInWorldSpace () const |
|
virtual bool | ComputeFamilyBoundingBox (unsigned int depth=0, const std::string &name="") const |
|
virtual const BoundingBoxType * | GetFamilyBoundingBoxInObjectSpace () const |
|
virtual const BoundingBoxType * | GetFamilyBoundingBoxInWorldSpace () const |
|
virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
|
virtual const RegionType & | GetLargestPossibleRegion () const |
|
virtual void | SetBufferedRegion (const RegionType ®ion) |
|
virtual const RegionType & | GetBufferedRegion () const |
|
virtual void | SetRequestedRegion (const RegionType ®ion) |
|
void | SetRequestedRegion (const DataObject *data) override |
|
virtual const RegionType & | GetRequestedRegion () const |
|
void | SetRequestedRegionToLargestPossibleRegion () override |
|
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
|
bool | VerifyRequestedRegion () override |
|
void | UpdateOutputInformation () override |
|
void | CopyInformation (const DataObject *data) override |
|
bool | Evaluate (const PointType &point) const |
|
void | DisconnectPipeline () |
|
bool | GetDataReleased () const |
|
virtual const bool & | GetReleaseDataFlag () const |
|
SmartPointer< ProcessObject > | GetSource () const |
|
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
|
const DataObjectIdentifierType & | GetSourceOutputName () const |
|
virtual void | Initialize () |
|
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 ModifiedTimeType | GetUpdateMTime () const |
|
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
|
virtual const RealTimeStamp & | GetRealTimeStamp () const |
|
virtual void | PrepareForNewData () |
|
virtual void | DataHasBeenGenerated () |
|
virtual void | Graft (const DataObject *) |
|
unsigned long | AddObserver (const EventObject &event, Command *) |
|
unsigned long | AddObserver (const EventObject &event, Command *) const |
|
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) 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 noexcept override |
|
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
|
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
|
virtual void | SetObjectName (std::string _arg) |
|
virtual const std::string & | GetObjectName () const |
|
Pointer | Clone () const |
|
virtual void | Delete () |
|
virtual int | GetReferenceCount () const |
|
void | Print (std::ostream &os, Indent indent=0) const |
|
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.
- Note
- The bounding box of an image mask is defined in such a way that any point whose nearest pixel has a non-zero value is inside the bounding box. When all the pixels of an image are zero, the bounding box of the image mask is empty, and its bounds are all zero.
- See also
- ImageSpatialObject SpatialObject CompositeSpatialObject
- Examples
- Examples/RegistrationITKv4/ImageRegistration12.cxx, Examples/SpatialObjects/BoundingBoxFromImageMaskSpatialObject.cxx, and Examples/SpatialObjects/ImageMaskSpatialObject.cxx.
Definition at line 45 of file itkImageMaskSpatialObject.h.