Noise reduction

Hello,
I have an assignment project, I would like to remove the small white pixels and stay with the bird, I have tried filtering using the morphological method but the result is still not good.
Can anyone help me or direct me on how I can resolve this?
The uploaded image is a binary image.
thank you.
.jpg