Use of MeanShiftFiltering to remove background ?

asked 2017-11-14 18:32:28 -0500

procton gravatar image

I found this old post where the author used mean shift filtering to isolate vegetables from background in an aerial image. Anyone knows if it is really possible ? I tried on my side using:

Imgproc.pyrMeanShiftFiltering(temp, output_image, 10.0, 50.0,1,new TermCriteria(TermCriteria.MAX_ITER|TermCriteria.EPS, 120, 0.001));

but I am not able to find correct values to obtain the same result.

edit retag flag offensive close merge delete

Comments

VxW gravatar imageVxW ( 2017-11-15 02:46:31 -0500 )edit

Thank you ! I will look at this link.

procton gravatar imageprocton ( 2017-11-15 06:04:09 -0500 )edit