Image difference and magnitude.

3 次查看(过去 30 天)
Hashem Burki
Hashem Burki 2011-5-22
I need to take the difference of two images. Such that image1 is a normal image and image2 is a somewhat skewed. I then want to find the magnitude of The difference image (image1-image2) such that i get a singular scalar value. Then i need to take the difference of two other images (image1-image3) in which image3 is more skewed. I then want to find the magnitude of The difference image such that i get a singular scalar value. now i want to compare both values and be able to tell just be looking at the values that which picture is more skewed and which is not.

回答(1 个)

Walter Roberson
Walter Roberson 2011-5-23
Okay, go ahead and give it a try.
  2 个评论
Hashem Burki
Hashem Burki 2011-5-23
what should I use to find the difference from the images?
Walter Roberson
Walter Roberson 2011-5-23
Define what _you_ mean by "the magnitude of the difference image" "such that I get a singular scalar value", and we'll try to help you program it.
A question for you to consider:
Suppose your image1 is a vector of 255 zero's, and suppose image2 is a vector of 255 one's, and suppose image3 is a vector of 254 zeros and a single 255. Now, should the difference image magnitude between image1 and image2 be the same as the difference image magnitude between image1 and image3, seeing as the sum of the differences (255 * 1) and (254*0 + 1*255) are the same ?

请先登录,再进行评论。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by