Find the difference between images

5 views (last 30 days)
belka0011
belka0011 on 27 Mar 2012
Dear, masters in matlab & neural networks, sorry for my English. Please, advise me if it is real to develop neural network that will compare two images(original and its compressed version) and return the distortion level between them? If 'yes', what kind of network should be used? May be, someone has examples?
  2 Comments
Image Analyst
Image Analyst on 27 Mar 2012
To be clear, you mean with the compressed version once it's been decompressed.
Walter Roberson
Walter Roberson on 27 Mar 2012
Rotated? Translated? Cropped? Resized? Or _exact_ size and image position matches?

Sign in to comment.

Answers (5)

Geoff
Geoff on 27 Mar 2012
Why wouldn't you just subtract one from the other and use some statistics like mean, variance, etc?

Image Analyst
Image Analyst on 27 Mar 2012
PSNR http://en.wikipedia.org/wiki/PSNR is often (usually?) used for that. You might also look at Stuctural Similarity (SSIM) http://en.wikipedia.org/wiki/Structural_similarity

Greg Heath
Greg Heath on 4 Apr 2012
You said that you have found a reference but have no access.
An obvious way to begin is either obtain access to the reference or obtain access to one of the authors.
To use a neural net you have to train it with typical examples of input-output vector pairs.
From what I've read so far your input is a 64-dimensional input vector obtained from columnizing an 8x8 window of a difference image and your output is a scalar measure of similarity.
The enigma here is how to calculate the MOS to use for training.
Once that is defined, you don't need the network.
Or am I missing something?
Hope this helps.
P.S. Use windows with odd numbers of pixels per edge so that the middle of the window is at a pixel location.
  1 Comment
belka0011
belka0011 on 5 Apr 2012
Yes, an input is 64 - discrete cosine transformed pixels.
I think that I should use sigmoid function and will try it in nn toolbox

Sign in to comment.


belka0011
belka0011 on 28 Mar 2012
I want to develop NN that will better in searching artifacts than PSNR.
I've found description of work with almost similar problem, but I haven't access there((
If be anyone can help me?
  9 Comments
Image Analyst
Image Analyst on 31 Mar 2012
And what shortcomings do the current methods have that your method will overcome?
Walter Roberson
Walter Roberson on 1 Apr 2012
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.5.6925&rep=rep1&type=pdf

Sign in to comment.


belka0011
belka0011 on 3 Apr 2012
I cannot say why my idea better than PSNR, that's my scientific work...
Now I've decided to develop neural network, that will contain pairs: artifact(8x8 pixels in DCT) and coefficient(from 0 to 1, depending on it visualization).
And now new question, how better to realize it?
  4 Comments
Image Analyst
Image Analyst on 4 Apr 2012
I don't use neural nets. Sorry - I can't help.
belka0011
belka0011 on 5 Apr 2012
anyway, thanks for your answers =)

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!