From: andrea on 22 Jun 2010 09:57 Hi, I have a grayscale image. I want erode this image of 1 pixel. Which kind of morphological structur do you recommend me to use? Thanks for help me Andrea
From: Sean on 22 Jun 2010 10:15 "andrea " <nacchio1983(a)yahoo.it> wrote in message <hvqfg3$1o1$1(a)fred.mathworks.com>... > Hi, > > I have a grayscale image. I want erode this image of 1 pixel. > Which kind of morphological structur do you recommend me to use? > > > Thanks for help me > > Andrea If you want one pixel off each edge use a disk. imerode(logical([0 0 0 0 0;0 1 1 1 0; 0 1 1 1 0; ;0 1 1 1 0;0 0 0 0 0]),strel('disk',1))
|
Pages: 1 Prev: Delaunay with given amount of triangles Next: min ||Ax-b|| for large sparse A |