opencv - Bent object detection -
i have image of ribs in factory , of them can bent. each rib have binary mask of - here can see masked image of ribs @ once. masked ribs illustration:
if helps you, here ribs masks connected one. rib masks:
as can see, ribs aren't vertical, can rotated too. need detect bent ones (for example third rib left in image). please have idea how it?
i have tried distance transform find center of rib , working 1d function, whole rib 50 pixels wide, noise big - function has peaks use derivatives or approximation. next, wanted try hough-lines on upper , lower part separately, details looking (as can see, bent not big) small method.
all need "is bent" or "is not bent". @ moment, have no other ideas how detect bent ribs. pleased idea.
Comments
Post a Comment