0

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?

qwop
  • 97
  • 5
  • I'm not sure, but won't the `min` and `max` functions work on arrays/array blocks in MATLAB, too? – schnaader Feb 23 '11 at 17:57
  • May be the following link of interest http://lists.mpegif.org/pipermail/mp4-tech/2010-November/009486.html –  Apr 11 '11 at 06:14

2 Answers2

0

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

elcojon
  • 155
  • 8
0

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.

Tugrul Ates
  • 9,451
  • 2
  • 33
  • 59