Path: news.mathworks.com!not-for-mail
From: "Kenneth Galea" <k.galea@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab and Otsu Thresholding query
Date: Fri, 5 Feb 2010 12:40:09 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 11
Message-ID: <hkh3j9$es$1@fred.mathworks.com>
References: <hkgur9$c47$1@fred.mathworks.com> <cce067d5-87e1-4435-9ec8-f8a114c7c816@21g2000yqj.googlegroups.com>
Reply-To: "Kenneth Galea" <k.galea@hotmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1265373609 476 172.30.248.38 (5 Feb 2010 12:40:09 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 5 Feb 2010 12:40:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2146944
Xref: news.mathworks.com comp.soft-sys.matlab:604701

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <cce067d5-87e1-4435-9ec8-f8a114c7c816@21g2000yqj.googlegroups.com>...
> Kenneth :
> That's not true.  That method forces a threshold to be chosen.  In
> cases like these, you don't use an automatic threshold, you use a
> fixed threshold.  You need to do this in conjunction with intensity
> correction.  This will solve your problem.
> -ImageAnalyst

What I mean is that I will have one object at a time in my image ...but the objects have different colours and not necessarily all black..that's why I was using an automatic threshold!!!  Initally I used a fixed threshold for example 0.5 but it was not always suitable for differnt coloured objects :( With automatic threshold it was great till unfortunately I met this problem! Is there a solution to this? 
Regards
Kenneth