Remove the floor noise from the mask.

asked 2017-10-02 05:35:21 -0600

vps gravatar image

Hi all,

I am making the mask for background subtraction for depth data. i performed following thing to get the mask. 1) Apply the range on depth data. 2) Convert the image into the binary 3) Apply erosion and dilation operation on the mask. 4) Search the maximum contour.

Still, I am getting some noise of the floor(refer output image). It will be great , if you suggest the way. I have attached input and output images.

1) Input

image description

2) Output image.

image description

edit retag flag offensive close merge delete

Comments

it depends on the accuracy you need but try erosion using a small kernel several times. Afterwards apply dilation with same kernel dimension and same number of iterations

VxW gravatar imageVxW ( 2017-10-02 09:26:49 -0600 )edit