tarunlalwani
Member
- Joined
- Oct 14, 2007
- Messages
- 7
- Programming Experience
- Beginner
I have two images and i am currently able to compare them pixel by pixel. I read the images using 24rgb format into an array and compare the arrays. The code runs fine.
But now i want to implement two things
- Compare images with given color tolerance.
- Compare images and return color mismatch tolerance.
What i want is a colored image and a greyscale image comparison should pass when the color tolerance is high (i assume 100% in this case).
I am not very sure on how to implement this. I know that a pixel is represented using RGB color, but i am not able workout how to similar images which differ just in color can be compared.
Waiting for the right pointers
But now i want to implement two things
- Compare images with given color tolerance.
- Compare images and return color mismatch tolerance.
What i want is a colored image and a greyscale image comparison should pass when the color tolerance is high (i assume 100% in this case).
I am not very sure on how to implement this. I know that a pixel is represented using RGB color, but i am not able workout how to similar images which differ just in color can be compared.
Waiting for the right pointers