MATLAB: Image Processing – How to remove big pixel object
bwareaopenimage processingMATLAB
I have remove small unwanted object however there are still some big pixel object I can't remove it.
How can I remove it?? (If I increase the 'bwareaopen', the whole image will become black)
Best Answer
I have no idea. If you remove both the small objects and large objects, what do you expect to remain? Are there medium sized objects that you hope to retain? Upload your binary image to tinypic.com so I can see it and tell me which objects you want to remove or keep.
Here's an example that removes all objects greater than 1000 pixels in area. You probably have your ownBW image and your ownthreshold that you can use in a similar way.
Best Answer