Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe16.iad.POSTED!7564ea0f!not-for-mail
From: Walter Roberson <roberson@hushmail.com>
Organization: Canada Eat The Cookie Foundation
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to draw thin line between different color regions?
References: <gea0gi$nq2$1@aioe.org> <1d3ccafc-fd44-49cc-b289-f8c5f322f641@t42g2000hsg.googlegroups.com> <45e80e7d-08ae-4b57-b846-e656ae560989@s9g2000prm.googlegroups.com> <gln4v1$gfg$1@fred.mathworks.com> <b5e9ea4f-23df-486d-b0dc-aceb63c984bc@w24g2000prd.googlegroups.com> <KAHfl.39892$zr6.19233@newsfe03.iad> <glnh70$ob0$1@fred.mathworks.com> <glpbel$5cr$1@fred.mathworks.com>
In-Reply-To: <glpbel$5cr$1@fred.mathworks.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 36
Message-ID: <Ohlgl.711$Xi1.234@newsfe16.iad>
NNTP-Posting-Host: 24.79.146.116
X-Complaints-To: internet.abuse@sjrb.ca
X-Trace: newsfe16.iad 1233248494 24.79.146.116 (Thu, 29 Jan 2009 17:01:34 UTC)
NNTP-Posting-Date: Thu, 29 Jan 2009 17:01:34 UTC
Date: Thu, 29 Jan 2009 11:01:51 -0600
Xref: news.mathworks.com comp.soft-sys.matlab:514761


Basela Hasan wrote:

> Sorry but just to be clear, I'm trying to label people clothes in family album photos, 

Then like I suggested the other day, the areas you want to label will not be
a consistent color in the images even if they were a consistent color in real
life. And clothes in real life have a tendency not to be all one colour and
a tendency to be patterned and possibly to have laces or other such objects
that are really part of the clothes but which dangle or are complicated shapes
and so on. With regards to solid colours, recall that with clothes it is common
for the buttons to be a different colour.

Therefore, you will not be able to segment the images just by colour with any
accuracy. You will probably need pattern (texture) mapping as well.

How do you intend to handle the case where someone's shirt/ top/ blouse is
very much the same colour (perhaps even the same material and same pattern) as
their pants / shorts / skirt? There might or might not be a fine dividing line between
the two that a human could detect. If a top and skirt were deliberately coordinated
then is that a single outfit to be grouped as a single object, or is it a
two piece outfit to be segmented into two objects? And if a woman's clothes
appear to be a jacket over a skirt, then you cannot tell without opening the
combination and attempting to take it apart whether it is really physically
one piece, or physically two pieces but with the jacket required to be worn,
or physically two pieces with the jacket optional but a normal part of the
outfit (but could be removed if, say, it got quite warm), or physically two
pieces with the jacket fully removable in a design sense (in which case it is
logically two distinct objects.) Even if a woman's jacket is open at the
front, you cannot easily determine whether the outfit is logically one piece
or two pieces without being able to examine the construction.

-- 
.signature note: I am now avoiding replying to unclear or ambiguous postings.
Please review questions before posting them. Be specific. Use examples of what you mean,
of what you don't mean. Specify boundary conditions, and data classes and value
relationships -- what if we scrambled your data or used -Inf, NaN, or complex(rand,rand)?