Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Help with image processing
Date: Thu, 5 Nov 2009 15:00:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <hcup9k$h7m$1@fred.mathworks.com>
References: <hcp0nc$on$1@fred.mathworks.com> <151680ce-a53e-4537-858e-4fd98565d087@s15g2000yqs.googlegroups.com> <0e74e8f2-0156-4017-9652-c7d9310f174f@d34g2000vbm.googlegroups.com> <hcq12a$cv$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257433204 17654 172.30.248.38 (5 Nov 2009 15:00:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 5 Nov 2009 15:00:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2074250
Xref: news.mathworks.com comp.soft-sys.matlab:582748


Hi after tweaking the settings of my edge detection and using imclose I get pretty close in selecting my fish. However now I have the problem that I do not want to select its tail fin, so the part of the fish on the rightest part of the photograph. So coming back to my point, is there an "easy" way to fit a drop shape (which is pretty much what the fish body looks like) to the binary mask and select only those pixels? I find it hard to think of how to do this. Thanks



"M Ladderman" <mirresimons@gmail.com> wrote in message <hcq12a$cv$1@fred.mathworks.com>...
> Hi guys,
> 
> The fish is not on ice it is in a small tank with water and what you think is ice is whitish foam.. I could have used black foam but then I think I would have had the same problem with the top of the fish not having a clear 'edge'. I could use different colours however... I do not want reflexion from this. I have now also posted a colour image so that my setup is more clear maybe..
> 
> Any more suggestions on coding I could use are very welcome.. 
> 
> 
> ImageAnalyst <imageanalyst@mailinator.com> wrote in message <0e74e8f2-0156-4017-9652-c7d9310f174f@d34g2000vbm.googlegroups.com>...
> > Ashish brings up an excellent point.  Why is the fish on ice?  That
> > just makes it more difficult.  Why not just use a background that will
> > enable you to pick out the fish better, such as a black ceramic tile,
> > or a hot pink powder coated aluminum plate, or some other contrasty
> > color?  There's no need for ice since presumably the fish is only
> > going to be there for a very short time, just long enough to take the
> > picture.