home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / compress / research / 265 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.7 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!spool.mu.edu!agate!stanford.edu!morrow.stanford.edu!nova2.stanford.edu!mou
  2. From: mou@nova2.stanford.edu (Alex Mou)
  3. Newsgroups: comp.compression.research
  4. Subject: Re: Question about Quantization in the DCT domain
  5. Date: 11 Nov 1992 05:41:30 GMT
  6. Organization: Stanford University
  7. Lines: 31
  8. Message-ID: <1dq6eaINN892@morrow.stanford.edu>
  9. References: <1992Nov6.151148.7943@news2.cis.umn.edu>
  10. NNTP-Posting-Host: nova2.stanford.edu
  11.  
  12. In article <1992Nov6.151148.7943@news2.cis.umn.edu> bedros@loon.cs.umn.edu (Saad Bedros 625 7542) writes:
  13. >
  14. >working in quantization for the DCT coefficients, I know I can apply
  15. >MAX quantizer for the ac coefficients with a laplacian source,
  16. >But for the DC term, a uniform quantization is best.
  17. >What is the best approach for quantizing the DC term:
  18. > 1- calculate the min and max, then quantizing using 8 bits after
  19. >     normalization. in this case, the min and max should be transmitted.
  20. > 2- find a global max for the DC, normalize then quantize. I know in JPEG
  21. >    they use 16 as a quantization level.
  22.  
  23. From a hardware implementation point of view, finding a global max may
  24. need quite an amount of memories to accomodate all transformed blocks.
  25. This is the drawback I see in the second method.
  26.  
  27. >
  28. >What is the advantage to set the range between -128,128 instead 0,255
  29. >before taking the DCT ? ( I think that is what they do in JPEG)
  30. >
  31.  
  32. The advantage is to simplify H/W implementation.
  33. Hardware implementation usually uses 2's complement representation of 
  34. numbers. That is the cause.
  35.  
  36. >By the way, I was looking for a DCT in matlab, and I got one, not fast
  37. >but not slow if somebody is intersted.
  38. >
  39. >Saad Bedros
  40. >U of Minnesota 
  41.  
  42.  
  43.