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

2 Ansichten (letzte 30 Tage)
Chandvi Arora
Chandvi Arora am 19 Jul. 2017
Kommentiert: Deo Kelvin am 28 Dez. 2021
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 Kommentare
Chandvi Arora
Chandvi Arora am 19 Jul. 2017
And what is the diiference between dctmtx and blockprocing the dct statement?
Deo Kelvin
Deo Kelvin am 28 Dez. 2021
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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 19 Jul. 2017
blockproc() the dct2() call.
  5 Kommentare
Chandvi Arora
Chandvi Arora am 20 Jul. 2017
Bearbeitet: Chandvi Arora am 20 Jul. 2017
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 am 20 Jul. 2017
iC = blockproc(C, [8 8], @(block) idct2(block.data));

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by