Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ShapeAnalysis.hpp File Reference

#include <ImLib3D/ImageProcessor.hpp>
#include <ImLib3D/Matrix.hpp>

Include dependency graph for ShapeAnalysis.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  IP3D

Functions

template<class ImageType>
void CenterOfGravity (const ImageType &src, double &mass, Vect3Df &centerOfGravity)
template<class ImageType>
void PrincipalAxes (const ImageType &src, vector< Vect3Df > &pprincipalAxes, double *_mass=NULL, Vect3Df *_centerOfGravity=NULL)
void BoundingBox (const Mask3D &mask, RectZone3Di &bbox)


Detailed Description

Definition in file ShapeAnalysis.hpp.


Function Documentation

template<class ImageType>
void IP3D::CenterOfGravity const ImageType &  src,
double &  mass,
Vect3Df centerOfGravity
 

#&CenterOfGravity&# Computes mass, center of mass

image of weighted shape type:ImageType mass type:double center of mass type:Vect3Df ~

Definition at line 38 of file ShapeAnalysis.hpp.

References Vect3D< Value, Real >::x, Vect3D< Value, Real >::y, and Vect3D< Value, Real >::z.

template<class ImageType>
void IP3D::PrincipalAxes const ImageType &  src,
vector< Vect3Df > &  pprincipalAxes,
double *  _mass = NULL,
Vect3Df _centerOfGravity = NULL
 

#&PrincipalAxes&# Computes principal axes of weighted shape, optionally mass and center of mass,

image of weighted shape type:ImageType axes type:vector<Vect3Df> mass type:double center of mass type:Vect3Df ~

for object orientation

Definition at line 70 of file ShapeAnalysis.hpp.

References Vect3D< Value, Real >::x, Vect3D< Value, Real >::y, and Vect3D< Value, Real >::z.

void IP3D::BoundingBox const Mask3D mask,
RectZone3Di &  bbox
 

#&BoundingBox&# Finds bounding box of a mask

Source Image type:Mask3D Bounding Box type:RectZone3Di ~


Generated on Fri Jun 17 13:36:16 2005 for ImLib3D by  doxygen 1.4.2