answersLogoWhite

0


Best Answer

In order to compare images pixel by pixel, both images must be uncompressed bitmaps of the same size, dimensions and colour depth. If you're looking for an exact match, then you simply compare the pixels in tandem (you can treat both images as being an array of int to speed up the process).

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you compare an image pixel by pixel in C plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How will you compare turbo c to c plus plus?

"http://wiki.answers.com/Q/How_will_you_compare_turbo_c_to_c_plus_plus_language"


How will you compare turbo c to c plus plus language?

"http://wiki.answers.com/Q/How_will_you_compare_turbo_c_to_c_plus_plus_language"


How do you save image in c plus plus?

i will give the answer one day waiting for me...


How do you convert bmp image to jpg by using C or C Plus Plus?

With libbmp and libjpeg. STFW for details.


How do you draw a pixel of varying intensity on the screen using C Plus Plus?

C++ has nothing to do with pixels. Your question may be related with 'Windows programming' or 'DOS programming' or 'X Window System programming'.


No of pixel in c compiler?

There are no pixels in the C compiler!


How do you do image cropping in visual c plus plus 6?

Use a bitmap view control setting the width and height to the size of the cropped image. Then move the image within this window so the portion you wish to see is centred in the view. For example, suppose you have a 50x48 pixel image and you want to crop to 48x48. In other words you want to remove two columns of pixels from the left side, or one column from each side, or two from the right side. Start by creating a view of the required size (48x48). Then load the bitmap and set the left coordinate to either -2, -1 or 0, relative to the view.


How do you make a keylogger with visual basic 6 or the c plus plus and can you embed or bind it to a picture and make it hidden?

Image files are not executable. Therefore impossible. However, the only trick is to put your executable look like image using image icon and making the extension like this Mypicture.jpg.exe


Wap in c plus plus to find out the string is palindrome or not in?

use the strrev() function on the given string and compare with original string.If both are equal they are palindromes else not.


What is b plus b plus b plus c plus c plus c plus c?

b+b+b+c+c+c+c =3b+4c


What is c plus c plus 2c plus c plus c equal?

c + c + 2c + c + c = 6c


What are the image formats supported by c plus plus?

C++ does not provide any native support for graphics of any kind, including graphic image formats. This is because graphics are platform-specific while C++ is a generic language. You can, of course, use graphics in C++, but you need a graphics library and API that is specific to your platform and hardware. There is no generic code available as the code you use is entirely dependant upon the library.