15 #ifndef __IPSDKGEOMETRY_SKELETON2DMSRUTILS_H__ 16 #define __IPSDKGEOMETRY_SKELETON2DMSRUTILS_H__ 20 #include <IPSDKSerialization/Archive/BaseIArchive.h> 21 #include <IPSDKSerialization/Archive/BaseOArchive.h> 25 class GeometricCalibration;
105 removeCalibration(
const Skeleton2d& skelIn,
const GeometricCalibration& geomCalib);
120 operator>> (BaseIArchive& ar,
const SerializationIItem<ipsdk::geom::BranchThicknessInfo>& item);
122 operator<< (BaseOArchive& ar, const SerializationOItem<ipsdk::geom::BranchThicknessInfo>& item);
127 #endif // __IPSDKGEOMETRY_SKELETON2DMSRUTILS_H__ IPSDKGEOMETRY_API ipReal64 computeMeanCurvature(const Skeleton2d &skeleton, const UInt64Vector &pathIdxColl)
function allowing to compute mean curvature of a path through skeleton vertices
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKGEOMETRY_API void computeEdgeLength(const Skeleton2d &skeleton, const eSkeletonEdgeCategory &skeletonEdgeCategory, Real64Vector &edgeLengthColl)
fonction allowing to compute full skeleton length
IPSDKGEOMETRY_API ipUInt64 countVertices(const Skeleton2d &skeleton, const eSkeletonVertexCategory &skeletonVertexCategory)
fonction allowing to count number of skeleton vertices associated to a given vertex category ...
IPSDKGEOMETRY_API Skeleton2dPtr removeCalibration(const Skeleton2d &skelIn, const GeometricCalibration &geomCalib)
function allowing to remove the calibration from a skeleton to correctly apply other calculation (Dia...
std::vector< ipReal64 > Real64Vector
stl vector collections
Definition: BaseCollections.h:37
IPSDKGEOMETRY_API void extractVertices(const Skeleton2d &skeleton, const eSkeletonVertexCategory &skeletonVertexCategory, UInt64Vector &verticesIdxColl)
fonction allowing to retrieve subset of skeleton vertices associated to a given vertex category (outp...
IPSDKGEOMETRY_API ipReal64 computeLength(const Skeleton2d &skeleton, const eSkeletonEdgeCategory &skeletonEdgeCategory=eSkeletonEdgeCategory::eSEC_Branch)
fonction allowing to compute full skeleton length (including only a given category of edges) ...
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
eSkeletonEdgeCategory
Enumerate describing skeleton edge type.
Definition: Skeleton2dTypes.h:60
IPSDKGEOMETRY_API void computeBranchThickness(const Skeleton2d &skeleton, BranchThicknessColl &branchThicknessColl)
fonction allowing to compute skeleton branch thickness
std::vector< ipUInt64 > UInt64Vector
stl vector collections
Definition: BaseCollections.h:35
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
std::vector< BranchThicknessInfo > BranchThicknessColl
collection of branch thickness informations
Definition: Skeleton2dMsrTypes.h:50
Predefined types for skeleton 2d measurement management.
eSkeletonVertexCategory
Enumerate describing skeleton vertex type.
Definition: Skeleton2dTypes.h:42
boost::shared_ptr< Skeleton2d > Skeleton2dPtr
shared pointer to Skeleton2d
Definition: Skeleton2dTypes.h:92
Definition of import/export macro for library.
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
IPSDKGEOMETRY_API Skeleton2dPtr restoreCalibration(const Skeleton2d &skelIn, const GeometricCalibration &geomCalib)
function allowing to restore the calibration from a skeleton after applying other calculation (Diamet...
IPSDKGEOMETRY_API ipReal64 extractDiameter(const Skeleton2d &skeleton, UInt64Vector &pathIdxColl)
fonction allowing to compute skeleton diameter and its associated longest shortest path ...
IPSDKBASESHAPEANALYSIS_API ipsdk::BaseIArchive & operator>>(ipsdk::BaseIArchive &ar, const ipsdk::SerializationIItem< ipsdk::shape::analysis::MeasureId > &item)
serialization of ipsdk::shape::analysis::MeasureId structure
IPSDKGEOMETRY_API ipReal64 computeTortuosity(const Skeleton2d &skeleton, const UInt64Vector &pathIdxColl)
function allowing to compute tortuosity of a path through skeleton vertices
branch edge (edge not connected to a polygon point)
Definition: Skeleton2dTypes.h:64