Ask Your Question
0

Find dots on the surgeon's gloves

asked 2018-02-19 10:26:54 -0600

updated 2018-02-19 10:57:52 -0600

It is necessary to find the points on the surgeon's gloves. Example of the photo below.

image description image description image description

I can accurately define the contour of the hand using an hsv filter. Now the algorithm works well with the help of Template Matching. But still not good enough for my purposes.

image description image description

There may be some ideas about how to improve the program (without adding new templates). I tried many variants of the trehsholding, but came to a standstill because there are a lot of noise.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-02-20 22:09:45 -0600

Tetragramm gravatar image

Try the niBlackThreshold

ximgproc::niBlackThreshold( im, thresh, 255, THRESH_BINARY_INV, 21, -1.0 );

That gives me images something like this:

image description

Not perfect, but you said you have hand contours, so you can drop everything outside of that, then filter the inner blobs by shape and intensity. The false alarms will still be white. Or do template matching on each one to see how closely it matches, and only keep the good ones. Lots of ways to remove false alarms, if you get good, distinct, blobs.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-02-19 10:25:52 -0600

Seen: 203 times

Last updated: Feb 20 '18