Can not get through with this problem, can someone help?

Propose some SEs (structure element) to extract the sticks and the circles (2 situation) then write a python program using morphological transformations (from openCV). The final result should be an image with only one type of objects. Please help.

That’s a homework/exam question.

It deals with structuring elements and morphology. I am sure you have also learned about boolean operations on binary images.

What structuring elements (shapes) have you been taught?