How can I define an elliptic neighborhood of image data point in MATLAB?

I am a MATLAB beginner. I have an image data in MATLAB. I want to define an elliptic neighborhood for each point of this data. After that, I want to do some process in this neighborhood. How can I define this elliptic neighborhood for each point? please help me.

Thank you in advance.