Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd March 2002, 12:26   #1  |  Link
Huge
Nice chap
 
Join Date: Nov 2001
Location: UK
Posts: 84
What is a quantizer?

I know it affect's the quality and size of a movie, but what are this things and how do they work?
Huge is offline   Reply With Quote
Old 22nd March 2002, 13:19   #2  |  Link
-h
Kilted Yaksman
 
-h's Avatar
 
Join Date: Oct 2001
Location: South Carolina
Posts: 1,303
Re: What is a quantizer?

Quick answer:

You have "information" which tells you about an image - not pixel data, but frequencies which *describe* pixels. Now that information can be quite complex, you could have values like:

112, -300, 1, 0, -1003, 24, 0, 0

Just as an example I pulled out of thin air. Now instead of storing these weird numbers (which would take up quite a bit of space), I propose that we divide them all by 100:

1, -3, 0, 0, -10, 0, 0, 0

Those numbers are a lot simpler. That is the idea behind quantization - get the "information" to describe pixel values (this is what the DCT does - transforms pixel data into frequency values), then divide the DCT result by a value to make them smaller, thus consuming less space. The value we divide them by is the quantizer.

That's not a 100% correct explanation, as there are different quantization models, different pre-dividing steps, etc., but that's the crux of quantization - throw away information through division.

-h
-h is offline   Reply With Quote
Old 9th April 2002, 11:52   #3  |  Link
OMX2000
Registered User
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 13
so higher quantizers means lower quality?
__________________
By any means necessary...
AKA Killah
OMX2000 is offline   Reply With Quote
Old 9th April 2002, 12:21   #4  |  Link
-h
Kilted Yaksman
 
-h's Avatar
 
Join Date: Oct 2001
Location: South Carolina
Posts: 1,303
Simple answer, yes. Correct answer, not always

-h
-h is offline   Reply With Quote
Old 9th April 2002, 12:34   #5  |  Link
OMX2000
Registered User
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 13
higher quantizers mean more compression, but more compression doesn't always mean lower quality... am i right?
__________________
By any means necessary...
AKA Killah
OMX2000 is offline   Reply With Quote
Old 9th April 2002, 12:44   #6  |  Link
-h
Kilted Yaksman
 
-h's Avatar
 
Join Date: Oct 2001
Location: South Carolina
Posts: 1,303
higher quantizers mean more compression,

The size of a frame is always inversely proportional to its quantizer, all other things equal. So yes that's true.

but more compression doesn't always mean lower quality... am i right?

It is possible to quantize a frame/area heavily, without influencing perceived (or even measured) quality. This can be messy.

-h
-h is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:17.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.