Ask Your Question

Making image noise free

asked 2017-01-09 00:50:05 -0500

jeffy gravatar image

After identifying the skin color and using the in range function to filter out the skin color i am left this image(noise image. Is there any way to remove those grains with in the hand image and few other noise in the back

edit retag flag offensive close merge delete


Can you show us range HSV or YCrCb that you used?

hoang anh tuan gravatar imagehoang anh tuan ( 2017-01-09 01:11:52 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-09 01:30:32 -0500

LBerger gravatar image

updated 2017-01-09 01:38:33 -0500

You can use dilate and closing operator with a rectangular structuring element but your image is really bad. You should use grabcut or calcbackproject instead of inrange After 5 closing iteration result is

image description

edit flag offensive delete link more


Based on the result you show after closing, you could then select only components above a certain size (with connectedComponents) to keep only the hand

Soltius gravatar imageSoltius ( 2017-01-09 03:20:22 -0500 )edit
Login/Signup to Answer

Question Tools



Asked: 2017-01-09 00:50:05 -0500

Seen: 212 times

Last updated: Jan 09 '17