Download HALCON Programmer`s Guide
Transcript
12.1 Iconic Objects 89 • HRegion operator + (const HRegion ®) const HRegion &operator += (const HRegion ®) Minkowsky addition of the region with another region, see reference manual entry of minkowski_add1. • HRegion operator - (const HRegion ®) const HRegion &operator -= (const HRegion ®) Minkowsky subtraction of the region with another region, see reference manual entry of minkowski_sub1. • HRegion &operator -- (void) Erosion of the region with a cross containing five points. • HRegion operator ! (void) const Transpose the region at the origin, see reference manual entry of transpose_region. • HRegion operator & (const HRegion ®) const HRegion &operator &= (const HRegion ®) Intersection of the region with another region, see reference manual entry of intersection. • HRegion operator | (const HRegion ®) const HRegion &operator |= (const HRegion ®) Union of the region with another region, see reference manual entry of union2. • HRegion operator / (const HRegion ®) const HRegion &operator /= (const HRegion ®) Subtract another region from the region, see reference manual entry of difference. • HBool operator == (const HRegion ®) const Boolean test if two regions are identical, see reference manual entry of test_equal_region. • HBool operator >= (const HRegion ®) const HBool operator > (const HRegion ®) const HBool operator <= (const HRegion ®) const HBool operator < (const HRegion ®) const Boolean test if another region is included in the region by using the subset of the corresponding coordinates. • double Phi(void) const Orientation of the region by using the angle of the equivalent ellipse, see reference manual entry of elliptic_axis. • double Ra(void) const Length of the major axis of the equivalent ellipse of the region, see reference manual entry of elliptic_axis. • double Rb(void) const Length of the minor axis of the equivalent ellipse of the region, see reference manual entry of elliptic_axis. C++ (legacy) • HRegion operator ~ (void) const Complement of the region, see reference manual entry of complement.