How can i define a direction window to get four direction around the centered location?

I want to do directional morphological filtering. As i am a beginner, need help to know how to define direction window and to define 4 directions around a centered location.Please help me....

Asked:

on 9 Jan 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!