Yahoo Groups archive

Digital BW, The Print

Index last updated: 2026-04-28 22:56 UTC

Message

Re: [Digital BW] digital images

2002-07-31 by Anthony Atkielski

Stephen writes:

> Anthony - can you explain "depth of
> modulation" to me?

I'll using printing for an analogy, since that seems appropriate here.

When you print something (for example), each pixel printed is constructed
from an appropriate number of pixels in the input file.  It is rare that a
one-to-one correspondence exists between input pixels and printed pixels, so
usually some interpolation takes place.  This interpolation reduces the
accuracy of the printed pixels as compared to the input pixels; that is, the
printed pixels won't represent the image quite as accurately as the original
pixels did.

Now, if the number of pixels coming in is the same as the number coming out,
the loss depends on how well they are aligned.  If the number of pixels
coming in is less than the number going out, the true capacity of the
printing device won't be used.  But if the number of pixels coming in is
_greater_ than the number being printed, then the interpolation algorithms
have more raw data to work with, and the resulting pixels going out--even
though they inevitably represent a loss of resolution--are better chosen,
providing a cleaner and apparently sharper image that more accurately
represents the original, to the extent possible.

So the key to printing nice results would seem to be to send in more pixels
than you intend to print; and this is actually how it works.  However, the
principle of diminishing returns rapidly applies.  Up to about 1.5x, adding
pixels on the input side improves the output noticeably, even with its fewer
pixels; but beyond 1.5x, the bang for the buck diminshes, with additional
pixels making less and less difference, until it simply makes no discernable
difference at all to keep increasing input pixels.  Kodak says that 1.5x is
a good ratio, and I tend to agree.  Superstition leads many to believe that
2x is somehow better, but I've not seen any clear evidence of that.
Anything beyond 2x is a waste by just about anyone's standards.

Anyway, this principle of getting better output pixels by having more input
pixels to choose from is depth of modulation.  With more input data, you can
represent the output more precisely--your fewer pixels can be better chosen
(color and intensity) to accurately represent the pixels that would have
been around them at higher resolutions.  Nyquist guarantees that you'll be
able to reproduce a given resolution with only 2x sampling, but visible
image quality often depends on more than just distinguishing between two
lines--more information is required to make the lines look nice, and that's
where depth of modulation and more pixels come in.  However, if you are
going to output x pixels, there isn't much point in having more than 2x
pixels (in linear measure) coming in, and 1.5x is generally fine.

Of course, all of this applies to digital cameras, too.  Having extra pixels
in the CCD beyond those that you output means that your output pixels will
be better chosen, and the image will be cleaner.  The greatest (most
cost-effective) gains are for just a slight increase in pixels, of about
1.5x.  Having ten times more pixels doesn't add enough to justify the cost.
Anyway, the extra pixels provide a depth of modulation that can be useful in
interpolation, for cleaner output.  The difference is visible up to a
certain point, then it becomes difficult or impossible to see beyond.

All of this gets more complicated with digicams that use Bayer patterns, and
digicams with non-square pixels, and printers that use dithering or
stochastic screening, but the basic idea stays the same.

If you want a demonstration, find a digital image and build a mosaic image
based upon it.  Start, say, with an image that contains 100x100 pixels, and
convert that to a mosaic of 10x10 pixels.  On the first pass, use only the
centermost pixel of the original to determine the value of the much larger
pixel in the output mosaic.  On the second pass, use an average of _all_ the
pixels in the original replaced by the mosaic pixel to determine the value
of the output pixel.  You'll see that the second method produces a much more
accurate downsampling than the first method, because all the extra pixels
provide a depth of modulation that a single pixel sample would not provide
in the first method.  This is why image-manipulation programs often give you
a choice of methods for downsampling digital images, and the different
methods yield very visibly different results.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.