How to create Linear structuring element in morphological operations

How to create linear structuring element in morphological operations with angle of rotation as
1. R1 = {15...90;-15....-90}
2. R2 = {105...180;195....270}
So that i can do linear opening or linear dilation with above structural element

Preguntada:

rky
el 30 de Jul. de 2014

Editada:

rky
el 30 de Jul. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by