Luminous Landscape Forum

Equipment & Techniques => Cameras, Lenses and Shooting gear => Topic started by: ErikKaffehr on March 12, 2013, 01:58:21 am

Title: Megapixels and print size, a small experiment
Post by: ErikKaffehr on March 12, 2013, 01:58:21 am
Hi,

There was a recent discussion on print sizes, some posters argued that little difference can be seen in large prints from 12 MP and 36 MP cameras. I decided to make a small experiment. I took a reasonably well made picture from 24 MP Sony camera and made A4 print from 35% crops of

Original image
Image downsized using nearest neighbor to 12 MP and scaled back with bicubic
Image downsized using bicubic to 12 MP and scaled back with bicubic

Those prints would correspond to about 55x81 cm or 21"x31". What I have seen visually.

At distance, say 1.5 m, the images are quite similar. The image downsized to 12 MP with nearest neighbor has a bit more bite.

At medium distance the images are similar. The image downsampled with nearest neighbor is most crisp but gritty

At short distance the 24 MP image is sharpest, the nearest neighbor image jaggy and the 12 MPixel image still quite OK.

The enclosed screen shots shows a part of 300PPI scan of prints at actual pixels. This essentially shows that effects of the LR printing pipeline, dithering in printer driver, ink diffusion and adds some modifications in scanning. Processing was identical for all images.


Best regards
Erik
Title: Re: Megapixels and print size, a small experiment
Post by: hjulenissen on March 12, 2013, 03:47:32 am
I don't think that nearest neighbor is an accurate emulation of a lower-resolution camera (if that was your intention)? More like an OLPF-less, perfect lens, non-Bayer, poor micro-lense camera? Bicubic is probably not an accurate emulation of low-res cameras either, but perhaps better (?), and certainly more relevant to how people scale images in their computer.

Adding another dimension to your test could be tweaking sharpening until the 24MP and the bicubic up/down-sampled one are perceived as having similar crispness/bite to the NN. Does that also bring unwanted artifacts to the same level?

-h
Title: Re: Megapixels and print size, a small experiment
Post by: RobertJ on March 12, 2013, 04:47:35 am
Try PhotoZoom Pro with S-Spline Max.  There's never any jagged edges, no matter how big you enlarge, because it kind of turns the image into a vector.  You'll know when you go too large, because it will start to look like a painting, but I like it so much more than Bicubic, it's insane.  I haven't used Bicubic in years.
Title: Re: Megapixels and print size, a small experiment
Post by: ErikKaffehr on March 12, 2013, 04:49:54 am
Hi,

I wanted to emulate a non OLPF low res camera on the idea that it would cause fake detail that may give impression of better perceived sharpness.

I wanted to change as few parameters as possible.

Thanks for suggestions.

Best regards
Erik


I don't think that nearest neighbor is an accurate emulation of a lower-resolution camera (if that was your intention)? More like an OLPF-less, perfect lens, non-Bayer, poor micro-lense camera? Bicubic is probably not an accurate emulation of low-res cameras either, but perhaps better (?), and certainly more relevant to how people scale images in their computer.

Adding another dimension to your test could be tweaking sharpening until the 24MP and the bicubic up/down-sampled one are perceived as having similar crispness/bite to the NN. Does that also bring unwanted artifacts to the same level?

-h
Title: Re: Megapixels and print size, a small experiment
Post by: Bart_van_der_Wolf on March 12, 2013, 05:17:18 am
Hi,

I wanted to emulate a non OLPF low res camera on the idea that it would cause fake detail that may give impression of better perceived sharpness.

Hi Erik,

For that purpose, you'd probably get closer to the effect by not simply downsampling with nearest neighbor, but by (first) applying a binning operation with Photoshop's Filter|Pixelate|Mosaic... filter. It is limited to fixed pixel size blocks for binning though, so you may not be able to achieve an exact image size. After this you can use nearest neighbor with much more predictable results.

Anyway, it will probably not change your overall conclusions about how the image quality compares.

Cheers,
Bart
Title: Re: Megapixels and print size, a small experiment
Post by: PhotoEcosse on March 12, 2013, 06:03:07 am
You have saddled me up on one of my favourite hobby-horses, Erik - i.e. that the main reason for opting for a good hi-res sensor is not to be able to produce massive prints (Which should, in any case, be viewed from a reasonable distance) but, rather, to obtain much more data for processing.

If I print an A3+ print from the full frame of my D800 or D800E (36Mp) and compare it with a similar print from my D3s (12Mp), then there is no discernible difference in print quality. If I do an A3+ print from 10% of the full frame in each case, then I do start to see a difference. One of the ways in which I can use the 45Mb of lossless-compressed Raw file from the 36Mp sensor is to produce much tighter crops and still have printable resolution. But, of course, the other ways in which I can use all that data in the 45Mb Raw file are much more exciting and liberating than merely heavy cropping.
Title: Re: Megapixels and print size, a small experiment
Post by: Bart_van_der_Wolf on March 12, 2013, 07:01:59 am
You have saddled me up on one of my favourite hobby-horses, Erik - i.e. that the main reason for opting for a good hi-res sensor is not to be able to produce massive prints (Which should, in any case, be viewed from a reasonable distance) but, rather, to obtain much more data for processing.

Hi,

I don't view the matter as an either/or proposition. Both the upsampling potential is better, not only for the closer inspection of details but also for a higher fidelity in rendering surface structure, and we have more detail which allows more control over local contrast adjustment (and easier retouching of small details).

Quote
If I print an A3+ print from the full frame of my D800 or D800E (36Mp) and compare it with a similar print from my D3s (12Mp), then there is no discernible difference in print quality.

While it won't be a huge difference for some subject matter at that modest size, if you can't see any difference, then something is wrong. Maybe your subject matter doesn't require the realism that additional resolution potentially offers?

Cheers,
Bart
Title: Re: Megapixels and print size, a small experiment
Post by: PhotoEcosse on March 12, 2013, 07:08:31 am


While it won't be a huge difference for some subject matter at that modest size, if you can't see any difference, then something is wrong. Maybe your subject matter doesn't require the realism that additional resolution potentially offers?

Cheers,
Bart

Not really Bart.

My caveat, of course, should have been "with my printer" (an Epson R3000).

With a printer like that, printing at 300 dpi, you get as perfect an A3+ print from a 12Mp image as from a 36Mp image. What an amazing number of people fail to understand - including some experienced journalists on some of our most respected magazines - is that dpi and ppi bear no direct relationship to each other. You don't need a 300ppi digital file to get a 300dpi print.
Title: Re: Megapixels and print size, a small experiment
Post by: jrsforums on March 12, 2013, 07:25:32 am
I do not have an R3000.

However, if it is like other Epson's, you will get best results if you feed it 360ppi, not 300ppi....and usually, best results if you properly interpolate to 720ppi.

Title: Re: Megapixels and print size, a small experiment
Post by: Bart_van_der_Wolf on March 12, 2013, 08:45:16 am
However, if it is like other Epson's, you will get best results if you feed it 360ppi, not 300ppi....and usually, best results if you properly interpolate to 720ppi.

You're absolutely correct, and it has been discussed in several of the LuLa fora on a number of occasions.

Things start with good shooting technique (high enough shutterspeed, tripod, limited diffraction), then proper (deconvolution) Capture sharpening and image processing, then proper resampling to the printer's native output resolution (requires good resampling algorithms and proper printer driver settings), and finally sharpening the print file data (to compensate for the upsampling and pre-compenate for print medium losses). Larger format output obviously benefits more from such an approach.

Cheers,
Bart
Title: Re: Megapixels and print size, a small experiment
Post by: ErikKaffehr on March 12, 2013, 08:58:29 am
Hi,

I was using 360 PPI, upscaling by LR 4.3 and LR 4.3 Output sharpening. Note that the images I have posted were scanned from prints at 300 PPI.


Best regards
Erik

You're absolutely correct, and it has been discussed in several of the LuLa fora on a number of occasions.

Things start with good shooting technique (high enough shutterspeed, tripod, limited diffraction), then proper (deconvolution) Capture sharpening and image processing, then proper resampling to the printer's native output resolution (requires good resampling algorithms and proper printer driver settings), and finally sharpening the print file data (to compensate for the upsampling and pre-compenate for print medium losses). Larger format output obviously benefits more from such an approach.

Cheers,
Bart
Title: Re: Megapixels and print size, a small experiment
Post by: mac_paolo on March 12, 2013, 08:59:06 am
Not really Bart.

My caveat, of course, should have been "with my printer" (an Epson R3000).

With a printer like that, printing at 300 dpi, you get as perfect an A3+ print from a 12Mp image as from a 36Mp image. What an amazing number of people fail to understand - including some experienced journalists on some of our most respected magazines - is that dpi and ppi bear no direct relationship to each other. You don't need a 300ppi digital file to get a 300dpi print.
I have the very same printer. I usually print on Ilford Gold Fibre Silk.
I recently did a 30x45 cm print.
The shot have been made with a Nikon D300, 50mm f/1.8 D at around f/6.3, MLU and 3 seconds of wait between mirror rising and shot.
Focus adjusted in Live View.
Winter landscape with almost no haze at all, perfectly clear.

I -definitely- see margins of improvements here. Looking closely the detail is not that sharp at all.
Title: Re: Megapixels and print size, a small experiment
Post by: BJL on March 12, 2013, 09:21:42 am
There was a recent discussion on print sizes, some posters argued that little difference can be seen in large prints from 12 MP and 36 MP cameras. I decided to make a small experiment.
...
Those prints would correspond to about 55x81 cm or 21"x31". What I have seen visually.

At distance, say 1.5 m ...

At medium distance ...

At short distance ...
Thanks for this experiment Erik (from one of those "arguing posters"!).

I have one question: can you specify more precisely what you mean by  "medium" and "short" distances?
I am interested in "pixels per viewing distance" as a measure of what our visual systems detects.

Hopefully one is close to the effective full image width of 81cm, since my observations in galleries suggests that this is a common range for the viewing of large prints. (Paintings by the way are typically viewed from further away, further than the "normal" distance of image diagonal length. But most paintings are very low res. by photographic standards!)
Title: Re: Megapixels and print size, a small experiment
Post by: Ellis Vener on March 12, 2013, 11:18:54 am
A better way to do this is to start with a moderately high (20 to 26 MP) to higher resolution camera  and a high quality zoom lens with sufficent range to let you frame the subject at full frame resolution and then zoom out so that you keep the same framing of the subject and subject to camera distance when you crop the full resolution frame to lower pixel dimensions to emulate lower resolution cameras. The lighting needs to remain constant as well.

It is also important  that that the printing methodology, including  interpolation method and printing resolution remain constant from print to print as well.

These steps will eliminate as many variables as possible except for possible changes in resolution of real world detail caused by the lens being used at different focal lengths.

Title: Re: Megapixels and print size, a small experiment
Post by: ErikKaffehr on March 12, 2013, 12:28:25 pm
Hi,

Medium distance may be something like 80 cm, about arm's length. Short distance perhaps 25-35 cm. I'm middle aged and have progressive glasses. Being myopic (?), I can see pretty decently at short distances without glasses.

Best regards
Erik



Thanks for this experiment Erik (from one of those "arguing posters"!).

I have one question: can you specify more precisely what you mean by  "medium" and "short" distances?
I am interested in "pixels per viewing distance" as a measure of what our visual systems detects.

Hopefully one is close to the effective full image width of 81cm, since my observations in galleries suggests that this is a common range for the viewing of large prints. (Paintings by the way are typically viewed from further away, further than the "normal" distance of image diagonal length. But most paintings are very low res. by photographic standards!)
Title: Re: Megapixels and print size, a small experiment
Post by: BJL on March 12, 2013, 12:44:25 pm
A better way to do this is to start with a moderately high (20 to 26 MP) to higher resolution camera  and a high quality zoom lens with sufficent range to let you frame the subject at full frame resolution and then zoom out so that you keep the same framing of the subject and subject to camera distance when you crop the full resolution frame to lower pixel dimensions to emulate lower resolution cameras.
Yes, I was thinking the same thing.

It is also important  that that the printing methodology ... remain constant from print to print as well.
I admit that I would be happy to avoid the printing issues with a simpler approach: final viewing on-screen of crops to few enough pixels that screen resolution is not a limitation, and with the screen size and viewing distances specified. In fact, I will try this. I propose trying with viewing distances corresponding to something like 2000, 3000, 4000 and 5000 times the effective camera pixel pitch (the width of the screen area occupied by each camera pixel.)


P. S. Erik, thanks for your reply, which arrived as I was writing.
So your medium distance is almost exactly what I asked for, and what I call "close normal" because it seems common in viewing of large prints. I take it that with good downsampling (not NN), the 12MP is barely distinguishable from the 24MP at that close normal range.
Title: Re: Megapixels and print size, a small experiment
Post by: Ellis Vener on March 12, 2013, 01:40:43 pm
Okay to follow up on my earlier post, I've just shot a series wit ha Nikon D800 and AF-S 70-200mm f/4G ED VR. rather than worry about what focal length would match exact standard resolution ( 36, 24, 12 mp , etc.0 I simply shot at the marked focal lengths- 200, 135, 105, 85, and 70mm.  Exposure settings were Auto aperture at ISO 160, aperture set set to f/6.3.

I'll process in Lightroom and make crops to match the framing at 200mm. After identical processing I'll have a lab I trust make matching prints to show what each resolution looks like at 20 x 30 inches.
Title: Re: Megapixels and print size, a small experiment
Post by: ErikKaffehr on March 12, 2013, 03:52:48 pm
Hi,

The way I print, using the same image from Lightroom would be quite consistent I think.

Best regards
Erik


Yes, I was thinking the same thing.
I admit that I would be happy to avoid the printing issues with a simpler approach: final viewing on-screen of crops to few enough pixels that screen resolution is not a limitation, and with the screen size and viewing distances specified. In fact, I will try this. I propose trying with viewing distances corresponding to something like 2000, 3000, 4000 and 5000 times the effective camera pixel pitch (the width of the screen area occupied by each camera pixel.)


P. S. Erik, thanks for your reply, which arrived as I was writing.
So your medium distance is almost exactly what I asked for, and what I call "close normal" because it seems common in viewing of large prints. I take it that with good downsampling (not NN), the 12MP is barely distinguishable from the 24MP at that close normal range.
Title: Re: Megapixels and print size, a small experiment
Post by: PhotoEcosse on March 12, 2013, 06:20:42 pm
, if it is like other Epsons, you will get best results if you feed it 360ppi, not 300ppi....and usually, best results if you properly interpolate to 720ppi.



Hadn't heard that before - and will certainly give it a try to see what difference (if any) it makes. (I assume you meant dpi, not ppi, as the ppi of a file "fed to the printer" makes no difference whatsoever. It is the actual dimensions of the file that might make a difference.).

What a lot of folk don't understand is that, even with a bog-standard 3-colours plus black inkjet, 300dpi really means 75dpi for each cartridge.

The big difference between inkjet printing and traditional litho printing is that, in the latter, the dot-screen pitch was important, to the extent that, with a magnifying glass, you could actually see the printed dots. With an inkjet, of course, the dots of each ink spread on the paper and run into each other to produce something approaching a continuous tone., which is why the sensor resolution (my example of my D800 and D3s) makes much less difference to print quality than many people seem to imagine.

.
Title: Re: Megapixels and print size, a small experiment
Post by: jrsforums on March 12, 2013, 06:36:19 pm
While many use them interchangeably, they are different.

PPI = pixels per inch. It is what you feed te printer with.  Each printer, based on driver settings will expect a specific PPI.  If it does not get that, it will interpolate whatever it is fed to get what it wants.  While you may not think this taters, many testers have shown that it does.  Software interpolation is much better Han whatever is done in the driver.

DPI = dots per inch. It is what the printer puts on the paper. This is usually a spec...not necessarily what actually happens....and I really do not much care about the details, just the results.
Title: Re: Megapixels and print size, a small experiment
Post by: Schewe on March 12, 2013, 06:56:07 pm
Hadn't heard that before - and will certainly give it a try to see what difference (if any) it makes. (I assume you meant dpi, not ppi, as the ppi of a file "fed to the printer" makes no difference whatsoever. It is the actual dimensions of the file that might make a difference.).

Uh...no, that's not at all correct...ink jet printers report a specific resolution in DPI to the OS level print pipeline. For Epson that's normally 360 and HP/Canon it's 300 DPI. If you send an image that is at a different PPI>DPI ratio, guess what? The print pipeline will resample your image to the reported resolution. While I can't confirm it, the thought is at this point that resampling is either Nearest Neighbor (most likely) or Bi-Linear. So, do you really want your images resampled by the OS print pipeline that way?

No, you really, really DO want to send the correct resolution to the printer. for Epson it's either 360 or 720 PPI (the 720 is with Finest Detail selected) and 300/600 PPI for Canon/HP (depends on the printer resolution setting).

Ya might want to read this: The Right Resolution (http://www.digitalphotopro.com/technique/workflow/the-right-resolution.html)
Title: Re: Megapixels and print size, a small experiment
Post by: Jim Kasson on March 12, 2013, 07:54:24 pm
While I can't confirm it, the thought is at this point that resampling is either Nearest Neighbor (most likely) or Bi-Linear.

With the printers I have tested -- the Epson 3880, 3900, and 9800 -- it's nearest neighbor. I verified this with high-magnification scans of the prints (http://blog.kasson.com/?p=500).

Jim
Title: Re: Megapixels and print size, a small experiment
Post by: Jim Kasson on March 12, 2013, 10:57:59 pm
With the printers I have tested -- the Epson 3880, 3900, and 9800...

Oops. That's 4900.

Jim
Title: Re: Megapixels and print size, a small experiment
Post by: xpatUSA on March 13, 2013, 12:50:31 am
Given that the sensor resolution between 12 and 24MP is only different by a factor of about 40% it doesn't take too much post-processing to even images up, I reckon. I once did a shoot-out between my 3.4MP Sigma and a 12MP micro four-thirds, using QuickMTF to measure sharpness and MTF. Pixel pitch 9.12um versus 4.3um. On a per-pixel basis, the Sigma was a clear winner. However, when 12MP images were downsized to 3.4MP, it was hard to tell the difference.

Since I don't print photos, I can't offer anything re: up-sizing which, IMHO, is almost as bad as Bayer de-mosaicing quality-wise (just kidding, please don't jump me).

Ted.
Title: Re: Megapixels and print size, a small experiment
Post by: ErikKaffehr on March 13, 2013, 01:02:41 am
Hi,

The most correct wise to compare image to upres to a common size. Downsampling looses resolution but keeps some contrast but it also introduces aliasing artifacts, upsizing introduces less artifacts.

If you compare large pixels with small pixels at actual pixels the large pixels also win. Just don't forget that quantity has a quality of it's own.

If you don't print, you don't need many megapixels. Full HD i about 2 mega pixels.

Best regards
Erik


Given that the sensor resolution between 12 and 24MP is only different by a factor of about 40% it doesn't take too much post-processing to even images up, I reckon. I once did a shoot-out between my 3.4MP Sigma and a 12MP micro four-thirds, using QuickMTF to measure sharpness and MTF. Pixel pitch 9.12um versus 4.3um. On a per-pixel basis, the Sigma was a clear winner. However, when 12MP images were downsized to 3.4MP, it was hard to tell the difference.

Since I don't print photos, I can't offer anything re: up-sizing which, IMHO, is almost as bad as Bayer de-mosaicing quality-wise (just kidding, please don't jump me).

Ted.

Title: Re: Megapixels and print size, a small experiment
Post by: xpatUSA on March 13, 2013, 01:42:39 am

The most correct wise to compare image to upres to a common size.

Yes, that does appear to be the popular view. However, I'm not certain how it is applicable when the desired output is generally less than 2K wide. I would have thought that any re-sampling should match the desired output. Up for large prints, perhaps both up and down for A4, and certainly down for web shots. In other words, are you sure that up-sampling applies to all image comparisons?

Quote
Downsampling looses resolution but keeps some contrast but it also introduces aliasing artifacts, upsizing introduces less artifacts.

I believe that downsampling does not always introduce aliasing artifacts. Take, for example, an image having a sinusoidal pattern at less than half of the sensor's Nyquist frequency. Downsizing 50% would not produce any artifacts at all in that admittedly theoretical case. But the same statement would be true of a cloudscape, would it not?

What artifacts are introduced by up-sampling? Apart from blur, that is ;-)

Quote
If you compare large pixels with small pixels at actual pixels the large pixels also win. Just don't forget that quantity has a quality of it's own.

If you don't print, you don't need many megapixels. Full HD i about 2 mega pixels.

Thank you.

I read that 4K is coming, like we really need it. "I think I'll watch a movie. Pass my magnifying glass and bar stool, please . . . Wow, look at the detail in that grass!". I'm glad I'm old . . .

Ted
Title: Re: Megapixels and print size, a small experiment
Post by: ErikKaffehr on March 13, 2013, 02:59:36 am
Hi,

I checked upsizing on Bart's target and got artifacts.

http://bvdwolf.home.xs4all.nl/main/foto/down_sample/down_sample_files/Rings1.gif

Regarding downsampling: http://bvdwolf.home.xs4all.nl/main/foto/down_sample/down_sample.htm

I think it is reasonable to downsample to the resolution we need.

What I used to do to choose a print dimension say A2 or 70x100 cm at a given PPI (My lab suggests 200 PPI for 70x100 cm) and resize both comparison images to that size. That is the data that would go to the printer.

Sorry for the terse answer, I'm in a bit of hurry!

Best regards
Erik



I believe that downsampling does not always introduce aliasing artifacts. Take, for example, an image having a sinusoidal pattern at less than half of the sensor's Nyquist frequency. Downsizing 50% would not produce any artifacts at all in that admittedly theoretical case. But the same statement would be true of a cloudscape, would it not?

What artifacts are introduced by up-sampling? Apart from blur, that is ;-)

Thank you.

I read that 4K is coming, like we really need it. "I think I'll watch a movie. Pass my magnifying glass and bar stool, please . . . Wow, look at the detail in that grass!". I'm glad I'm old . . .

Ted
Title: Re: Megapixels and print size, a small experiment
Post by: hjulenissen on March 13, 2013, 04:06:13 am
I believe that downsampling does not always introduce aliasing artifacts.
In the generally, useful cases, where images have wide bandwidth (spatial detail) and filters have less than infinite stop-band attenuation you would tend to get some aliasing. The visibility of those artifacts is a matter of debate, of course.
Quote
What artifacts are introduced by up-sampling? Apart from blur, that is ;-)
There are many kinds of up-sampling algorithms. Linear scaling is best understood, and bicubic is an important subset of linear scaling algorithms. By varying two parameters in the bicubic formula, you get the classic trade-off presented by Mitchell in 1988:
(http://mynameismjp.files.wordpress.com/2012/10/mitchell_chart.png?w=548&h=496)

The optimal scaling algorithm may depend on the kind of input (circuit diagrams? pixel art? noisy cell-phone? OLPF-less MFDB?) and the viewing method (rgb triplet LCD display? inkjet printer?). Some might expect the scaling to do pre/post sharpening/smoothing to compensate for input/output deficiencies, but I think that such things ought to be done outside of the scaler.

Once you go into highly non-linear, signal-adaptive up-scaling, "everything" is possible. A smart scaler might guess that a particular object in an  image was a pine tree and substitute it for a high-resolution pine-tree in a local database. This might work if the guess is right (and a suitable replacement is found). However, if the object actually was something else, the artifact could be perceived as bad.

-h
Title: Re: Megapixels and print size, a small experiment
Post by: torger on March 13, 2013, 07:41:07 am
I think viewing distance is to some extent irrelevant, at least for fine art. To me a high quality fine art print should "look good" at any distance, even at nosing distance, it's a sign of a quality product. "Looking good" is a matter of taste, but to me any visible jaggies, aliasing, oversharpening, paintery-like look from fractal upsizing or whatever or other digital artifacts is *much* harder to accept than say visible film grain or just a generally soft image.

The best way to make a print look good at nosing distance is to have so much resolution in the original that you don't need to drop below 200 ppi or so, otherwise upsizing artifacts may become visible when you nose the print. I think this is one of the main advantages of having a high resolution digital back, that you can print (fairly) large without having to worry about digital scaling artifacts becoming visible up close.

I actually prefer to sacrifice some sharpness on "correct viewing distance" which may require over-sharpening halos to make the image look good up close.
Title: Re: Megapixels and print size, a small experiment
Post by: PhotoEcosse on March 13, 2013, 08:15:14 am


PPI = pixels per inch. It is what you feed te printer with.  Each printer, based on driver settings will expect a specific PPI.  If it does not get that, it will interpolate whatever it is fed to get what it wants.

Not really.

What matters is the actual dimensions of the file in pixels - e.g. 6400px x 4800 px.  That the file may have a ppi tag attached to it only determines how it will be displayed on a monitor. As far as the printer is concerned, it should treat the file identically irrespective of any ppi setting. It is if the image dimensions (i.e. the total number of pixels) are inadequate that it will invoke interpolation. However, as you correctly suggest, how the printer prints it will be determined by the dpi setting applied by the printer.

You will find a good explanation of the whole ppi/dpi dichotomy here: http://www.rideau-info.com/photos/mythdpi.html (http://www.rideau-info.com/photos/mythdpi.html)
Title: Re: Megapixels and print size, a small experiment
Post by: Bart_van_der_Wolf on March 13, 2013, 08:48:24 am
I am interested in "pixels per viewing distance" as a measure of what our visual systems detects.

It may not be easy to pin it to a single number because it depends on (assuming 'optimal' viewing conditions) contrast, resolution and the individual's eyes (and degree of optical correction).

For a meaningful (and fixed contrast, to eliminate one variable in the) measurement, one could use a resolution target that allows quantification at multiple scales of magnification. One could use a print of a target with many resolution levels, such as a 'Siemens' star target (http://www.openphotographyforums.com/forums/showthread.php?t=13217). When printed as instructed, 600 or 720 PPI to a 130mm square output size, at the perimeter of the 'star', the resolution is: (144 / Pi) / 100mm = 0.458 cycles/mm (~0.916 lines or pixels/mm, or 0.916 x 25.4 = 23.27 PPI).

When we increase our viewing distance to the target, there comes a point that the outer perimeter will no longer be resolved by our eyes. For me that point is approx. at 4.50 metres (4500mm) viewing distance, or 15x normal reading distance of 300mm. When we multiply 15 x 23.27 PPI we would get a resolution of 349 PPI at reading distance. This is for regular visual resolution, not Vernier acuity. Higher contrast features would give higher resolution and thus require higher PPI, and lower resolution obviously gets away with lower PPI.

That allows to determine the minimum required PPI at any distance (assuming our eyes have the same angular resolution at various distances). The additional printer resolution capability, 600 or 720 PPI, is used to allow Vernier acuity, higher contrast detail, and sharpening.

Quote
Hopefully one is close to the effective full image width of 81cm, since my observations in galleries suggests that this is a common range for the viewing of large prints. (Paintings by the way are typically viewed from further away, further than the "normal" distance of image diagonal length. But most paintings are very low res. by photographic standards!)

At 81cm the above situation would suggest 4500/810 = 5.56, multiplied by 23.27 PPI that gives 129 PPI resolution, and I'd use the double of that to allow for Vernier acuity / higher contrast detail / sharpening, so 258 PPI as a minimum for that viewing distance. Closer viewing will produce a sense of lacking resolution, for my eyes anyway.

This approach could produce a simple rule-of-thumb, e.g. in my case something like 105 PPI at 1 metre distance, 52.5 PPI at 2 metres, 210 PPI at 50cm, etc., and double that PPI for higher contrast detail, Vernier acuity, and sharpening.

Printing that amount of minimum detail would of course require up-sampling to the native printer resolution, to avoid suboptimal interpolation by the printer driver, and allow artifact free sharpening at that output resolution for the specific print material.

Cheers,
Bart
Title: Re: Megapixels and print size, a small experiment
Post by: xpatUSA on March 13, 2013, 01:37:17 pm
Not really.
. . . .

That the file may have a ppi tag attached to it only determines how it will be displayed on a monitor.

. . . .

I'm not sure that's correct, if I read it right.

I had a disagreement on the same thing in another forum. Do not the ppi figures in the EXIF metadata instruct the editor's printing function? Or was the statement to do with soft-proofing perhaps?

Certainly I showed two images on my screen with the same pixel dimensions but different ppi's and they rendered at exactly the same size on my monitor - a humble NEC multisync.

Title: Re: Megapixels and print size, a small experiment
Post by: Fine_Art on March 13, 2013, 01:37:52 pm
Raw Therapee has Lanczos resizing which is high quality.
Title: Re: Megapixels and print size, a small experiment
Post by: xpatUSA on March 13, 2013, 02:04:34 pm

I checked upsizing on Bart's target and got artifacts.

http://bvdwolf.home.xs4all.nl/main/foto/down_sample/down_sample_files/Rings1.gif


Thanks, yes, I have used that target before. It does not go well with too much beer ;)

I notice it does have a little bit of moiré built-in (due to quantization of the drawing algorithm ouput?)

Hope this doesn't hurt your eyes too much (left side, 1600%):

(http://kronometric.org/phot/iq/moire/bart_target/x1600crop29.442-87.487.gif)

But before reading H's well-detailed post, I had to play, and got a result you can see here (http://kronometric.org/phot/iq/moire/bart_target/compx1x1.414rings1.gif) (too big to embed in post).

On left, original image shown at 200%, on right image X1.414 'bi-cubic smoother' shown at 100%.

Certainly looks worse and makes me glad that I don't print anything!
Title: Re: Megapixels and print size, a small experiment
Post by: Bart_van_der_Wolf on March 13, 2013, 03:27:47 pm
Thanks, yes, I have used that target before. It does not go well with too much beer ;)

I notice it does have a little bit of moiré built-in (due to quantization of the drawing algorithm ouput?)

Hi Ted,

There should be no moiré visible, but the image must be viewed at 100% zoom, and is sensitive to gamma variation caused by viewing angle of the LCD display. When you move your eyes to the right viewing angle (only possible for one corner or edge at a time), there should only be sinusoidal waves with increasing spatial frequency towards the corners (where it's 2 pixels/cycle, i.e. diagonal Nyquist frequency).

Before resampling it must be (converted to) RGB mode, and 16-bits per channel helps. It's intended as a stress test for downsampling. An interesting upsampling test is that of a single pixel dot (e.g. RGB[200,200,200] on an RGB[50,50,50] background, or vice versa).

Cheers,
Bart
Title: Re: Megapixels and print size, a small experiment
Post by: jrsforums on March 13, 2013, 05:40:56 pm
Not really.

What matters is the actual dimensions of the file in pixels - e.g. 6400px x 4800 px.  That the file may have a ppi tag attached to it only determines how it will be displayed on a monitor. As far as the printer is concerned, it should treat the file identically irrespective of any ppi setting. It is if the image dimensions (i.e. the total number of pixels) are inadequate that it will invoke interpolation. However, as you correctly suggest, how the printer prints it will be determined by the dpi setting applied by the printer.

You will find a good explanation of the whole ppi/dpi dichotomy here: http://www.rideau-info.com/photos/mythdpi.html (http://www.rideau-info.com/photos/mythdpi.html)


I am afraid, as they say in the "old country"......you have it bassackwards...!!!
Title: Re: Megapixels and print size, a small experiment
Post by: Schewe on March 13, 2013, 06:29:32 pm
You will find a good explanation of the whole ppi/dpi dichotomy here: http://www.rideau-info.com/photos/mythdpi.html (http://www.rideau-info.com/photos/mythdpi.html)

Actually, no, that guy isn't right...first off, it's correct that the essential resolution is expressed as xxxx number of pixels by xxxx number of pixels for a digital image. However, to actually make a print, you have to define the size dimensions of a print as xx units by xx units at a given resolution. An image that is 2000 pixels by 3000 pixels can make a print that is 200 inches by 300 inches at 10 PPI or 6.66 inches by 10 inches at 300 PPI or 2.77 inches by 4.16 inches at 720 PPI...so, it's pretty clear that unit by unit at a specific resolution DOES matter, right?

Then, in terms of ink jet printers, the driver report the printer's resolution at a specific Dots per Inch (DPI). For Epson that's normally 360 DPI and 300 DPI for Canon/HP. If you send an image with a PPI that is different than the reported DPI of the printer, the print pipeline resamples the image to get the correct DPI into the printer. From there the printer takes the supplied DPI (resampled if need be) and does an error diffusion dither (stochastically) to arrive at the printers's resolution which is actually DPI but should be called droplets per inch because the original DPI is broken up into droplets. So an Epson is expecting a 360 PPI incoming resolution, the driver dithers the dots into multiple droplets based on the resolution setting set by the printer driver (such as 1440 x 720 or 2880 x 1440).

Note: The Epson CAN report 720 DPI to the print pipeline and the Canon/HP can report 600 DPI depending on the driver settings.

So, in point of fact, the image PPI is important and should match the reported printer DPI if you don't want the image resampled by the print pipeline because the resampling done by the pipeline sucks. The current assessment is that the resampling done by Mac and Windows pipelines are Nearest Neighbor, which really sucks but is used for speed. You would be far better off either setting the image PPI to a specific PPI resolution such as 360/720 or 300/600 and let the print dimensions float or resa,ple the image so the image size is as wanted and upsample to either 360 if the original native resolution is under that or up to 720 if the native is above 360 but below 720 PPI.

Read the article I mention earlier, The Right Resolution (http://www.digitalphotopro.com/technique/workflow/the-right-resolution.html).

P.S. ya might want to point that guy to this article...just sayin'

:~)
Title: Re: Megapixels and print size, a small experiment
Post by: BJL on March 13, 2013, 08:29:40 pm
It may not be easy to pin it to a single number because it depends on (assuming 'optimal' viewing conditions) contrast, resolution and the individual's eyes (and degree of optical correction).
Indeed, seeking a universal number is futile: I would be happy with a sense of (a) what my eyes need, and (b) what suffices for most people, say for a sample of young adults with 20/20 vision.

Quote
At 81cm the above situation would suggest 4500/810 = 5.56, multiplied by 23.27 PPI that gives 129 PPI resolution ...
That sound like a good starting point, and fits fairly well with the guideline of 12MP (or as I prefer, about 4000 pixels in the long dimension) for viewing for a distance comparable to the image diagonal.

Quote
... and I'd use the double of that to allow for Vernier acuity / higher contrast detail / sharpening, so 258 PPI as a minimum for that viewing distance.
I am not sure that the stricter Vernier acuity standard is relevant to much (non-technical) photography; if anything the hard black-to-white  transitions of those test patterns are sharper and more easily resolvable by our eyes than almost any edges in photographs of real-world objects. If I were interested in photographing from a drone at 15,000ft and then reading license plates with low-contrast color schemes, my standards would be higher.
Title: Re: Megapixels and print size, a small experiment
Post by: hjulenissen on March 14, 2013, 06:04:04 am
There are plenty of "real-world" tests of video resolution. I.e. stick a real-world LCD/Plasma display in front of one or more persons and lowpass filter/downsample the material until the viewer can distinguish it from some reference. By choosing a sufficiently high screen resolution, small display size and large viewing distance, one might assume that the limitations of the display resolution become irrelevant, and only the variable degradation matters.

Such displays can have higher contrast than paper, but the spatial characteristic is quite different. I believe that "1 minute of arc" pretty well sums the experiments up.

The BBC did some tests assuming the 2.7 meter mean/median (?) distance from the tv in British homes, assuming that the distance to the tv would not change with increasing (economic) tv sizes. They concluded that 1280x720 pixels transmitted would be sufficient up to something like 50" diagonal, and that a little sharpening could compensate for lower resolution. Other tests tend to assume that the viewing distance is 3x or 4x the height of the display.

I saw a very interesting demo at MIT tech museum, where they embedded two images into one. At close distance one might see e.g. a woman. At larger distances one might see a landscape. The impressive part was how few artifacts were present. I believe that they exploited that our contrast sensitivity function is "peaky" at some intermediate frequency, and is reduced for low and high frequencies:
(http://www.oculist.net/downaton502/prof/ebook/duanes/graphics/figures/v8/0170/005f.gif)
I assume that tonemapping and the "zoned LED backlight LCD" technology exploits similar traits.

So how does such experiments compare with experiments on paper?

-h
Title: Re: Megapixels and print size, a small experiment
Post by: Jim Kasson on March 14, 2013, 10:48:31 am
There are plenty of "real-world" tests of video resolution...

Good summary. Thanks.

To muddy the waters a bit, I'll point out that there are a material number of people whose acuity significantly exceeds what we call normal. Look at the introduction of this paper (http://link.springer.com/article/10.1007%2FBF00413146?LI=true#page-1). We don't have the same level of statistics on these "super see-ers" that we do on people with "normal" vision or worse, because screening tests typically stop at 20/20 (I've seen reports of people who could see at 20/8), and if they go on after that, the steps get pretty big.

Here's a paper (http://www.ncbi.nlm.nih.gov/pubmed/3975047) that attempts to estimate a probability density function (histogram, to photographers)  for visual acuity.

My take-home lesson from these studies is that just because I can't see it doesn't mean that somebody else can't, and, if I am able, I tend to err on the side of too much data. I simulate what someone with really good eyes can see by getting close.

Jim
Title: Re: Megapixels and print size, a small experiment
Post by: Bart_van_der_Wolf on March 15, 2013, 08:38:34 am
This approach could produce a simple rule-of-thumb, e.g. in my case something like 105 PPI at 1 metre distance, 52.5 PPI at 2 metres, 210 PPI at 50cm, etc., and double that PPI for higher contrast detail, Vernier acuity, and sharpening.

To expand a little bit further for an 'average' person (which I'm not ;) ) with 1 arc minute acuity (20/20 vision), and for the theoretically best possible visual acuity 0.4 arc minute (due to the size limits of the human eye's cones):

Rule of thumb for the required PPI for viewing (large format) output at a given distance:
Divide by the viewing distance in metres to find the required minimum PPI.

For the metrically challenged this would become:
Divide by the viewing distance in feet to find the required minimum PPI.

This is before upsampling to the printer driver's native resolution (to avoid low quality printer driver interpolation, and to allow output sharpening at the printer's native output resolution).

I still recommend to use twice that minimum PPI requirement if one wants to exploit output sharpening to its maximum potential, and make sure that the most critical subjects (requiring Vernier acuity) with high contrast will be accommodated with very high quality.

Here (http://michaelbach.de/ot/lum_hyperacuity/index.html) is a nice demonstration of what Vernier acuity is capable of. The best I can achieve with that test is 0.02 pixels at half a metre viewing distance, which would translate for my display resolution to some 3183 PPI at 1 metre, i.e some 25x the display PPI, and some 14.6x the  maximum spatial resolution limit of 0.4 arc minutes. Therefore, the above recommendation of using 2x the PPI that the rule of thumb suggests is not unrealistic.

Cheers,
Bart
Title: Re: Megapixels and print size, a small experiment
Post by: hjulenissen on March 15, 2013, 09:18:01 am
Here (http://michaelbach.de/ot/lum_hyperacuity/index.html) is a nice demonstration of what Vernier acuity is capable of. The best I can achieve with that test is 0.02 pixels at half a metre viewing distance, which would translate for my display resolution to some 3183 PPI at 1 metre, i.e some 25x the display PPI, and some 14.6x the  maximum spatial resolution limit of 0.4 arc minutes. Therefore, the above recommendation of using 2x the PPI that the rule of thumb suggests is not unrealistic.
I never heard of Vernier acuity before, thanks for the link.

Not sure that I understand the reasoning, though. The demo seems to indicate that a properly anti-aliased edge can be positioned to within subpixel accuracy. That is fully in line with sampling theory (i.e. reconstruction by a sinc shifted by subpixel amounts). How can this be used as an argument for higher resolution? It shows that if there were such edges in the scene, you would still be able to position them correctly to within subpixel accuracy, provided that good sampling/resampling was used throughout.

-h
Title: Re: Megapixels and print size, a small experiment
Post by: Bart_van_der_Wolf on March 15, 2013, 11:16:13 am
I never heard of Vernier acuity before, thanks for the link.

Not sure that I understand the reasoning, though.

Just have a look at a Vernier Caliper scale (http://en.wikipedia.org/wiki/Vernier_scale). That should explain the concept. Human vision can resolve lines that are relatively offset, with more than 10x higher resolution than simple spatial resolution.

Quote
The demo seems to indicate that a properly anti-aliased edge can be positioned to within subpixel accuracy. That is fully in line with sampling theory (i.e. reconstruction by a sinc shifted by subpixel amounts). How can this be used as an argument for higher resolution? It shows that if there were such edges in the scene, you would still be able to position them correctly to within subpixel accuracy, provided that good sampling/resampling was used throughout.

The point being that we need enough pixels to position the anti aliased edges, even if we can no longer resolve the details themselves with our eyes. Edges at an angle will look even less jagged. Our eyes can detect relative displacement with more than 10x higher resolution than the detail size itself.

Cheers,
Bart
Title: Re: Megapixels and print size, a small experiment
Post by: hjulenissen on March 15, 2013, 03:36:36 pm
Just have a look at a Vernier Caliper scale (http://en.wikipedia.org/wiki/Vernier_scale). That should explain the concept. Human vision can resolve lines that are relatively offset, with more than 10x higher resolution than simple spatial resolution.
That part I got.
Quote
The point being that we need enough pixels to position the anti aliased edges, even if we can no longer resolve the details themselves with our eyes. Edges at an angle will look even less jagged. Our eyes can detect relative displacement with more than 10x higher resolution than the detail size itself.
Yes, but if we can detect "blobs" shifted at e.g. 1/10th pixel accuracy when captured and rendered using relatively large pixels, why does this tell us that we need to capture and render them using any smaller pixels? The filtering used in front of the camera sensels, in any image scaling and in the printer/display rendering all are more or less crude approximations to the ideal filters (some cruder than others). This experiment does not prove (AFAIK) that the edge has to be rendered as an infinitely sharp edge?

This reminds me of a debate about the supposed inadequacy of the CD format.

Audiophile: "humans are capable of detecting relative delay between right/left channels of less than 1/44100 second, therefore CD sucks".

Rationalist: "but the sampling theorem tells us that if one channel is delayed by a fraction of a sample, this can be recorded and recreated very accurately"

-h
Title: Re: Megapixels and print size, a small experiment
Post by: Bart_van_der_Wolf on March 15, 2013, 04:13:00 pm
That part I got.Yes, but if we can detect "blobs" shifted at e.g. 1/10th pixel accuracy when captured and rendered using relatively large pixels, why does this tell us that we need to capture and render them using any smaller pixels?

Because real detail is more accurate than interpolated detail?

Quote
The filtering used in front of the camera sensels, in any image scaling and in the printer/display rendering all are more or less crude approximations to the ideal filters (some cruder than others). This experiment does not prove (AFAIK) that the edge has to be rendered as an infinitely sharp edge?

The experiment shows that Vernier acuity is more than 10x higher than normal spatial acuity (e.g. Landolt C). Sharpness is something else.

Quote
This reminds me of a debate about the supposed inadequacy of the CD format.


It reminds me more of the difference between a low pixel count sensor with or without AA-filter, or resampling with BiLinear or BiCubic filters. It's about accuracy.

Cheers,
Bart
Title: Re: Megapixels and print size, a small experiment
Post by: hjulenissen on March 16, 2013, 04:51:37 am
Because real detail is more accurate than interpolated detail?
Interpolation is required by the sampling theorem for recreating a general waveform. As long as the waveform is limited to <fs/2, it can, in principle be perfectly recovered. Notions of "real detail" vs "interpolated detail" does not fit very well with my understanding of sampling theory.

If your "blob" is several pixels wide, then shifted (e.g. using fractional delay windowed sinc) by a subpixel amount, it can still be within fs/2, accordingly its continous counterpart can be perfectly estimated from its finite set of samples. Resampling it at a higher rate may be a work-around for the deficiencies of a particular system, but I see no general reason to do so.

-h
Title: Re: Megapixels and print size, a small experiment
Post by: Bart_van_der_Wolf on March 16, 2013, 07:57:27 am
Interpolation is required by the sampling theorem for recreating a general waveform. As long as the waveform is limited to <fs/2, it can, in principle be perfectly recovered. Notions of "real detail" vs "interpolated detail" does not fit very well with my understanding of sampling theory.

Hi,

Then let's try this, as a practical example:
(http://bvdwolf.home.xs4all.nl/temp/LuLa/Vernier.png)

The image at the top shows 4 lines, 4, 3, 2, and 1 pixel wide, and is divided in 4 horizontal sections. Sections 2 and 3 from the top each are displaced by 1 pixel versus the section above it. Therefore the offset of the 3rd versus the 4th section is 2 pixels. I then downsampled the image to 25% of its original size, and added it underneath on a gray background.

We can still see the, by now one quarter and one half pixel, displacements. However, the 'one quarter pixel wide line' at the right is more accurate and doesn't seem to jump as much as the fatter lines. Also compare the 1 pixel wide line of the image at the top right, with the 1 pixel wide line of the bottom image at the left. That's where the additional resolution can help. If we hadn't recorded the detail with an accuracy of 1/4th of a pixel, we could still see the displacement due to Vernier acuity, but it would look more jagged, less accurate.

That's why I suggest to do use some additional resolution capability, in order to better exploit the capabilities of the printer. That also opens the possibility of higher quality sharpening. But we do not need much more than what we can resolve by eye at the minimum anticipated viewing distance.

Cheers,
Bart
Title: Re: Megapixels and print size, a small experiment
Post by: hjulenissen on March 16, 2013, 10:04:24 am
Thank you for taking the time to demonstrate your point.

Now, the lines are not bandlimited, and the resampling procedure is unknown. In practice, most cameras/lenses are not capable of such step functions. What happens if you bandlimit the original image to fs/2, then resample using something like lanczos2/3?

The display filtering (boxcar filter for most of us) is one big deviation from ideal theory, unless you have a "retina"-branded display where the errors are shifted to frequencies where they probably does not matter. But I imagine that printers behave very differently: they have at their access a (comparatively) continous space to place the dots, only demands of DR means that they have to dither the quantization error over some area.

-h
Title: Re: Megapixels and print size, a small experiment
Post by: Bart_van_der_Wolf on March 16, 2013, 11:48:01 am
Thank you for taking the time to demonstrate your point.

Now, the lines are not bandlimited, and the resampling procedure is unknown. In practice, most cameras/lenses are not capable of such step functions. What happens if you bandlimit the original image to fs/2, then resample using something like lanczos2/3?

Here is the original from the earlier post, and a bandpass limited version of it which was then downsampled with Lanczos3:
(http://bvdwolf.home.xs4all.nl/temp/LuLa/Vernier.png)  (http://bvdwolf.home.xs4all.nl/temp/LuLa/Vernier2.png)

Cheers,
Bart