Pages: [1] 2 3   Go Down

Author Topic: PPI > DPI total confusion  (Read 9502 times)

ralph257

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
PPI > DPI total confusion
« on: August 13, 2017, 12:04:24 pm »

While listening to a lecture on "Fine Art Printing" given by a member of my photo club
he proceeded to tell us that since Epson Stylus pro printers were native resolution 360
it is wise to only send the printer files of that rez so the printer does not upscale or downscale them.
 Now, My understanding is Inkjets don't print pixels they print dots, and inkjets print Stochastically and dither
as opposed to printing on a line screen as offset does.
 It seems as though their is much confusion in this regard
Where is the best source both for terminology and understanding of these problems? :-\
Logged

Mark D Segal

  • Contributor
  • Sr. Member
  • *
  • Offline Offline
  • Posts: 12512
    • http://www.markdsegal.com
Re: PPI > DPI total confusion
« Reply #1 on: August 13, 2017, 12:18:37 pm »

Page 130 of Jeff Schewe's "The Digital Print".
Logged
Mark D Segal (formerly MarkDS)
Author: "Scanning Workflows with SilverFast 8....."

Garnick

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 1229
Re: PPI > DPI total confusion
« Reply #2 on: August 13, 2017, 12:24:00 pm »

While listening to a lecture on "Fine Art Printing" given by a member of my photo club
he proceeded to tell us that since Epson Stylus pro printers were native resolution 360
it is wise to only send the printer files of that rez so the printer does not upscale or downscale them.
 Now, My understanding is Inkjets don't print pixels they print dots, and inkjets print Stochastically and dither
as opposed to printing on a line screen as offset does.
 It seems as though their is much confusion in this regard
Where is the best source both for terminology and understanding of these problems? :-\

In my opinion, Jeff Schewe's book "The Digital Print" is a good place to start.  It will answer a lot of your printing questions, including the one you have posted here.

Gary

WOOPS!!!  Sorry Mark, I guess we were both writing simultaneously with the same information. 
Logged
Gary N.
"My memory isn't what it used to be. As a matter of fact it never was." (gan)

ralph257

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
Re: PPI > DPI total confusion
« Reply #3 on: August 13, 2017, 12:24:19 pm »

it is already ordered and I await delivery
But why do ppl confuse this issue so?
Logged

Mark D Segal

  • Contributor
  • Sr. Member
  • *
  • Offline Offline
  • Posts: 12512
    • http://www.markdsegal.com
Re: PPI > DPI total confusion
« Reply #4 on: August 13, 2017, 12:29:36 pm »

In my opinion, Jeff Schewe's book "The Digital Print" is a good place to start.  It will answer a lot of your printing questions, including the one you have posted here.

Gary

WOOPS!!!  Sorry Mark, I guess we were both writing simultaneously with the same information.

Fun we both we went to the same place at the same time!
Logged
Mark D Segal (formerly MarkDS)
Author: "Scanning Workflows with SilverFast 8....."

Mark D Segal

  • Contributor
  • Sr. Member
  • *
  • Offline Offline
  • Posts: 12512
    • http://www.markdsegal.com
Re: PPI > DPI total confusion
« Reply #5 on: August 13, 2017, 12:38:46 pm »

it is already ordered and I await delivery
But why do ppl confuse this issue so?

Well, it's not really confusion - it's two different things that need different terminology so we know what we're talking about. PPI, pixels per inch, is the resolution of the photo. The printer needs a fixed input resolution from which to do its work, (for example the 360 nozzles per inch of an Epson printhead). The printer needs to reproduce image pixel values by mixing and spreading ink dots to render each pixel's colour values, and that's where the ink droplets, dithering and screening business comes in.
Logged
Mark D Segal (formerly MarkDS)
Author: "Scanning Workflows with SilverFast 8....."

Mark D Segal

  • Contributor
  • Sr. Member
  • *
  • Offline Offline
  • Posts: 12512
    • http://www.markdsegal.com
Re: PPI > DPI total confusion
« Reply #6 on: August 13, 2017, 01:16:43 pm »

I should add another excellent source of information on all this - very detailed - Chapter Two of Harald Johnson's "Mastering Digital Printing - Second Edition". It's older (2004), but the basics on this stuff don't change. (Disclaimer: I made a pro bono contribution to this book on testing scanner resolution for print quality).

