Azzera filtri
Azzera filtri

how to merge neighbourhood of a pixel

1 visualizzazione (ultimi 30 giorni)
Sivakumaran Chandrasekaran
My previous question was how to find neighbourhood? my next question is how to merge those neighbourhood?

Risposte (1)

Andrei Bobrov
Andrei Bobrov il 4 Set 2012
try this way (need have Image Processing Toolbox)
I = rand(10) > .9; % initial array
out = imdilate(I,ones(3));

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by