- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
hi buddies,
i wanted to know how do we compare two images (eg: BMP/JPEG) using windows programming(VC++).
i require the apt syntax used for image comparison or sorce code for image processing and comparing two images in VC++.
i tried surfing for source codes on internet but in vain
Lien copié
1 Répondre
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
it is not so easy in case if you want to compare the diffierent image formats, like BMP and JPEG. First of all, you need to get both images in the same format, uncompressed BMP is preferable. So, you need to decompress JPEG image. Note, JPEG uses lossy compression techinque, which means that decompressed image will not be bit-to-bit complain withimage you've used for encoding into JPEG.
I recommend you to read IPP documentation (Intel Integrated Performance Primitives, Volume2: Image and Video Processing), to find the functions appropriate for yor goals. It can be very simple case, just absolute difference between two images, like: image_diff(i,j) = abs( image_a(i,j) - image_b(i,j));
You also can download IPP JPEG samples to see how to decompress JPEG images with using IPP JPEG codec.
Regards,
Vladimir
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable