Borrar filtros
Borrar filtros

how to merge neighbourhood of a pixel

1 visualización (últimos 30 días)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran el 3 de Sept. de 2012
My previous question was how to find neighbourhood? my next question is how to merge those neighbourhood?

Respuestas (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by