Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!j24g2000yqa.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Help with image processing
Date: Thu, 5 Nov 2009 07:34:53 -0800 (PST)
Organization: http://groups.google.com
Lines: 9
Message-ID: <b223b025-77a0-4948-b03a-28936bdebed3@j24g2000yqa.googlegroups.com>
References: <hcp0nc$on$1@fred.mathworks.com> <151680ce-a53e-4537-858e-4fd98565d087@s15g2000yqs.googlegroups.com> 
	<998250e5-dd27-4263-81a5-f6d189f72cce@v30g2000yqm.googlegroups.com> 
	<hcuqq9$psh$1@fred.mathworks.com>
NNTP-Posting-Host: 192.44.136.113
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1257435293 28375 127.0.0.1 (5 Nov 2009 15:34:53 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 5 Nov 2009 15:34:53 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: j24g2000yqa.googlegroups.com; posting-host=192.44.136.113; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-Via: 1.1 bdci2px (NetCache NetApp/6.0.7)
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	CyberSafe-IWA-Enable; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MS-RTC LM 8; 
	.NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 
	3.5.30729),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:582769


That might work - just look for the top-most and bottom-most pixel in
each column.
Set some limits to avoid possible noise near the edges (where the tail
thins out), like say you go from the left (nose of the fish) to 97% of
the way to the right, skipping the last 3% or so.
Then scan it from the right and see where the top-to-bottom distance
dips down, which hopefully happens where the tail connects to the
body.
Why don't you post your code?