Completion of Discontinuous Lines

2 Ansichten (letzte 30 Tage)
Avri
Avri am 2 Mär. 2013
I used imabsdiff in order to compute the absolute difference of two images of moving car. I then used im2bw to get the boundary/edge of the car. Now I would like to use imfill(I,'holes') in order to define the entire car. The problem is that the line that defines the car edge is not continuous. How can I complete the lines?

Akzeptierte Antwort

Image Analyst
Image Analyst am 2 Mär. 2013
Try imclose() to close the gaps.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by