Amazon-Mastering Digital Printing
Logged
Mark D Segal (formerly MarkDS)
Author: "Scanning Workflows with SilverFast 8....."

Garnick

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 1229
Re: PPI > DPI total confusion
« Reply #7 on: August 13, 2017, 01:29:14 pm »

I should add another excellent source of information on all this - very detailed - Chapter Two of Harald Johnson's "Mastering Digital Printing - Second Edition". It's older (2004), but the basics on this stuff don't change. (Disclaimer: I made a pro bono contribution to this book on testing scanner resolution for print quality).

Amazon-Mastering Digital Printing

Yes again Mark, we are on the same wavelength I believe.  However, I had forgotten about this book(first edition), which resides on a shelve just above my work station.  Probably the first digital printing book I purchased, 2004 I think. Excellent reference source as well.

Gary     
« Last Edit: August 13, 2017, 01:33:28 pm by Garnick »
Logged
Gary N.
"My memory isn't what it used to be. As a matter of fact it never was." (gan)

Jim Kasson

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2370
    • The Last Word
Re: PPI > DPI total confusion
« Reply #8 on: August 13, 2017, 02:08:11 pm »

Well, it's not really confusion - it's two different things that need different terminology so we know what we're talking about. PPI, pixels per inch, is the resolution of the photo. The printer needs a fixed input resolution from which to do its work, (for example the 360 nozzles per inch of an Epson printhead). The printer needs to reproduce image pixel values by mixing and spreading ink dots to render each pixel's colour values, and that's where the ink droplets, dithering and screening business comes in.

Epson and Canon printer drivers need a fixed resolution to make their error diffusion algorithms work, but it doesn't have to be that way:

http://blog.kasson.com/the-last-word/lets-do-away-with-resampling-for-printing/

Jim

NAwlins_Contrarian

  • Full Member
  • ***
  • Offline Offline
  • Posts: 229
Re: PPI > DPI total confusion
« Reply #9 on: August 13, 2017, 07:14:43 pm »

Quote
The printer needs a fixed input resolution from which to do its work, (for example the 360 nozzles per inch of an Epson printhead). The printer needs to reproduce image pixel values by mixing and spreading ink dots to render each pixel's colour values, and that's where the ink droplets, dithering and screening business comes in.

As a matter of programming in their current drivers, that appears to be correct, but:

Quote
Epson and Canon printer drivers need a fixed resolution to make their error diffusion algorithms work, but it doesn't have to be that way:

I need to read Jim's blog post, but it has struck me as odd the way printer manufacturers insist on, say, using the printhead's 5760x1440 ink dots per ink to render precisely 360x360 image pixels per inch, i.e., to insist on using a 16x4 dot array of positions into which to place one (or none) dot of one of the of the 4, 6, 10, whatever ink colors, and thereby simulate continuous tone for each pixel. There may have been a time when computing hardware was slow enough that this simplification (or at least this degree of pre-processing) was necessary for good function. But if I decide in any particular case that image fine detail isn't that important and smooth tonality is, why can't I, say, choose to use the physically-available 5760x1440 ink dots to render 240x240 pixels per inch with 24x6 ink dots per pixel? Or going in the other way, as as been suggested around here and elsewhere, if I decide that fine detail is more important than smooth tonality for a specific image, then I may want to use 5760x1440 ink dots to render 720x720 pixels per inch with 8x2 ink dots per pixel--why not? Defaults and recommendations are all fine. But I don't see any good reason not to let knowledgeable users select at least any evenly-divisible value along this continuum, based on their personal preferences and the needs of the particular image being printed.
Logged

Doug Gray

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2205
Re: PPI > DPI total confusion
« Reply #10 on: August 13, 2017, 08:11:31 pm »

Epson and Canon printer drivers need a fixed resolution to make their error diffusion algorithms work, but it doesn't have to be that way:

http://blog.kasson.com/the-last-word/lets-do-away-with-resampling-for-printing/

Jim

But if the resampling is done by their driver how do they get the colors into linear space which is needed for proper driver resampling?  The driver doesn't have that info does it?
Logged

Farmer

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2848
Re: PPI > DPI total confusion
« Reply #11 on: August 13, 2017, 08:54:27 pm »

In terms of why you can't just build your own matrix?  Well, at any given pixel representation you have to not only decide what size dot (if the printer has variable dot sizes) of each colour and its placement to build that pixel representation, but also how it affects the representation of the colour pixel next to it (which means all around it), and to minimise metamerism and so on.  The LUT that the printers have available in terms of matching combinations to achieve not only the individual pixel representation but also the total effect of all the represented pixels is huge.  It's in the hundreds of billions of possibilities.  Then it depends on the output resolution you want (trading accuracy against speed), whether you're printing uni or bi directional (again accuracy with speed), considering the media and the drying times and so on.

If you open that up to "any matrix you like" means not only increasing the combinations and the processing needed to render that image, but also an expectation that users know what the impact is of changing the matrix.  It also impacts on the physical precision and movement of paper and print heads to achieve those results and, if there's a print quality issue, the problem of trying to diagnose whether it's the custom matrix or something else doing it.

Jim's article addresses some of these complexities, but I think it misses the vast amount of data involved in the LUT for the colour decisions.  The more variables, the bigger that becomes and the more choices that need to be made.  And, most importantly, where is the evidence to suggest that the current iterations aren't already quite optimal compared to others that might be proposed?  In other words, if you allow change, what is the return on investment?  How much better (if at all) would a print be compared to the cost in time, money, computing power, and so on?

Even RIP vendors don't venture outside of these realms, and if you have seen the time taken to RIP large images on even the fastest hardware you'll realise that it's still processor intensive and produces very large rasterised image files.
Logged
Phil Brown

Jim Kasson

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2370
    • The Last Word
Re: PPI > DPI total confusion
« Reply #12 on: August 13, 2017, 11:16:15 pm »

I need to read Jim's blog post, but it has struck me as odd the way printer manufacturers insist on, say, using the printhead's 5760x1440 ink dots per ink to render precisely 360x360 image pixels per inch, i.e., to insist on using a 16x4 dot array of positions into which to place one (or none) dot of one of the of the 4, 6, 10, whatever ink colors, and thereby simulate continuous tone for each pixel.

The halftoning algorithm used by Epson (and, I presume, Canon) is more sophisticated than that, using error diffusion with blue noise added to break up the "worms". Thus, the "target" image from which the error is computed is sampled coarsely compared to the marking engine resolution, but the error is computed at each marking-engine-addressable point.

Jim

Jim Kasson

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2370
    • The Last Word
Re: PPI > DPI total confusion
« Reply #13 on: August 13, 2017, 11:20:14 pm »

But if the resampling is done by their driver how do they get the colors into linear space which is needed for proper driver resampling?  The driver doesn't have that info does it?

First off, it is not clear at all that resampling is best done in a linear space. That's how Lr did it in their earlier releases, and that was the source of some of their (now fixed) printing problems.

Second, if your resampling algorithm is nearest neighbor (NN), which is the algorithm used by Epson in their driver, you get the same answer no matter what nonlinearity you choose. NN is a meataxe resampling algorithm but that doesn't keep Epson from using. it.

Jim

Jim Kasson

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2370
    • The Last Word
Re: PPI > DPI total confusion
« Reply #14 on: August 13, 2017, 11:24:05 pm »

In terms of why you can't just build your own matrix?  Well, at any given pixel representation you have to not only decide what size dot (if the printer has variable dot sizes) of each colour and its placement to build that pixel representation, but also how it affects the representation of the colour pixel next to it (which means all around it), and to minimise metamerism and so on.  The LUT that the printers have available in terms of matching combinations to achieve not only the individual pixel representation but also the total effect of all the represented pixels is huge.  It's in the hundreds of billions of possibilities.  Then it depends on the output resolution you want (trading accuracy against speed), whether you're printing uni or bi directional (again accuracy with speed), considering the media and the drying times and so on.


Sounds like you're assuming clustered dot ordered dither halftoning. That's been out of favor for at least 20 years. Ulichney's "Digital Halftoning" was published in 1988, and pretty much shut the door on those techniques for high-quality output.

Jim

Jim Kasson

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2370
    • The Last Word
Re: PPI > DPI total confusion
« Reply #15 on: August 13, 2017, 11:29:22 pm »

Jim's article addresses some of these complexities, but I think it misses the vast amount of data involved in the LUT for the colour decisions.  The more variables, the bigger that becomes and the more choices that need to be made.

The assumption is that you can convert from colors to colorants before halftoning, using LUTs derived from experimental prints. Thus, you don't have to do things like Kubelka-Munk at the resolution of the marking engine. There may be small scale color errors, but you count on the chromaticity portion of the eye's CSF to average that out.

http://blog.kasson.com/the-last-word/chromaticity-csfs/

Jim

Doug Gray

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2205
Re: PPI > DPI total confusion
« Reply #16 on: August 14, 2017, 12:24:41 am »

First off, it is not clear at all that resampling is best done in a linear space. That's how Lr did it in their earlier releases, and that was the source of some of their (now fixed) printing problems.
Second, if your resampling algorithm is nearest neighbor (NN), which is the algorithm used by Epson in their driver, you get the same answer no matter what nonlinearity you choose. NN is a meataxe resampling algorithm but that doesn't keep Epson from using. it.

Jim


Resampling in other than linear space can create varying levels of moire as it introduces harmonics which reflect downward of off Nyquist. Ideally, resampling upward should not alter the spectral components of images. There are resampling techniques that try to fill in higher frequency information based on assumptions about what natural images contain. There be dragons.

Caveat. Most of what I have done is, for instance, creating specialized charts of different sizes that will produce the same spectral characteristics when photographed at an appropriately scale distance. Images that are output referred are already munged (non linear intrinsically) and linear space up-sampling them is a different beast unless one can somehow revert them to scene referred, upsample, then convert back to output referred. Yuck. At that point it's really more a question of artistic objective.


« Last Edit: August 14, 2017, 12:53:13 am by Doug Gray »
Logged

Farmer

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2848
Re: PPI > DPI total confusion
« Reply #17 on: August 14, 2017, 12:46:21 am »

Sounds like you're assuming clustered dot ordered dither halftoning. That's been out of favor for at least 20 years. Ulichney's "Digital Halftoning" was published in 1988, and pretty much shut the door on those techniques for high-quality output.

I'm not assuming anything really.

http://www.epson.com.au/downloads/pdf/epsonhdrinktech-54final.pdf

I can't find the article that mentioned the LUT was several hundred billion combinations in size, but that was the figure.  The proposition of opening up the matrix size to the user really doesn't address the complexity of the LUT being employed, among other things, and I said it also doesn't provide commentary on the expected benefits versus the various costs.

It might be a wonderful idea, but so far the tangible benefits haven't been presented.
Logged
Phil Brown

Farmer

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2848
Re: PPI > DPI total confusion
« Reply #18 on: August 14, 2017, 12:51:09 am »

The assumption is that you can convert from colors to colorants before halftoning, using LUTs derived from experimental prints. Thus, you don't have to do things like Kubelka-Munk at the resolution of the marking engine. There may be small scale color errors, but you count on the chromaticity portion of the eye's CSF to average that out.

http://blog.kasson.com/the-last-word/chromaticity-csfs/

I'm not sure test prints really encapsulate the dimensions of the LUT in play here.  At some point you obviously need to test, but I don't believe there's a suitable series of prints to be used to create LUTs of this complexity.

The examples on your blog are excellent, but also simple.  You're not looking at multiple colour variations with an expectation of consistent rendering on a reflective (rather than transmissive) media across multiple substrates, inks, and lighting conditions.
Logged
Phil Brown

Doug Gray

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2205
Re: PPI > DPI total confusion
« Reply #19 on: August 14, 2017, 01:03:06 am »

The assumption is that you can convert from colors to colorants before halftoning, using LUTs derived from experimental prints. Thus, you don't have to do things like Kubelka-Munk at the resolution of the marking engine. There may be small scale color errors, but you count on the chromaticity portion of the eye's CSF to average that out.

http://blog.kasson.com/the-last-word/chromaticity-csfs/

Jim

Interesting study. Not sure if you intended this but Lab(50,-35,0) should be balanced by Lab(50,28,0) to average out as neutral: lab(50,0,0). I don't think it matters much for what you are showing. Just that you can't just add equal amounts of *a and -*a and have them cancel.
Logged
Pages: [1] 2 3   Go Up