Range in DCT coefficents MATLAB

2.2k views Asked by At

I am trying to find the range over which the coefficients of an 8 x 8 block varies for various block of an image. Do I need to generate a histogram for the values of is there a function in matlab?

2

There are 2 answers

0
Tugrul Ates On

For pixel values between [0, 255], 8x8 block DCT values can take values between -65280.0 and 65280.0 (±255x8x8). Some image and video codecs represent 8x8 block dct values in signed 16 bit integers in [−32768, 32767]. See JPEG article of Wikipedia for more information.

0
elcojon On

For pixel values between 0 and 255, the coefficients of for a 8x8 block 2d DCT can take the value ±16320