template<unsigned int TDimension = 3>
class itk::GaussianSpatialObject< TDimension >
Represents a multivariate Gaussian function.
The Gaussian function G(x) is given by
\[ G(\vec{x}) = m e^{-\|\S^{-1} \vec{x}\|^2 / 2}, \]
where m is a scaling factor set by SetMaximum(), and \(\S\) is the (invertible) matrix associated to the IndexToObjectTransform of the object multiplied by the Sigma parameter. If \(\S\) is symmetric and positive definite, and m is chosen so that the integral of G(x) is 1, then G will denote a normal distribution with mean 0 and covariance matrix \(\S \times Sigma\).
- Examples
- Examples/Filtering/SpatialObjectToImage2.cxx, and Examples/SpatialObjects/GaussianSpatialObject.cxx.
Definition at line 44 of file itkGaussianSpatialObject.h.
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | ScalarType = double |
|
using | Self = GaussianSpatialObject |
|
using | Superclass = SpatialObject< TDimension > |
|
using | SuperclassPointer = SmartPointer< Superclass > |
|
using | BoundingBoxPointer = typename BoundingBoxType::Pointer |
|
using | BoundingBoxType = BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > |
|
using | ChildrenConstListPointer = ChildrenConstListType * |
|
using | ChildrenConstListType = std::list< ConstPointer > |
|
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 | ObjectConstListType = std::list< ConstPointer > |
|
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< 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 |
|
|
void | Clear () override |
|
virtual const PointType & | GetCenterInObjectSpace () const |
|
EllipseSpatialObject< TDimension >::Pointer | GetEllipsoid () const |
|
const char * | GetNameOfClass () const override |
|
bool | IsInsideInObjectSpace (const PointType &point) const override |
|
virtual void | SetCenterInObjectSpace (PointType _arg) |
|
ScalarType | SquaredZScoreInObjectSpace (const PointType &point) const |
|
ScalarType | SquaredZScoreInWorldSpace (const PointType &point) const |
|
bool | ValueAtInObjectSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const override |
|
|
virtual void | SetRadiusInObjectSpace (ScalarType _arg) |
|
virtual const ScalarType & | GetRadiusInObjectSpace () const |
|
|
virtual void | SetSigmaInObjectSpace (ScalarType _arg) |
|
virtual const ScalarType & | GetSigmaInObjectSpace () const |
|
|
virtual void | SetMaximum (ScalarType _arg) |
|
virtual const ScalarType & | GetMaximum () const |
|
void | AddChild (Self *pointer) |
|
virtual void | AddChildrenToConstList (ChildrenConstListType *childrenCList, unsigned int depth=0, const std::string &name="") const |
|
virtual void | AddChildrenToList (ChildrenListType *childrenList, 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 | CopyInformation (const DataObject *data) override |
|
virtual void | DerivativeAtInObjectSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &offset=MakeFilled< DerivativeOffsetType >(1)) |
|
void | DerivativeAtInWorldSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &offset=MakeFilled< DerivativeOffsetType >(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 () const |
|
virtual ChildrenConstListType * | GetConstChildren (unsigned int depth=0, const std::string &name="") 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 |
|
const char * | GetNameOfClass () const override |
|
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 Self * | GetParent () |
|
virtual const Self * | GetParent () const |
|
PropertyType & | GetProperty () |
|
const PropertyType & | GetProperty () const |
|
virtual const RegionType & | GetRequestedRegion () const |
|
virtual 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 |
|
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) const |
|
bool | IsInsideInObjectSpace (const PointType &point, unsigned int depth, const std::string &name="") const |
|
bool | IsInsideInWorldSpace (const PointType &point) const |
|
bool | IsInsideInWorldSpace (const PointType &point, unsigned int depth, const std::string &name="") const |
|
void | RemoveAllChildren (unsigned int depth=MaximumDepth) |
|
bool | RemoveChild (Self *pointer) |
|
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
|
virtual void | SetBufferedRegion (const RegionType ®ion) |
|
void | SetChildren (ChildrenListType &children) |
|
virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
|
void | SetParent (Self *parent) |
|
void | SetRequestedRegion (const DataObject *data) override |
|
virtual void | SetRequestedRegion (const RegionType ®ion) |
|
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 |
|
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 | SetProperty (const PropertyType &property) |
|
void | SetObjectToWorldTransform (const TransformType *transform) |
|
virtual TransformType * | GetModifiableObjectToWorldTransform () |
|
const TransformType * | GetObjectToWorldTransformInverse () const |
|
void | SetObjectToParentTransform (const TransformType *transform) |
|
virtual TransformType * | GetModifiableObjectToParentTransform () |
|
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 | ReleaseDataFlagOn () |
|
virtual void | ResetPipeline () |
|
void | SetReleaseDataFlag (bool flag) |
|
bool | ShouldIReleaseData () const |
|
virtual void | UpdateOutputData () |
|
void | UpdateSource () const |
|
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 *cmd) const |
|
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
|
LightObject::Pointer | CreateAnother () const override |
|
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) const |
|
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 |
|