Draws two groups of lines in blue and red, counting the non overlapping (mismatching) pixels
[img, count] = lsd.compareSegments(sz, lines1, lines2)
[...] = lsd.compareSegments(..., 'OptionName', optionValue, ...)
Input
- sz The size of the image, where
lines1
and lines2
were
found [w,h]
.
- lines1 The first group of lines that needs to be drawn. It
is visualized in blue color.
- lines2 The second group of lines. They visualized in red
color.
Output
- img color image with the two groups of lines drawn.
- count count of non overlapping (mismatching) pixels.
Options
- Image Optional image, where the lines will be drawn. The
image should be color (3-channel) in order for
lines1
and
lines2
to be drawn in the above mentioned colors.