matlab code to compare black and white pixels of two images
2 views (last 30 days)
Show older comments
Sir, actually I am working on a project named Indian currency authentication system and i wish to get a code for black and white pixel comparison of two images.
2 Comments
Jan
on 5 Apr 2015
While the name of your project does not matter, it is obligatory to explain more details, if you want to get any suggestions. "Balck and white pixel comparison" could mean a lot of different things and it would be a waste of time if the users of the forum guess, what you want.
Image Analyst
on 5 Apr 2015
Edited: Image Analyst
on 5 Apr 2015
Usually when people ask for image processing advice they attach images so we don't have to work "blind". Attach your two images. And specify exactly what "black and white pixel comparison of two images" is, especially if you end up attaching two color images. Where did the black and white pixels come from?
Also, tag this as homework if it's a class assignment. We regularly get questions here about comparing Indian money, so I think there must be a reason for that, like it's a common classroom assignment.
Answers (1)
mandla mgugunyeka
on 21 Jul 2015
Edited: mandla mgugunyeka
on 21 Jul 2015
hi I have the same questions. I tried to compute a program that quantifies the pixels in term of the RGB scale and then compare the original pixels one by one to the new image to check if a space a a certain amount of space is darker or in my case, averaging all the pixels to check if the image is darker or still the same.
all I need to know is how to transfer the above information for all sizes of pictures given that the original has the same size as the first, for gif type images
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!