From: Diego on
i did a photomosaic with matlab. That's the project:
I have a database of 32.000 images, extract the medium value of H,S & V (HSV color space), standard deviation and texture from my database.
I match all my DB images with all the tiles of original image with euclidean formule.
Because of the shape of HSV color space i need to use trigonometry (sin cos) in matching formule.

Can you help me for sin e cos math formule?

THX
From: ImageAnalyst on
I don't know what you're talking about. Why is trig needed? Just use
rgb2hsv() on all the images ("original" and "database" images) and
you're all set.
From: Diego on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <3472edcf-4941-4072-9950-1f666ef9c014(a)g19g2000yqc.googlegroups.com>...
> I don't know what you're talking about. Why is trig needed? Just use
> rgb2hsv() on all the images ("original" and "database" images) and
> you're all set.

Thx for answer me soon.
so... let me explain.

what i need is to calculate distances between images on H value of HSV color space.
i think i have to use trig because of the value H, in the HSV color space, is the base of the cone.
I really don't know which formule (sin cos) i could use but i guess is abuot trig.

The distance i'm gonna calculate is usefull to match original and DB images.

i hope you can understand my problem.
Thanks for your time.

Bye
Diego


From: Image Analyst on
That's NOT how to calculate color difference.
You need to calculate the Delta E.
http://www.easyrgb.com/index.php?X=DELT