{"id":59,"date":"2011-12-20T12:02:48","date_gmt":"2011-12-19T23:02:48","guid":{"rendered":"https:\/\/blogs.otago.ac.nz\/si-geology\/?p=59"},"modified":"2011-12-20T12:02:48","modified_gmt":"2011-12-19T23:02:48","slug":"pixel-count-pixel-density-document-size-dots-per-inch-optical-resolution","status":"publish","type":"post","link":"https:\/\/blogs.otago.ac.nz\/si-geology\/pixel-count-pixel-density-document-size-dots-per-inch-optical-resolution\/","title":{"rendered":"Pixel count, pixel density, document size, dots per inch, optical resolution"},"content":{"rendered":"<p>There are a lot of articles out there on the web that discuss these topics. Although understanding these concepts is inherently a little tricky, the biggest problem is the lack of\u00a0consistent and\u00a0unambiguous\u00a0naming. In this post I will describe what these things are as unambiguously as possible. I find that sometimes its easiest to\u00a0describe\u00a0what you mean rather than using these names.<\/p>\n<h3>Definitions<\/h3>\n<h4>Pixel count (aka pixel dimensions, resolution)<\/h4>\n<p>The number of pixels in an image may be reported as<\/p>\n<ul>\n<li>a width * height e.g. 1024*768pixels<\/li>\n<li>a total number of pixels e.g. for cameras: 2450*3700\u00a0= 9065000 Pixels = ~9\u00a0Megapixels<\/li>\n<\/ul>\n<h4>Pixel density (aka: digital resolution, resolution)<\/h4>\n<p>Often incorrectly referred to as dots per inch (see description for DPI below)<\/p>\n<p>A measure of the density of the pixels in physical space. For example how many pixels in one linear inch (PPI).<\/p>\n<p>This may be reported for screens; for example a 1920*1080 monitor that is 26.7inches\u00a0across will have a pixel density (resolution) of 1920\/26.7 = 72ppi. Note that most monitors with this pixel count are smaller (maybe 23inches) and thus have a pixel density (resolution) higher than 72ppi.<\/p>\n<p>Raster images (e.g. photos) also have a value stored for pixel density (resolution). By default most cameras will set this value to 72ppi.<\/p>\n<p>If you are scanning something than you may choose a resolution for scanning such as 300ppi for documents and 1000ppi for slides. In this case it is most likely that the value stored in the file will be this value.<\/p>\n<h4>Document size (aka: image size, presented size)<\/h4>\n<p>Not to be confused with image file size (aka: image size) which is the size of the image file i.e. 2.5MB.<\/p>\n<p>Document size is the physical dimensions that an image has (perhaps measured in cm or mm). This is easier to get your head around for printed material where we can just get out a ruler to measure the image size.<\/p>\n<p>For raster images (e.g. photos) on a computer the document size is actually just whatever is calculated using the pixel count and the pixel density.<\/p>\n<p style=\"padding-left: 30px\">pixel density = pixel count (in one direction)\/ image size (in one direction)<\/p>\n<p>For example if an image is 2400pixels across and has a pixel density of 300ppi than the document size will be 2400\/300 = 8 inches = 203.2mm, that&#8217;s slightly less than the width of an A4 page.<\/p>\n<h4>Dots per inch (aka: printed resolution, dot density)<\/h4>\n<p>Printers have limited colours (usually just cyan, magenta, yellow and black). In order to create all the colours and tones for a photo these colours are printed in variable amounts as a dot pattern. If you look closely at a printed page or use a magnifying glass you can see this dot pattern.<\/p>\n<p>The higher the number of dots per inch there is in a printed image the greater the level of detail typically.\u00a0More dots are required than the pixel count to get the same detail as an image on a screen. Printers will typically print at 300dpi, 720dpi or higher.<\/p>\n<p>Dots per inch is commonly used\u00a0interchangeably\u00a0with pixels per inch. This is wrong. Pixels per inch is the correct term for pixel density on a computer and dots per inch is the correct term for printed images.<\/p>\n<figure id=\"attachment_69\" aria-describedby=\"caption-attachment-69\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2011\/12\/pixels_vs_dots-01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-69\" src=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2011\/12\/pixels_vs_dots-01-300x150.jpg\" alt=\"An image with pixels, shown on left compared to the same image with dots. A mixture of coloured dots that are smaller than the pixels are used to create a coloured pixel\" width=\"300\" height=\"150\" srcset=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2011\/12\/pixels_vs_dots-01-300x150.jpg 300w, https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2011\/12\/pixels_vs_dots-01.jpg 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-69\" class=\"wp-caption-text\">An image with pixels, shown on left compared to the same image with dots shown on the right<\/figcaption><\/figure>\n<h4>Optical resolution<\/h4>\n<p>Optical resolution is a measure of the ability to resolve detail in an image. A simple way to measure this is to imagine the smallest and closest possible objects that can be resolved as two distinct objects.<\/p>\n<p><span style=\"color: #333333;font-style: normal;line-height: 24px\">This is\u00a0perhaps\u00a0the least considered aspect of images and image capture (e.g. photography, scanning) and one of the most important.<\/span><span style=\"color: #333333;font-style: normal;line-height: 24px\"> <\/span>Optical\u00a0resolution, is perhaps the only true\u00a0resolution.<\/p>\n<p>While the pixel count sets an upper limit for optical resolution it is generally the optics of the image capture system and in the case of photography the\u00a0quality\u00a0of the camera and skill of the photographer that determine the optical resolution.<\/p>\n<p>To understand how pixel count is different to optical resolution let us consider two examples:<\/p>\n<ol>\n<li>If an image is out of focus then it will have a lower optical resolution than an image in focus that is captured using the same pixel density.<\/li>\n<li>A slide scanner can capture at 1200ppi, 2400ppi or 4800ppi, however due to the optical resolution limit of the scanner there may be no difference in optical resolution at 4800ppi vs 2400ppi. At 1200ppi the optical resolution of the image captured is lower than at 2400ppi because the pixel density is now the determining factor. See image below.<\/li>\n<\/ol>\n<figure id=\"attachment_72\" aria-describedby=\"caption-attachment-72\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2011\/12\/1200ppi_2400ppi_4800ppi-01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-72\" src=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2011\/12\/1200ppi_2400ppi_4800ppi-01-300x89.jpg\" alt=\"Thin sections scanned at 1200ppi (left), 2400ppi (middle) and 4800ppi(right). There is no increase in detail between the 2400ppi and 4800ppi image. The 12000ppi image has less detail.\" width=\"300\" height=\"89\" srcset=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2011\/12\/1200ppi_2400ppi_4800ppi-01-300x89.jpg 300w, https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2011\/12\/1200ppi_2400ppi_4800ppi-01-500x149.jpg 500w, https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2011\/12\/1200ppi_2400ppi_4800ppi-01.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-72\" class=\"wp-caption-text\">Thin sections scanned at 1200ppi (left), 2400ppi (middle) and 4800ppi(right)<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are a lot of articles out there on the web that discuss these topics. Although understanding these concepts is inherently a little tricky, the biggest problem is the lack of\u00a0consistent and\u00a0unambiguous\u00a0naming. In this post I will describe what these things are as unambiguously as possible. I find that sometimes its easiest to\u00a0describe\u00a0what you mean [&hellip;]<\/p>\n","protected":false},"author":10389,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8742,8747],"tags":[8769,26011,8763,8771,8772,8770,8758,8773,8768,8762,8743],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-illustration","category-image-capture","tag-dpi","tag-illustration","tag-instructions","tag-optical-resolution","tag-pixel-count","tag-pixel-density","tag-publication","tag-raster","tag-resolution","tag-scanning","tag-tips-and-tricks"],"_links":{"self":[{"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/users\/10389"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":0,"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}