Showing posts with label HDTV Calculators. Show all posts
Showing posts with label HDTV Calculators. Show all posts

Saturday, November 17, 2007

Screen Size Calculator

In 1080p, 1080i, and 720p I went into the abstract theory of HDTV resolution. Now for a more practical approach.

If you are in the market for a high-definition TV, you need to figure out what screen size to get. The screen size of a high-definition TV is its screen's diagonal measure in inches. For example, if an HDTV is advertised as having a 42" screen, then there are (nearly) 42 inches separating each pair of diagonally opposite corners of the screen.

Suppose you know that your new HDTV will be 10 feet from your eyeballs as you watch it from your accustomed seating position, and suppose the TVs you are looking at are 720p models featuring a horizontal resolution of 1280 pixels. If, in the table below, you enter 1280 (no commas, please!) as the horizontal pixel count and 10 as the seating distance, and click on "Calculate Now," the optimal screen size will be shown as 51 inches.

HDTV OPTIMAL SCREEN SIZE CALCULATOR
Enter horizontal pixel count:pixels
Enter seating distance in feet:feet
Optimal screen size:inches

This means a 51" 1280 x 720p HDTV would be, at a viewing distance of 10 feet, just about ideal. Any 1280 x 720p HDTV with a screen size near 51"— say, 49" to 53" — should do quite well.

By "1280 x 720p" I mean that the screen has 1280 pixels in each pixel row and 720 pixel rows up and down the screen. I specify the first number, 1280, because some HDTVs use a different number of pixels in each pixel row than their nominal format — in this case, 720p — supports. In my example, I am using the actual 1280 pixels per row specified for 720p digital television transmissions.

Since the final letter in 720p is "p," the pixel rows are lit up all at once in "p"-for-progressive fashion, rather than in "i"-for-interlaced mode, in which the even-numbered pixel rows are omitted in the first of two sequential screen refresh operations, then the odd-numbered rows are omitted in the next. (Of course, if the incoming digital TV signal is also interlaced, the TV does not actually omit any of its pixel rows.) The screen refresh mode, whether progressive or interlaced, actually has nothing to do with the horizontal resolution of the picture, stated as the number of pixels in each pixel row. It affects only temporal resolution: how often each pixel gets updated.

At that very same distance of 10 feet your eyes would not be able to pick up all the detail present on the screen of a noticeably smaller — say, 47" — 1280 x 720p HDTV. On the other hand, a noticeably larger, 56" 1280 x 720p model would present too little detail to satisfy your eyes at a viewing distance of 10 feet. The picture would look less crisp. Moving back just slightly to 11 feet away from this HDTV would remedy that situation.


The calculator shows that a "Full HD" 1920 x 1080i/p HDTV at 10 feet away would have to measure fully 77" diagonally to show you all its detail — try it in the table above! At 5 feet from your eyes, though, a set with that maximum-possible screen resolution of 1920 pixels per row could be a mere 38-incher. (The lesson here is that "Full HD" HDTVs have to be either very large or very close to your eyes to yield up all their glorious detail to your retinas.)

Some flat panel HDTVs offer 1366 pixels worth of horizontal resolution, whatever their 720p or 1080p nominal screen format might otherwise suggest. Often, the official resolution stated by the manufacturer is 1366 x 768. At a 12-foot seating distance, the optimal diagonal size of such a panel is 66". Other flat panels are limited to just 1024 pixels of resolution horizontally. At 12 feet, their optimal screen size is only 49".

With standard DVD fare, the upper limit on the horizontal resolution — that of the DVD itself, 720 pixels — will prove the limiting factor, no matter what the actual resolution of the HDTV. At 10 feet away from you, 720 pixels of horizontal resolution in the signal source demand just a 29" TV. But at 15 feet, that same standard DVD needs a 43" screen to show to best advantage.

If you watch nothing but standard-definition TV channels on your HDTV, the limiting factor becomes these channels' maximum available resolution. Stated in pixels across the width of screen, it's about 480 pixels per pixel row. At 10 feet away, a TV with a paltry 19-inch diagonal measurement would do! At 17 feet, you'd be forced to size up to a not-so-humongous 33".

Now, go ahead and play with the screen size calculator above to figure out what size HDTV you need!

This calculator assumes that the picture on an HDTV screen has an aspect ratio of 16 units wide per 9 units of height. It also assumes your eyes get all the picture detail they can handle when each pixel on the screen subtends an angle of 1/60° at your retinas. If it subtends a angle less than 1/60°, some of the fine detail in the picture effectively disappears — until you move closer to the set, thereby returning your retinas to the "sweet spot" where each pixel subtends 1/60°. If each pixel subtends an angle greater than 1/60°, on the other hand, your eye does not receive as much picture detail as it might wish, and the picture looks too "soft."

Sunday, June 12, 2005

Viewing Angle Calculator

Here's another calculator somewhat like my Viewing Distance Calculator. Except that this one computes the viewing angle in degrees for each viewing distance from 1 foot through 15 feet. You simply enter your diagonal screen size in inches. Then click on the Calculate Now button. For each increment in viewing distance of one foot, below it will appear the number of degrees subtended at your eyes' retinas by the two sides of the screen. (The asssumption is that the display is an HDTV with a widescreen aspect ratio of 16:9 or 1.78:1.)

VIEWING ANGLE CALCULATOR
Enter diagonal screen size in inches:inches
1 foot:2 feet:3 feet:4 feet:5 feet:
degreesdegreesdegreesdegreesdegrees
6 feet:7 feet:8 feet:9 feet:10 feet:
degreesdegreesdegreesdegreesdegrees
11 feet:12 feet:13 feet:14 feet:15 feet:
degreesdegreesdegreesdegreesdegrees
Viewing angles in the range between 26° and 36° are usually considered best for HDTV. For 1,920-horizontal-pixel 1080i HDTV, 31° gives you a seating position at which each pixel subtends 1 minute of arc on your retinas — the theoretical optimum, in terms of human visual acuity.

For 1,280-horizontal-pixel 720p HDTV, the theoretical optimum viewing angle is 21.5° — but you can probably move closer with no noticeable ill effect.

Saturday, June 11, 2005

Viewing Distance Calculator

Here is the viewing distance calculator I mentioned in More on Viewing Distance, in which I extolled the riveting, electrifying, immersive experience of watching HDTV from a position close enough to the screen to produce a "viewing angle" of somewhere around 30°:

VIEWING DISTANCE CALCULATOR
Enter screen diagonal size in inches:inches
Enter viewing angle in degrees:degrees
Recommended viewing distance:feet
Recommended viewing distance:screen heights
The calculator's purpose is to let you enter the diagonal screen size in inches of a 16:9 HDTV display along with a desired viewing angle, the angle in degrees subtended at your eyes by the two sides of the screen. Various experts recommend viewing angles such as 26° or 30° or 33° or 36° for full-fledged 1080i or 720p HDTV.

If you are lucky enough to have a TV that offers true 1080i resolution, with 1,920 pixels worth of detail across the screen, you may want to use 31 degrees as your viewing angle. It's the angle that makes each pixel subtend an arc of 1 minute on your retina — the smallest angle discernable by the eye. It requires a TV-to-you viewing distance of 3.2 screen heights.

For those of you with 720p resolution — 1,280 pixels horizontally — the equivalent viewing angle is 21.5 degrees, and the number of screen heights of distance from you to the screen will be 4.7. In other words, you will need to sit further back from the screen than with 1080i, if you don't want to be looking at pixels bigger that the smallest dot your eye can distinguish. (When I'm watching actual hi-def material, I personally do not find sitting closer to my own 720p monitor than 4.7 screen heights bothersome. So I recommend pretending you have true 1080i resolution, even if you don't.)

So enter your screen size and a desired angle, and when you click on the "Calculate Now" button, the calculator will tell you what viewing distance, expressed in feet and also in multiples of the screen's height, will produce that angle.

For my own future reference, here is how I managed to incorporate the calculator in this Blogger post. ("{" and "}" replace "<" and ">" in what follows.) First of all, Blogger does not permit the text of JavaScript scripts to appear right in the HTML of a post. But JavaScripts can appear between the {HEAD} and {/HEAD} tags in a Blogger template. So I put this there, just before {/HEAD}:

{!-- This is where JavaScript scripts go: --}
{div id="scripts"}

{script type="text/javascript" src="http://home.comcast.net/~epstewart/calcvdnew.js"}
{/script}

{/div}
{!-- This ends where JavaScript scripts go --}
I put the actual JavaScript code in the external file http://home.comcast.net/~epstewart/calcvdnew.js. (Actually, I created it locally on my Mac using TextEdit, then I uploaded it to my Comcast Personal WebPages using Fetch.)

Finally, I created a {TABLE}, within a {FORM}, within a {CENTER}'ed block. {TD} details in the table were specified in such a way as to interact with the (external) JavaScript function which I named, without much originality, compute(form).

For example, one of my table rows said:
{TR align=center}
{TD colSpan=2}{INPUT onclick="compute(this.form)" type=button value="Calculate Now"}{/TD}
{/TR}

It created the "Calculate Now" button in such a way as to cause it, when clicked on, to invoke the compute(form) JavaScript function.

Other table rows contained JavaScript-compatible language to either obtain as input or report as output the appropriate numeric values. These values matched variables defined in compute(form) in http://home.comcast.net/~epstewart/calcvdnew.js.

Note that I actually had to edit my table HTML to remove all line breaks. Though unsightly, it prevents browsers from adding spurious blank lines above the table as displayed, one for each line break embedded in the table.

I set things up this way so I could, if I want, come back at a future date and make more Blogger post-accessible JavaScripts. I would create and upload the script as a .js file on my Personal WebPages. I would insert a reference to that file in my template. Then I would enter as HTML in a regular post the necessary {FORM} and {TABLE} stuff to make use of the script.