{"id":282,"date":"2013-01-18T17:15:15","date_gmt":"2013-01-18T16:15:15","guid":{"rendered":"https:\/\/www.skeptic.de\/blog.multi\/kiwi4\/?p=282"},"modified":"2023-09-23T19:59:17","modified_gmt":"2023-09-23T19:59:17","slug":"purple-picture-processor","status":"publish","type":"post","link":"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/?p=282","title":{"rendered":"Purple Picture Processor"},"content":{"rendered":"<div id=\"attachment_280\" style=\"width: 160px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/www.skeptic.de\/blog.multi\/kiwi4\/?attachment_id=280\" rel=\"attachment wp-att-280\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-280\" class=\"size-thumbnail wp-image-280\" title=\"Dersch\" alt=\"\" src=\"https:\/\/www.skeptic.de\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/Dersch-150x109.png\" width=\"150\" height=\"109\" srcset=\"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/Dersch-150x109.png 150w, https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/Dersch-300x218.png 300w, https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/Dersch-412x300.png 412w, https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/Dersch.png 562w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><p id=\"caption-attachment-280\" class=\"wp-caption-text\">Dersch\u2019s A and B vs. Zoom<\/p><\/div>\n<p class=\"opener\">It seems like we\u2019ll be waiting some time for the camera that takes the view you saw and makes it into a picture on its own. On the way to this goal a number of problems turned up that were solved on the computer. <strong>Low dynamic range<\/strong> (high contrast) was improved by bracketing and enfusing; <strong>barrelling<\/strong> (radial distortion) by determining the Dersch coefficients (left) and applying a counter-distortion; and <strong>chromatic aberration <\/strong>by measuring sets of aberrations (below right) and remapping the colour channels so that they now matched each other. What we might also like to do is process RAW images, save copies of the originals, both as JPG and in a sturdier format such as PNG. And while we\u2019re moving the formats around, taking care that the EXIF data gets transferred too, perhaps a little extra data could be included. Then some postprocessing like Advanced Tone Mapping. And finally, thumbnailing and sharpening so that the images can be experimented with. Oh dear, it seems like Christmas is rather early this year. <!--more--><\/p>\n<div id=\"attachment_281\" style=\"width: 160px\" class=\"wp-caption alignright\"><a href=\"https:\/\/www.skeptic.de\/blog.multi\/kiwi4\/?attachment_id=281\" rel=\"attachment wp-att-281\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-281\" class=\"size-thumbnail wp-image-281\" title=\"chroma_graph\" alt=\"\" src=\"https:\/\/www.skeptic.de\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/chroma_graph-150x109.png\" width=\"150\" height=\"109\" srcset=\"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/chroma_graph-150x109.png 150w, https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/chroma_graph-300x218.png 300w, https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/chroma_graph-412x300.png 412w, https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/chroma_graph.png 562w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><p id=\"caption-attachment-281\" class=\"wp-caption-text\">Chromatic Aberration vs. Aperture<\/p><\/div>\n<p>Enter the <strong>Purple Picture Processor<\/strong> &ndash; all my own handiwork. Since these tasks have to be done in a set order, the secret was in establishing that order. This took a bit of huffing and puffing, and, like tramping, a couple of wrong turns and starting back from the last known working values, but in the end it worked out fine and has proven itself on the road, during the Alpine Crossing of 2012. After all, when do you want to process all of those photos? Even the simple stuff will ruin an evening, and I seem to recall that the repeat-exposure brackets from White Island (almost 800 photos in all) took days to run through aligning and enfusing. There\u2019s one place I\u2019d rather be after a day photographing, and it\u2019s not in front of the computer.<\/p>\n<div id=\"attachment_286\" style=\"width: 160px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/www.skeptic.de\/blog.multi\/kiwi4\/?attachment_id=286\" rel=\"attachment wp-att-286\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-286\" class=\"size-thumbnail wp-image-286\" title=\"chroma_zoom\" alt=\"\" src=\"https:\/\/www.skeptic.de\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/chroma_zoom-150x109.png\" width=\"150\" height=\"109\" srcset=\"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/chroma_zoom-150x109.png 150w, https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/chroma_zoom-300x218.png 300w, https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/chroma_zoom-411x300.png 411w, https:\/\/leetraynor.com\/blog.multi\/kiwi4\/wp-content\/uploads\/sites\/4\/2013\/01\/chroma_zoom.png 563w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><p id=\"caption-attachment-286\" class=\"wp-caption-text\">Chromatic Aberration vs. Zoom<\/p><\/div>\n<p>I won\u2019t go into the technical details here, but suffice to say that it is not a very complicated, or even long, program (the complete code weighs in at just over 500 lines, including a new-fangled status reporter that indicates what the computer is up to at any time). When the test of tests has been passed, I\u2019ll take the technically interested on a tour of PPP\u2019s insides.<\/p>\n<p>This is what automation is for, and it opens up wide vistas, in every sense of the word. It\u2019s been a long journey from a inexpensive point&amp;shoot camera to an instrument capable of seeing as well as, or better than, the eye. The learning curve was steep at times.<\/p>\n<p>But now seeing the world with new eyes, it\u2019s getting time to photograph the South Island anew\u2026<br \/>\n<script>blog_id=\"K4_PPP\";<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It seems like we\u2019ll be waiting some time for the camera that takes the view you saw and makes it into a picture on its own. On the way to this goal a number of problems turned up that were &hellip; <a href=\"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/?p=282\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[173,34,171,151,172,170,174,118,160,10,175],"class_list":["post-282","post","type-post","status-publish","format-standard","hentry","category-photography","tag-advanced-tone-mapping","tag-alpine-crossing","tag-barrelling","tag-chromatic-aberration","tag-exif","tag-low-dynamic-range","tag-purple-picture-processor","tag-radial-distortion","tag-raw-photos","tag-south-island","tag-white-island"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/index.php?rest_route=\/wp\/v2\/posts\/282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=282"}],"version-history":[{"count":13,"href":"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/index.php?rest_route=\/wp\/v2\/posts\/282\/revisions"}],"predecessor-version":[{"id":1541,"href":"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/index.php?rest_route=\/wp\/v2\/posts\/282\/revisions\/1541"}],"wp:attachment":[{"href":"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leetraynor.com\/blog.multi\/kiwi4\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}