Thread Subject:
Use function imerode

Subject: Use function imerode

From: andrea

Date: 22 Jun, 2010 13:57:23

Message: 1 of 2

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

Subject: Use function imerode

From: Sean

Date: 22 Jun, 2010 14:15:21

Message: 2 of 2

"andrea " <nacchio1983@yahoo.it> wrote in message <hvqfg3$1o1$1@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))

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
imerode strel andrea 22 Jun, 2010 09:59:19
rssFeed for this Thread

Contact us