フィルターのクリア

mse calculation for part of matrix

2 ビュー (過去 30 日間)
nadia
nadia 2016 年 7 月 27 日
編集済み: nadia 2016 年 7 月 30 日
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?

採用された回答

Image Analyst
Image Analyst 2016 年 7 月 28 日
There is an immse() function.
  6 件のコメント
nadia
nadia 2016 年 7 月 30 日
編集済み: nadia 2016 年 7 月 30 日
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 2016 年 7 月 30 日
編集済み: nadia 2016 年 7 月 30 日
OK, thank you very much I got it.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by