필터 지우기
필터 지우기

how to calculate energy of each 8*8 blocks of DCT coefficient values?

조회 수: 2 (최근 30일)
Aberna P
Aberna P 2022년 11월 24일
댓글: Aberna P 2022년 11월 30일
Hepl me out to compute energy of each pixel of image or set of pixel? will it be possble? They have given formula to calculate energy=summation(i,j) ||C||2? what does it mean?Mention some code to calculate energy of each pixel or block

채택된 답변

Nadia Shaik
Nadia Shaik 2022년 11월 29일
Hi Aberna,
I understand that you want to calculate the energy stored in DCT coefficients. The energy compaction property of DCT tells that you can reconstruct a signal from only a fraction of its DCT coefficients.
You can calculate the energy stored in DCT coefficients by applying 'norm' function to the DCT coefficients matrix. For more information please refer the example Energy Stored in DCT Coefficients.
I hope this helps.
  댓글 수: 1
Aberna P
Aberna P 2022년 11월 30일
Thanks for the response Nadia. But my doudt is, for each pixel i need to calculate energy? Will that be posiible? what ever be the transform we use i want to get energy values of each pixel? Help me Out if u can...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by