//endPoints, the coordinate origin is the top-left corner of the octave image.
floatsPointInOctaveX;
floatsPointInOctaveY;
floatePointInOctaveX;
floatePointInOctaveY;
//direction of a line, the angle between positive line direction (dark side is in the left) and positive X axis.
floatdirection;
//the summation of gradient magnitudes of pixels on lines
floatsalience;
//the length of line
floatlineLength;
//number of pixels
unsignedintnumOfPixels;
//the octave which this line is detected
unsignedintoctaveCount;
//the decriptor of line
std::vector<float>descriptor;
};
// Specifies a vector of lines.
typedefstd::vector<OctaveSingleLine>LinesVec;
typedefstd::vector<LinesVec>ScaleLines;//each element in ScaleLines is a vector of lines which corresponds the same line detected in different octave images.