line segment class (e.g. used for run-length coding)
More...
#include <LineSegment.h>
|
int | x |
| first pixel of this line segment More...
|
|
int | y |
| y position in the image of this line segment More...
|
|
int | xend |
| first pixel AFTER this line segment More...
|
|
line segment class (e.g. used for run-length coding)
A line segment represents a set of successive pixels in one image line that have the same value. Note: the LineSegment's xend location is the first pixel after the LineSegment, that does not have the same value
◆ LineSegment() [1/2]
icl::cv::LineSegment::LineSegment |
( |
| ) |
|
|
inline |
creates an empty uninitialized line segment
◆ LineSegment() [2/2]
icl::cv::LineSegment::LineSegment |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
xend |
|
) |
| |
|
inline |
creates a line segment with given parameters
◆ len()
int icl::cv::LineSegment::len |
( |
| ) |
const |
|
inline |
computes the line segments length (xend-x)
int icl::cv::LineSegment::x |
first pixel of this line segment
◆ xend
int icl::cv::LineSegment::xend |
first pixel AFTER this line segment
int icl::cv::LineSegment::y |
y position in the image of this line segment
The documentation for this struct was generated from the following file: