Jump to first Blog Entry.Blargh!Blog Entries Archive...Customer ServiceJump to Magical Hair

Details on Calculating Quality

Another Techno-Rant! Whee!

Observant readers may wish to call me out on the seemingly impossible quality improvement estimation from Malex's Thoughts in this week's Malex Minute episode. So, I present my logic here:

First, we establish that a full 1080-line HD wide-screen (16:9) image captured at 30F or 24F (progressive) will be 1920 pixels wide and 1080 pixels tall. For a total of 2,073,600 pixels.

That was simple enough. But from here comparison becomes difficult, because (for the purposes of this comparison) SD images are based on the analog NTSC (National Television Standards Committee) standard, which has no direct digital equivalent.

A regular NTSC signal has 525 scanlines between frames. Each of these scanlines may have as many "pixels" of vertical information as you have bandwidth to transmit. Most of these scanlines are actually invisible, as they occur outside the television's normal scan range, and they are often used to encode other information. (Such as closed captions.) To further confuse the situation, NTSC (Never Twice the Same Color) signals are usually interlaced at a rate of 60 half-frames per second. (Each interlaced frame contains information from two different moments in time, encoded as half-frames which are "interlaced" together by alternating lines.) Note: If this sounds confusing, there are two possible reasons: 1) I don't understand it, so my explanation is flawed. 2) It's confusing as all screamin' reality.

There may have been a reason for all of this at one time, but nobody has been able to sufficiently explain that part to me.

Anyway, so the practical upshot of all this is that, if you want to pull out a single moment of time, you have to discard half of the lines in your original image.

Now, we enter the digital realm. Standard definition digital video, such as the video you'll find on a DVD or in a DV stream, appears to pretty universally be 720 pixels wide and 480 pixels tall. (Remember how a number of the 525 scanlines in NTSC occur outside the television's scan range? That's one reason why there are only 480 lines in standard-definition digital video.)

Usually, that image is then compressed in the horizontal dimension to achieve a 4:3 "full-screen" image. Unless you're talking about a wide-screen DVD. Then the horizontal dimension is stretched slightly to achieve a 16:9 wide-screen image. That wide-screen image may then be displayed on a wide-screen monitor without any modifications, or displayed on an old television with the addition of black bars at the top and bottom.

Does that all still seem reasonable? It's about to get even more convoluted.

Enter the really crappy consumer digital camcorders from the past 15 years. Some of these came with a "wide-screen" shooting mode, which would result in exactly what you would expect from the output. Specifically, wide-screen video squeezed into a 720x480 pixel format.

The only problem with this? The camera's sensor is the wrong physical shape! It can't capture wide-screen video natively, so it chops off the top and bottom of the image. The result of which is that instead of using the 480 lines of resolution it's able to natively capture, we're only getting closer to 405 lines. (Or 360, depending on how you calculate it.) Then the camera silently and awkwardly scales that information up to fit the 480 line output requirement. (The reason it's impossible to be sure how many lines of resolution it's actually capturing is because this horrible scaling operation occurs inside the black box of how the camera operates. The details are completely hidden from view.)

Now, if you thought 405 lines of resolution was bad enough, you've got a surprise coming.

These consumer-quality SD camcorders force you to record interlaced video. You have no choice. Thus, if you want a single frame (which, if you'll recall, is what we're comparing) you've gotta discard exactly half of the lines you get from the camera.

So when you're in wide-screen mode, each moment in time is only represented by approximately 202.5 lines of resolution.

You couldn't even print that on a postage stamp without obvious image quality problems! Nevertheless, that image is regularly scaled up to a 30-inch television screen. Ick.

So when you follow that logic to its bitter, bitter conclusion, each moment in time is represented by an image whose total density is 720x202.5 pixels, which is a grand total of 145,800 pixels.

145,800 pixels compared to 2,073,600 pixels. That's 14.22 times more information.

So there you have how I came up with that number. And you have a rant.

Hope it makes some sense. :)

ttyl!

--Alex Markley

Comments

Nope

Hope it makes some sense.

Not to me, it doesn't. X-D

------------------------------

I get up, I walk, I fall down. Meanwhile, I keep dancing. - Hillel

We should take our comfort from God's word, not from the circumstances of our lives.

But...

"Thus, if you want a single frame (which, if you'll recall, is what we're comparing) you've gotta discard exactly half of the lines you get from the camera." -Malex

