43 RegionPCAInfo(
float len1=0,
float len2=0,
float arc1=0,
int cx=0,
int cy=0):
44 len1(len1),len2(len2),arc1(arc1),arc2(arc1+M_PI/2),cx(cx),cy(cy){}
undocument this line if you encounter any issues!
Definition: Any.h:37
#define ICLCV_API
Definition: CompatMacros.h:177
float len1
length of first major axis
Definition: RegionPCAInfo.h:47
float len2
length of second major axis
Definition: RegionPCAInfo.h:49
float arc1
angle of the first major axis
Definition: RegionPCAInfo.h:51
int cy
y center of the region
Definition: RegionPCAInfo.h:57
RegionPCAInfo(float len1=0, float len2=0, float arc1=0, int cx=0, int cy=0)
Default Constructor.
Definition: RegionPCAInfo.h:43
int cx
x center of the region
Definition: RegionPCAInfo.h:55
float arc2
angle of the second major axis (arc1+PI/2)
Definition: RegionPCAInfo.h:53
data-struct to represent local PCA information
Definition: RegionPCAInfo.h:39