hi!
Im trying to find similar or equivalent funtion of Matlabs "Bwareaopen" function in OpenCV?
In MatLab Bwareaopen(image,P) removes from a binary image all connected components (objects) that have fewer than P pixels.
In my 1 channel image i want to simply remove small regions that are not part of bigger ones? Is there any trivial way to solve this?
Thank you!!