Edge1D
Description
Represents edges found by 1D Edge Detection functions.Structure fields and default values (if defined) are described below:
- Point2D Point
- Real Magnitude
- EdgeTransition Transition = Any
struct Edge1D { Point2D Point; Real Magnitude; EdgeTransition Transition; explicit Edge1D ( EdgeTransition Transition_ = Any ) : Transition(Transition_) {} Point2D Point() const { return Point; }; Real Magnitude() const { return Magnitude; }; EdgeTransition Transition() const { return Transition; }; bool operator == ( const avl::Edge1D& rhs ) const { return Point == rhs.Point && Magnitude == rhs.Magnitude && Transition == rhs.Transition; } bool operator != ( const avl::Edge1D& rhs ) const { return !(operator==(rhs)); } };