IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
HuMomentsUtils.h File Reference

Utility functions for Hu moments based shape matching. More...

#include <IPSDKGeometry/IPSDKGeometryExports.h>
#include <IPSDKGeometry/Measure/2d/Moments/HuMomentsTypes.h>
#include <IPSDKGeometry/Measure/2d/HuMomentsMsr2d.h>
#include <IPSDKGeometry/Entity/2d/Shape/Shape2dTypes.h>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::geom
 Namespace aggregating geometrical routines and classes.
 

Functions

IPSDKGEOMETRY_API ipsdk::ipReal64 ipsdk::geom::shapeHuDistance (const ipsdk::geom::HuMoments2dO3 &huMoments1, const ipsdk::geom::HuMoments2dO3 &huMoments2, const eShapeHuDistanceType &distanceType)
 fonction computing the distance between two shapes More the distance has a low value, more the shapes are similar More...
 
IPSDKGEOMETRY_API ipsdk::ipReal64 ipsdk::geom::shapeHuDistance (const Shape2d &shape1, const Shape2d &shape2, const eShapeHuDistanceType &distanceType, const ipsdk::ipBool bProcessHoles)
 
IPSDKGEOMETRY_API MatchShapeInfo ipsdk::geom::matchShape (const Shape2dPtr shape, const std::vector< Shape2dPtr > &vShape2dColl, const eShapeHuDistanceType &distanceType, const ipsdk::ipBool bProcessHoles)
 fonction matching a shape with another shape contained in the collection vShape2dColl Returns the index of the shape in vShape2dColl giving the minimum distance and the minimum distance
 
IPSDKGEOMETRY_API ipsdk::ipUInt32 ipsdk::geom::matchShape (const Shape2dPtr shape, const std::vector< Shape2dPtr > &vShape2dColl, const eShapeHuDistanceType &distanceType, const ipsdk::ipBool bProcessHoles, const ipsdk::ipReal64 threshold)
 fonction matching a shape with another shpae contained in the collection vShape2dColl Returns the index of the shape in vShape2dColl giving the minimum distance If the minimum distance is greater than the threshold, the resulting index equals the size of vShape2dColl
 
IPSDKGEOMETRY_API MatchShapesInfo ipsdk::geom::matchShapes (const Shape2dPtr shape, const std::vector< Shape2dPtr > &vShape2dColl, const eShapeHuDistanceType &distanceType, const ipsdk::ipBool bProcessHoles)
 fonction computing the distances between a shape and all shapes in the collection vShape2dColl
 
IPSDKGEOMETRY_API void ipsdk::geom::matchShapes (const Shape2dPtr shape, const std::vector< Shape2dPtr > &vShape2dColl, const eShapeHuDistanceType &distanceType, const ipsdk::ipBool bProcessHoles, UInt32Vector &vIdx, Real64Vector &vDistances)
 
IPSDKGEOMETRY_API UInt32Vector ipsdk::geom::matchShapes (const Shape2dPtr shape, const std::vector< Shape2dPtr > &vShape2dColl, const eShapeHuDistanceType &distanceType, const ipsdk::ipBool bProcessHoles, const ipsdk::ipReal64 threshold)
 fonction computing the distances between a shape and all shapes in the collection vShape2dColl Returns the indices of the shapes in vShape2dColl for which the distance is lower than the threhsold More...
 
IPSDKGEOMETRY_API void ipsdk::geom::matchShapes (const Shape2dPtr shape, const std::vector< Shape2dPtr > &vShape2dColl, const eShapeHuDistanceType &distanceType, const ipsdk::ipBool bProcessHoles, const ipsdk::ipReal64 threshold, UInt32Vector &vIdx)
 

Detailed Description

Utility functions for Hu moments based shape matching.

Author
R. Abbal
Date
2017/05/04