mse calculation for part of matrix

1 vue (au cours des 30 derniers jours)
nadia
nadia le 27 Juil 2016
Modifié(e) : nadia le 30 Juil 2016
I have 2 matrix one is original image and second is the attacked image(512*512), now I should divide both of them to 31*31 blocks and then do DCT on these blocks, after that I consider 3 areas in each blocks ( suppose I divide block with 3 diagonal lines) and I should compute mse between DCT of original block and attacked block in each area? how can I do it?

Réponse acceptée

Image Analyst
Image Analyst le 28 Juil 2016
There is an immse() function.
  6 commentaires
nadia
nadia le 30 Juil 2016
Modifié(e) : nadia le 30 Juil 2016
I want to begin from index 1 to 14 in row and column to build above triangle but I do not know how to build poly2mask and make x and y? can you help me. the following image show which I want. can you guide me please?
nadia
nadia le 30 Juil 2016
Modifié(e) : nadia le 30 Juil 2016
OK, thank you very much I got it.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by