Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dent detection after hail

The following picture is a photo of hail damage on a car, taken with fringe projection.

enter image description here

I want to detect the dents and classify them (big ones in yellow and small ones in red).

enter image description here

How can I do that? Which algorithm / method do you suggest?

like image 274
Philippe Juhel Avatar asked Oct 14 '16 08:10

Philippe Juhel


1 Answers

Thinning isn't a bad idea, but actually you don't really need it if you can binarize: the blob outlines will give equally good curves.

enter image description here

enter image description here

Follow every curve in turn and estimate the curvature, for instance by determining the deviation from a line segment between two points fifty pixels apart.

The sections of the curve with a significant deviation will tell you where damage is found.

like image 176
Yves Daoust Avatar answered Oct 30 '22 12:10

Yves Daoust