how Thicken border 1-pixel wide with 2 pixels?

Hi how thicken border 1-pixel wide with 2 pixels with matlab? thanks
I=imread('image.jpg');
edg = edge(I,'log',0);
thankx

Answers (1)

doc imdilate

2 Comments

thank you, I tried it but I haven't got a good result. There is another solution please
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?

Sign in to comment.

Categories

Asked:

on 24 Oct 2012

Community Treasure Hunt

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

Start Hunting!