DSPRelated.com
Forums

width of shadow

Started by ayya...@gmail.com July 6, 2006
Dear All

I have a textured image(256x256) with a black rectangular shadow(around 30x 30) at the center of image.Colud anyone suggest me some ideas to locate the shadow in the image and its width.

Thanks in advance
yours
sigma
An edge detect should do the trick but you need to decide on which of
the channels (R, G or B) or maybe all to run the edge detect on. even
better again you could try converting to an alternative colour space
YCbCr or something. Some of these other colour spaces have individual
channels (in this case Y) which will show a change in illumination
much better than say a channel to do with any particular colour or
chrominance. Please dont assume from this that YCbCr is the right
option im just using it as an example

Rob

--- In i..., ayyappanmani@... wrote:
>
> Dear All
>
> I have a textured image(256x256) with a black rectangular
shadow(around 30x 30) at the center of image.Colud anyone suggest me
some ideas to locate the shadow in the image and its width.
>
> Thanks in advance
> yours
> sigma
>