Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

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

I=imread('image.jpg');
edg = edge(I,'log',0);

thankx

0 Comments

Tomas

1 Answer

Answer by Sean de Wolski on 24 Oct 2012
doc imdilate

2 Comments

Tomas 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?

Sean de Wolski

Contact us