{"id":6032,"date":"2014-11-14T15:19:44","date_gmt":"2014-11-14T19:19:44","guid":{"rendered":"http:\/\/starlightcascade.ca\/blog\/?p=6032"},"modified":"2014-11-26T14:04:57","modified_gmt":"2014-11-26T18:04:57","slug":"convert-current-png-distort-depolar-0-current-pan-png","status":"publish","type":"post","link":"https:\/\/starlightcascade.ca\/blog\/2014\/11\/convert-current-png-distort-depolar-0-current-pan-png\/","title":{"rendered":"convert current.png  +distort DePolar 0 current-pan.png"},"content":{"rendered":"<table>\n<tr>\n<td><figure id=\"attachment_6033\" aria-describedby=\"caption-attachment-6033\" style=\"width: 299px\" class=\"wp-caption alignright\"><a href=\"http:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/current-pan.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/current-pan-299x95.png\" alt=\"Depolar\" width=\"299\" height=\"95\" class=\"size-medium wp-image-6033\" srcset=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/current-pan-299x95.png 299w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/current-pan-150x47.png 150w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/current-pan.png 778w\" sizes=\"auto, (max-width: 299px) 100vw, 299px\" \/><\/a><figcaption id=\"caption-attachment-6033\" class=\"wp-caption-text\">Depolar Allsky1<\/figcaption><\/figure><\/p>\n<td>\n<a href=\"http:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/current.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/current-299x225.png\" alt=\"current\" width=\"299\" height=\"225\" class=\"alignright size-medium wp-image-6034\" srcset=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/current-299x225.png 299w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/current-150x113.png 150w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/current.png 657w\" sizes=\"auto, (max-width: 299px) 100vw, 299px\" \/><\/a><br \/>\n<\/table>\n<p><p>\nEver since I saw a sample of an allsky (or ultrawideangle) image being turned into a 360 deg panorama, I have known it was possible but did not know the process in getting it done.<\/p>\n<p>Part of the issue is to ask the right question.  Once the keyword &#8220;polar&#8221; came along, the rest was easy.<\/p>\n<p>So to get the above Allsky1 camera image from a circular to a rectangular image, we use the following command  in the ImageMagick suite of programs for linux:<\/p>\n<p>convert current.png  +distort DePolar 0 current-pan.png<\/p>\n<p>That&#8217;s it!<\/p>\n<p>Let try it out on the Allsky2 image:<\/p>\n<table>\n<tr>\n<td>\n<figure id=\"attachment_6035\" aria-describedby=\"caption-attachment-6035\" style=\"width: 299px\" class=\"wp-caption alignright\"><a href=\"http:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/ev_summary-pan.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/ev_summary-pan-299x95.png\" alt=\"Depolar Allsky2\" width=\"299\" height=\"95\" class=\"size-medium wp-image-6035\" srcset=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/ev_summary-pan-299x95.png 299w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/ev_summary-pan-150x47.png 150w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/ev_summary-pan.png 754w\" sizes=\"auto, (max-width: 299px) 100vw, 299px\" \/><\/a><figcaption id=\"caption-attachment-6035\" class=\"wp-caption-text\">Depolar Allsky2<\/figcaption><\/figure><\/p>\n<td>\n<a href=\"http:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/ev_summary-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/ev_summary-1-299x224.png\" alt=\"ev_summary (1)\" width=\"299\" height=\"224\" class=\"alignright size-medium wp-image-6036\" srcset=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/ev_summary-1-299x224.png 299w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/ev_summary-1-150x112.png 150w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2014\/11\/ev_summary-1.png 640w\" sizes=\"auto, (max-width: 299px) 100vw, 299px\" \/><\/a><br \/>\n<\/table>\n<p>\nAnd it works there as well.  Excellent!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever since I saw a sample of an allsky (or ultrawideangle) image being turned into a 360 deg panorama, I have known it was possible but did not know the process in getting it done. Part of the issue is to ask the right question. Once the keyword &#8220;polar&#8221; came along, the rest was easy. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,15],"tags":[],"class_list":["post-6032","post","type-post","status-publish","format-standard","hentry","category-astronomy","category-tech"],"_links":{"self":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/6032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/comments?post=6032"}],"version-history":[{"count":0,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/6032\/revisions"}],"wp:attachment":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/media?parent=6032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/categories?post=6032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/tags?post=6032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}