how to merge neighbourhood of a pixel
Show older comments
My previous question was how to find neighbourhood? my next question is how to merge those neighbourhood?
Answers (1)
Andrei Bobrov
on 4 Sep 2012
try this way (need have Image Processing Toolbox)
I = rand(10) > .9; % initial array
out = imdilate(I,ones(3));
Categories
Find more on Color Segmentation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!