Showing posts with label digitial. Show all posts
Showing posts with label digitial. Show all posts

Friday, June 13, 2008

DPI and PPI: Which is What?

I come across questions and forums where people use DPI and PPI interchangably. Unfortunately, I am also guilty. I have found what I thought was a great explanation of the difference. I have copied the article here and provided a link to the original.

DPI and PPI Explained

There seems to be a great deal of confusion among many people regarding the use of some terms in digital imaging. The main problem with this is that DPI (dots per inch) is an old term that has been applied to everything relating to resolution and the size of a digital image. This is very confusing because different situations work with resolution in very different ways, and having a single term for all of them just makes things more confusing. More recently, the term PPI (pixels per inch) has appeared in common usage and is far more specific for what the term entails. DPI is still used in some documents and software when PPI is really what they mean, but this is changing. This article is an attempt to explain what the 2 terms mean and how they should be used.

As usual, this article originally saw light in a Usenet group. In this case, rec.photo.digital. The article is a combination of 2 seperate posts I made regarding the difference between DPI and PPI, with some additional editing.

PPI

Okay, let's start with PPI, it's easy to understand. This is the number of pixels per inch in your image. This will affect the print size of your photo and will affect the quality of the output. The way that it will affect the quality of the output is that if there are too few pixels per inch, then the pixels will be very large and you will get a very pixelated image (jagged edges, you will actually see individual pixels, not good). You'll hear various different numbers thrown around as to what an acceptable PPI for a print-out is. A lot of this will depend on the size of the print. This is because you look at large prints from a further distance than a small print, so you can get away with a lower PPI and still have the image look fine.

Anyways, all that PPI does is affect the print size of the image. There are 2 ways that you can change the print size, by resampling or by not resampling. Not resampling is what you normally want to do, this will only change the size of the print out. Using resampling will actually change the number of pixels (and thus the file size) in order to match the print size. So for instance, if you don't resample, changing the PPI setting will increase or decrease the print size (it will increase if you drop the PPI, it will decrease if you increase the PPI). With resampling, if you change the PPI, you will loose pixels (if you set the PPI to a lower value) or you will have pixels created (if you increase the PPI). Creating pixels is a bad idea, they get generated by the computer and the results aren't usually that good. Throwing away pixels is fine as long as you won't need the bigger size later (that's why it's usually a good idea to save the original large file).
An Example

Suppose you have a 100 x 100 pixel image could be printed at many different sizes. If you set the image to print at 10 PPI, then you'd have a 10" x 10" image. If you set the image to print at 100 PPI, you'd have a 1" x 1" image. Note that adjusting this value doesn't effect the number of pixels in the image at all, it just changes how big the print will be.

Take our 100 x 100 pixel image again. Suppose it's set at 100 PPI (producing the same 1" x 1" printed image). With re-sampling off, when you adjust the PPI the dimensions adjust as well, this is how things worked in the example above. With re-sampling on, the dimensions won't change. So, if you changed the PPI to 10 with re-sampling on, you would still keep a 1" x 1" image and the computer would throw out pixels to make the image stay that size. So in this case, you'd end up with a 10 x 10 pixel image in the end. If you went the other way, and changed the PPI to 300, then the computer would generate pixels to make a 300 x 300 pixel image that's still 1" x 1" when printed.

Usually, the only reason you want to use re-sampling is for reducing the size of your image. For example, my scanner produces 3888 x 2592 images. These images are too big to use online (both for display and because of filesize). By using re-sampling, I can adjust the size of the images to something more appropriate for online use.

DPI

Now let's talk about DPI. DPI only refers to the printer. Every pixel output is made up of different coloured inks (usually 4 or 6 colours, depending on your printer). Because of the small number of colours, the printer needs to be able to mix these inks to make up all the colours of the image. So each pixel of the image is created by a series of tiny dots (you could think of them as sub-pixels). Generally, the higher the DPI, the better the tonality of the image, colours should look better and blends between colours should be smoother. You'll also use more ink and the print job will be slower. You might want to try setting your printer to a lower DPI to save ink and speed up the job, see if you notice any difference in quality. The lowest setting where you don't see any loss in quality should be the best one to use.

So a 1200 dpi printer uses 1200 dots of ink in every inch to make up the colours. If you were printing a 300 PPI image, then every pixel would be made up of 16 smaller ink dots (1200 DPI x 1200 DPI / 300 PPI x 300 PPI). A lower DPI would have fewer ink dots making up each pixel, which would make the colour look worse. A higher DPI would have more ink dots for each pixel and should give more accurate colour (especially under close examination).

Copyright

frugal@tildefrugal.net
Copyright © Andrew Dacey

See the full article here at: http://www.tildefrugal.net/photo/dpi.php ... Read More!

Don't forget to visit my photography web site where we sell museum quality black and white prints framed to last up to 175 years - Outdoor Images Fine Art.

Tuesday, May 13, 2008

Scanning Negatives - Hardware Considerations - Part II

In our Part I Post on Scanning Negatives - Hardware Considerations we discussed the properties of light, film and glass (lenses) in making the perfect photograph. We then showed that these same properties are used to scan the negatives or slides when turning them into digital images.

Here we discuss the aspects of light, glass and CCD's in negative and slide scanners. We also compare this to a Nikon Coolscan 5000 ED to see if it fits the bill to create the perfect digital image.

Light

We have the perfect negative so what light do we send through it to make a digital image. CCD's are especially senstive to Red, Green and Blue light, hence the RGB designation in computer lingo. In order to scan a color image, slide or negative, the scanner should produce a red image, green image and blue image of the negative or slide. These three images can be combined as if they were created from a digital camera.

Dust and Scratches

Realistically, even a perfect negative or slide will contain dust and/or scratches. Digital images from CCD's in a digital camera are better protected although the newer cameras have modes to remove dust from the sensors. So how do we limit the scanning problems with scratches and dust on a negative or slide?

The answer is infared. Infared light can highlight scratches and dust. By creating a fourth layer used as a mask, signficant amounts of scratches and dust can be electronically removed from a scanned image.

Glass

The glass that the red, green, blue and infared light pass through to get to the CCD and result in a digital image, must be special photographic glass. In fact, the scanner should use the highest quality glass used in camera lenses. After all, focusing on a negative to create an image is nothing more than taking a phtograph of a photograph.

There are a variety of mineral glasses and low dispersion glasses available to create a proper scanning lens.

Film - CCD Sensor

The CCD sensor is the film for the scanner. The size of the CCD chip and the density of the pixels determine the quality of the resulting image. Larger size and higher density is similar to low speed film and should result in a higher quality image.

Because computer chips have occasional power spikes and other electronic interference, a simple one pass scan is insufficient for a perfect image. Using a single scan will produce errors in the scan with zero chance of help removing the imperfections. I.e., a second scan of the image will help the processor determine if any pixels are not properly rendered from the first scan.

Density of the scan is determined by dpi or dots per inch. The more dots that get scanned in a single inch of negative or slide, the more detail from the film will show through. In some cases, a scanner could even scan the grain of the film if it were dense enough in the CCD.

A film scanner should have the ability to scan negatives with a final optical output somewhere in the 3,500 dpi to 4,000 dpi and above.

Finally, what level of colors and/or gray need to be recoded? How many colors should be kept? The same problem occurs in photography prints. Photographic paper has a smaller range to record black and white images than the film contains.

Nikon Coolscan 5000 ED

How does the Nikon Coolscan 5000 ED scanner stack up against our requirements? First, the case is very sturdy, well put together and protective of the computer inards.

Let's discuss the Light component: This Nikon scanner uses all three R,G and B lights by using LED's and contains a fourth - the infared LED to help with scratch and dust removal. The LED lights use less power and also last longer and cost less.

The glass used in a Nikon Coolscan 5000 ED is the same extra-low dispersion glass found in Nikkor lenses. This limits the abberations that could be found in the resulting digital image.

The CCD is also strong in the Nikon Coolscan containing two lines to scan at a time and scans using optical resolutions of up to 4000 dpi. The scanner also contains a 16 bit converter so that the scanned images contain 16 bit color.

Conclusion

There are many other feature in the Nikon Coolscan that make it appealing, like the built in Digital ICE, USB 2.0, slide feeders, negative feeders, TIFF formats in greyscale and color and more. However, all those features aside, the physics behind the Nikon Coolscan make it a worthwhile investment to capture negatives and slides and turn them into digital images.

The Nikon Coolscan 5000 ED is my scanner of choice and we will provide some test results to see which settings are best to use when scanning media into digital images. ... Read More!

Don't forget to visit my photography web site where we sell museum quality black and white prints framed to last up to 175 years - Outdoor Images Fine Art.

Wednesday, February 13, 2008

Developing Pictures in Lightroom - Cropping

The second step I like to perform after making a virtual copy is a crop. If I know I will only print this picture in a certain format size, I will crop to that size. Most of the time I crop to a 1:1 aspect. This means that I trim off the edges.

Note that cropping is only necessary if an image is scanned from a slide or film. Digital images have no rough edges. However, cropping a scanned image also has the advantage of making the image more comparable to the digital images. After cropping, all the library images will look the same.

Another added benefit of cropping is that the image is ready to make a slideshow or html page. Even if further development is desired, the image can be used in a slideshow to proof.
... Read More!

Don't forget to visit my photography web site where we sell museum quality black and white prints framed to last up to 175 years - Outdoor Images Fine Art.