ios - Is there a way to identify if two images are nearly identical in Objective-C? -


say have 2 images:

enter image description here

and

enter image description here

these pictures identical save few pixels different colors. is there native way in objective-c identify if 2 pictures identical? if not, is there way it?

in computer vision , image processing definition nearly identical can vary lot application application, therefore method calculate similarity/identity vary depending on problem @ hand.

in case seems images have identical resolutions , interested in number of pixels different.

i suggest iterate on both images , xor pixel values (if identical, result zero).


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -