provide code for diamond filter with value 3 using dilation

Risposte (1)

Guillaume
Guillaume il 16 Mar 2016
Modificato: Guillaume il 16 Mar 2016
Not sure what your question is. If your question is about the usage of strel, why don't you read the documentation? If you want a 3x3 diamond:
se = strel('diamond', 1); %1 is (width - 1)/ 2, with width = 3

Categorie

Scopri di più su Read, Write, and Modify Image in Centro assistenza e File Exchange

Tag

Richiesto:

il 16 Mar 2016

Modificato:

il 16 Mar 2016

Community Treasure Hunt

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

Start Hunting!

Translated by