Page 1 of 1
compare rotated pictures
Posted: 2011-08-23T03:49:55-07:00
by adelina
I have rotated a picture with 90 degree and i want to compare it with the original picture and put the result in a .txt file.I have already found an aloghoritm named Surf, but don't know how to implamented in vbscript.Can you help me ,please?
Re: compare rotated pictures
Posted: 2011-08-23T03:55:40-07:00
by anthony
a 90 degree rotation should be a perfect rotation. If you rotate an image 90 degrees, then rotate it back you should see NO DIFFERENCES.
Any differences that you do see will thus be the result of things such as
- JPEG lossy compression, (that is reading and writing the image again with a image file format that will 'loose' some data.
- Or as a result of cropping,
- or special techniques (using JPEG lossless rotation when image does not match JPEG 'cell' size (generally multiples of 8 or 16 pixel)
Generally For any image format that is not JPEG, there should be no-differences. roate 90 then rotate back 90 and you should see no changes to the image!