How to capture image in ellipse form in OpenCV?

Oh, sorry I didn’t know you are not a python person. I think I have done all the steps, just having trouble with the alpha channel now.