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

Asked:

rky
on 30 Jul 2014

Edited:

rky
on 30 Jul 2014

Community Treasure Hunt

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

Start Hunting!