From: ImageAnalyst <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to disconnect small connection in image
Date: Tue, 31 Jan 2012 05:30:51 -0800 (PST)
Lines: 16
Message-ID: <>
References: <> <jg7qoh$76c$>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: 1328016976 796 (31 Jan 2012 13:36:16 GMT)
NNTP-Posting-Date: Tue, 31 Jan 2012 13:36:16 +0000 (UTC)
Injection-Info:; posting-host=; posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HUALESRCNK
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1,gzip(gfe)
Xref: comp.soft-sys.matlab:756258

On Jan 30, 11:30 pm, "Sadik " <> wrote:
> Hi Khaled,
> You can try imerode. I guess it can help. You may want to use imdilate after applying imerode in order to recover back [to some extent] the thickness of your letters, L and m.
> help imerode
> help imdilate
> Best.

If the letters are dark on a white background, you'd want imdilate
first, then imerode, which together is the same as imclose, which I
suggested.  If you have white letters, you'd want imopen.