how Thicken border 1-pixel wide with 2 pixels?

3 views (last 30 days)
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)

Sean de Wolski
Sean de Wolski on 24 Oct 2012
doc imdilate
  2 Comments
Tomas
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
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?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!