I want to find DCT of a gray scale image. How to do it?

조회 수: 2 (최근 30일)
Chandvi Arora
Chandvi Arora 2017년 7월 19일
댓글: Deo Kelvin 2021년 12월 28일
The gray scale image is divided into 8*8 blocks. How to find DCT of EACH 8*8 block and display dct of one block? Further, how to quantize the dct of each block?
  댓글 수: 2
Chandvi Arora
Chandvi Arora 2017년 7월 19일
And what is the diiference between dctmtx and blockprocing the dct statement?
Deo Kelvin
Deo Kelvin 2021년 12월 28일
hello..can I ask for your coding? I am new to Matlab and my problem is the same as yours. You can send it to my email febbyfitri28@gmail.com. Thank you in advance, I really appreciate your kindness. @Chandvi Arora

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

채택된 답변

Walter Roberson
Walter Roberson 2017년 7월 19일
blockproc() the dct2() call.
  댓글 수: 5
Chandvi Arora
Chandvi Arora 2017년 7월 20일
편집: Chandvi Arora 2017년 7월 20일
C = blockproc(grayImage, [8 8], @(block) dct2(block.data)); This statement gives an output as in the attached image. please guide me through.
Walter Roberson
Walter Roberson 2017년 7월 20일
iC = blockproc(C, [8 8], @(block) idct2(block.data));

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

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by