How could I determine the size of the smaller objects to be removed from my image, I know by guessing this could work, for example to remove objects smaller than certain value, but is there more objective method?
I tried by guessing, but I know that there is a more precise method to do.