Image difference and magnitude.

2 ビュー (過去 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