Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!v2g2000vbb.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: find Spots in the Image
Date: Wed, 23 Sep 2009 02:59:47 -0700 (PDT)
Organization: http://groups.google.com
Lines: 12
Message-ID: <7c927726-fa9e-4cd1-826a-089be7a6eb2c@v2g2000vbb.googlegroups.com>
References: <h96qbb$ug$1@fred.mathworks.com> <h96r1t$emm$1@fred.mathworks.com> 
	<d0c0f9fb-b8b1-4ef9-aee2-b4af570ed60a@j9g2000vbp.googlegroups.com> 
	<h9c4k2$lab$1@fred.mathworks.com>
NNTP-Posting-Host: 75.186.70.56
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1253699987 15130 127.0.0.1 (23 Sep 2009 09:59:47 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 23 Sep 2009 09:59:47 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: v2g2000vbb.googlegroups.com; posting-host=75.186.70.56; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 
	3.5.21022; AskTB5.5),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:572284


On Sep 22, 11:28 pm, "Yi " <heyinba0...@hotmail.com> wrote:
> Hi ImageAnalyst:
> Thank you so much!!! You really help me a lots !!!
> and last question, How can i  detect the blobs which touch the image boundary?
> Do i need use boundingbox of each blobs? or something else?
>
> thanks ^_^
----------------------------------------------------------------------------------------------
No.  You can use imclearborder().  Just call that and subtract it's
result from your original (input) binary image.