Ask Your Question
0

Making image noise free

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

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

Comments

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

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

1 answer

Sort by ยป oldest newest most voted
0

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

LBerger gravatar image

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

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

Comments

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 -0600 )edit

Question Tools

2 followers

Stats

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

Seen: 411 times

Last updated: Jan 09 '17