Image difference and magnitude.

조회 수: 1 (최근 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