MATLAB Answers


how Thicken border 1-pixel wide with 2 pixels?

Asked by Tomas
on 24 Oct 2012

Hi how thicken border 1-pixel wide with 2 pixels with matlab? thanks

edg = edge(I,'log',0);



1 Answer

Answer by Sean de Wolski
on 24 Oct 2012
doc imdilate


on 26 Oct 2012

thank you, I tried it but I haven't got a good result. There is another solution please

Image Analyst
on 26 Oct 2012

That's the way to do it. Why was your result not good? Can you upload some example images illustrating why it's no good? What will you end up doing with this thickened image anyway?

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today