Closed fzgang111 closed 3 years ago
The block_idct
function is a strict generalization of IDCT. If you set block_size
= image_size, where
image_size` is the height and width of your image, then it should be identical to applying IDCT independently across the color channels. Hope this helps.
The
block_idct
function is a strict generalization of IDCT. If you setblock_size
= image_size, where
image_size` is the height and width of your image, then it should be identical to applying IDCT independently across the color channels. Hope this helps.
Thank you. I know why the block_idct is used.
I have read the paper and the code.The dct is used in the paper,but why the block_idct function is used in the code?I am very confused. @cg563