Find the difference between images

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 commentaires

Image Analyst
Image Analyst le 27 Mar 2012
To be clear, you mean with the compressed version once it's been decompressed.
Walter Roberson
Walter Roberson le 27 Mar 2012
Rotated? Translated? Cropped? Resized? Or _exact_ size and image position matches?

Connectez-vous pour commenter.

Réponses (5)

Geoff
Geoff le 27 Mar 2012

2 votes

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

1 vote

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 le 4 Avr 2012

1 vote

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 commentaire

belka0011
belka0011 le 5 Avr 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

Connectez-vous pour commenter.

belka0011
belka0011 le 28 Mar 2012

0 votes

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 commentaires

Walter Roberson
Walter Roberson le 28 Mar 2012
What kind of artifacts are you referring to for your purposes?
Are you talking about weighting some differences as more important based upon surrounding context?
Image Analyst
Image Analyst le 28 Mar 2012
Better how? What's "wrong" with PSNR? What shortcomings do you feel that it has? PSNR is a well established technique that gives a single number that is used as a quality metric for comparing an original image with one that has undergone the compression/decompression round trip. Your method will likewise give a single number. Do you plan on doing psychophysical experiments to prove your number correlates better with human perception than PSNR? Maybe you ought to read this paper first: http://spiedigitallibrary.org/jei/resource/1/jeime5/v19/i4/p043004_s1?isAuthorized=no
belka0011
belka0011 le 31 Mar 2012
thanks for the reference...but I should use neural network and find artifacts after embedding digital watermarks in image
Walter Roberson
Walter Roberson le 31 Mar 2012
So there isn't any compression step?
Image Analyst
Image Analyst le 31 Mar 2012
belka, but you still didn't answer my questions.
belka0011
belka0011 le 31 Mar 2012
2walter: no compression, only embedding watermarks
belka0011
belka0011 le 31 Mar 2012
2image analyst: "Your method will likewise give a single number" yes.
And, yes, I will do psychophysical experiments
Image Analyst
Image Analyst le 31 Mar 2012
And what shortcomings do the current methods have that your method will overcome?
Walter Roberson
Walter Roberson le 1 Avr 2012
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.5.6925&rep=rep1&type=pdf

Connectez-vous pour commenter.

belka0011
belka0011 le 3 Avr 2012

0 votes

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 commentaires

Image Analyst
Image Analyst le 4 Avr 2012
Better than what? What do you have so far? I'd say the Neural Net Toolbox would be a good thing to help you realize it.
belka0011
belka0011 le 4 Avr 2012
Better for this aims, what performance function and what training function to use?
Image Analyst
Image Analyst le 4 Avr 2012
I don't use neural nets. Sorry - I can't help.
belka0011
belka0011 le 5 Avr 2012
anyway, thanks for your answers =)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Produits

Question posée :

le 27 Mar 2012

Community Treasure Hunt

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

Start Hunting!

Translated by