But, wouldn't you also take half the lines from the previous or the next frame, and interlace the two sets of 202-203 lines in order to get the original frame? I didn't think interlacing discarded any information; I thought it just kind of weaved the information among itself to make the frame rate seem higher (or to get away with a lower frame rate)...

-------

Can you truthfully and conclusively answer, "No," to this question?

Gaussian blur fixes everything!

Nope...

With an interlaced video system, you traditionally get 60 half-frames per second.

That means you get more slices of time, but less information per slice.

--Alex Markley

"Something tells me there's a monster in my soup."

Alex Markley

“Arrogance is bliss! Or is that ignorance? Either way, I win!”

Right...

Right, what I mean is, the key part there is more slices of time. You have twice the frame rate, but half the information per frame - so it evens out to the same. The only difference is in the image resolution. Right? :?

-------

Can you truthfully and conclusively answer, "No," to this question?

Gaussian blur fixes everything!

wellll

Yes and no. First, for the purpose of this comparison, we were looking at frame resolution as if it were the only factor in overall video quality. (Which, as you've pointed out, is not strictly true in the real world.)

Second, the important thing to remember is that interlacing isn't something you can simply reverse. One of the consequences of interlacing is that the reconstructed image will have artifacts which would not have been there if the image was captured progressively in the first place.

The thing to remember is that interlacing was invented as a way to make the best of a poor and limited technology. (early CRT televisions)

These days, our displays (such as LCD televisions, projectors, computer monitors of all types, etc.) cannot display interlaced content natively. They are progressive displays, so the video must be deinterlaced (usually by the software or hardware responsible for sending the video) before it will play correctly on them.

This awkward deinterlacing procedure usually results in not only a loss of temporal information, but of field (half-frame) resolution as well.

However, since we can easily push our digital video displays up in the neighborhood of hundreds of frames per second, the usefulness of interlacing (allowing more temporal information to be squeezed into lower framerate video) is completely negated.

So yeah. The future is progressive (ironically enough), and I'm glad our new camera is capable of recording progressive video.

ttyl!

--Alex Markley

"Something tells me there's a monster in my soup."

Alex Markley

“Arrogance is bliss! Or is that ignorance? Either way, I win!”

Ah...

"One of the consequences of interlacing is that the reconstructed image will have artifacts which would not have been there if the image was captured progressively in the first place." -Malex

Aha. That was what I didn't get before. :) Actually, that means that the exact ratio of information would probably be impossble to calculate, and would force you into study of the optical nerves and the brain anyway, wouldn't it? :D

-------

Can you truthfully and conclusively answer, "No," to this question?

Gaussian blur fixes everything!

A poem

slices of time

This is an interesting concept. There's a poem in there somewhere. But it could be cheesy, like a commercial, or truly poignant. Hmmm...

------------------------------

I get up, I walk, I fall down. Meanwhile, I keep dancing. - Hillel

We should take our comfort from God's word, not from the circumstances of our lives.

Slices of cheese?

On crackers?

------------------------------

Within the school system, our kids are being taught:

-Evolution-

-Humanism-

-Relativism-

If we won't teach our children ... the world will.

Everything looks perfect from far away.

Hmm...

It looks like this conversation is going somewhere really strange. o_o

-------

Can you truthfully and conclusively answer, "No," to this question?

Gaussian blur fixes everything!

eh ... who cares ;-)

I just finished eating some cheese and crackers. But there wasn't any poetry ... just Gorganzola :-)

-----------------------

Pessimist: the glass is half empty

Optimist: the glass is half full

Engineer: the glass is twice as big as it needs to be

SCI-EENNNNCE!!!!

Mmm-mmm

I had some yummy cheese in Ireland.

------------------------------

Within the school system, our kids are being taught:

-Evolution-

-Humanism-

-Relativism-

If we won't teach our children ... the world will.

Everything looks perfect from far away.

Weird Al

* sung to the tune of Time In A Bottle by Jim Croce. *

If I could serve time on some crackers.

------------------------------

I get up, I walk, I fall down. Meanwhile, I keep dancing. - Hillel

We should take our comfort from God's word, not from the circumstances of our lives.

Jump to first Blog Entry.Blargh!Blog Entries Archive...Customer ServiceJump to Magical Hair