Skip to content

New version of the segment detector in Scribo module.

Philippe requested to merge line-detector-2 into next

Several improvements have been made on the Segment Detection algorithm.

API Changes

The algorithm has two ways of returning the result depending on the usage:

  • Pixel-wise: detect_line_pixel(const mln::image2d<std::uint8_t>& input, int min_len, const SegDetParams& params) that returns an image
  • Vectorial: detect_line_vector(const mln::image2d<std::uint8_t>& input, int min_len, const SegDetParams& params) that returns a list of segments

The parameters structure has been updated (for expert):

  • second threshold used in observation extraction
  • angles are given in degree

Other changes

  • Performance optimisation
Edited by Edwin Carlinet

Merge request reports