{"id":148,"date":"2012-05-10T16:19:19","date_gmt":"2012-05-10T03:19:19","guid":{"rendered":"https:\/\/blogs.otago.ac.nz\/si-geology\/?p=148"},"modified":"2012-05-10T16:19:19","modified_gmt":"2012-05-10T03:19:19","slug":"aligning-multiple-images-in-photoshop","status":"publish","type":"post","link":"https:\/\/blogs.otago.ac.nz\/si-geology\/aligning-multiple-images-in-photoshop\/","title":{"rendered":"Aligning multiple images in photoshop"},"content":{"rendered":"<h3>We want images stacked<\/h3>\n<p>Sometimes we capture images of the same area (e.g. a particular part of a thin section) using different conditions (reflected light, PPL, XPL, Cathodoluminescence) . We may then want to stack the images together so that we can see how each different mineral, for instance, appears under the different conditions.<\/p>\n<h3>THE PROBLEM<\/h3>\n<p>We can align objects manually because we see\u00a0recognisable\u00a0features in each image. It can be a little tedious and difficult trying to add, manually align, resize and rotate the images in software like: Adobe Illustrator, photoshop, the gimp, image j or other software.<\/p>\n<p>There is a semi-automated way to speed up this process in photoshop. I&#8217;m not sure of the exact conditions under which this will actually work. But it&#8217;s fairly easy to try and could save you a load of time.<\/p>\n<h3>How to do it<\/h3>\n<p>The first thing we need to do is to load all the images as layers in a photoshop document.<\/p>\n<ul>\n<li>Open<strong> photoshop<\/strong><\/li>\n<li>Go to<strong> file&gt;Scripts&gt;Load files into Stack<\/strong><\/li>\n<\/ul>\n<div><\/div>\n<p><a href=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2012\/05\/load-images.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-149\" src=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2012\/05\/load-images-300x194.png\" alt=\"getting to load files into stack\" width=\"300\" height=\"194\" srcset=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2012\/05\/load-images-300x194.png 300w, https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2012\/05\/load-images-462x300.png 462w, https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2012\/05\/load-images.png 506w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<ul>\n<li>Navigate to the folder with your images in it and load these.<\/li>\n<\/ul>\n<p>You should now see all your images as layers in photoshop with names corresponding to file names (handy eh?).<\/p>\n<ul>\n<li>Select all the layers by clicking on the top layer and then shift clicking on the bottom layer. They should all have a blue background in the layers panel indicating they are all selected.<\/li>\n<li>Now go to <strong>edit&gt;auto-align layers<\/strong><\/li>\n<li>I recommend trying collage first which will not distort the image.<\/li>\n<\/ul>\n<div><a href=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2012\/05\/auto-align.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-151\" src=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2012\/05\/auto-align-300x247.png\" alt=\"\" width=\"300\" height=\"247\" srcset=\"https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2012\/05\/auto-align-300x247.png 300w, https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2012\/05\/auto-align-363x300.png 363w, https:\/\/blogs.otago.ac.nz\/si-geology\/files\/2012\/05\/auto-align.png 534w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<div>You will notice there is also a checkbox to try to auto-align layers when you load them into the stack. You are welcome to have a go with this too.<\/div>\n<p>Thanks to Steve Kidder for working this out with me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We want images stacked Sometimes we capture images of the same area (e.g. a particular part of a thin section) using different conditions (reflected light, PPL, XPL, Cathodoluminescence) . We may then want to stack the images together so that we can see how each different mineral, for instance, appears under the different conditions. THE [&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,8778],"tags":[8780,8749,8751,26011,8781,8743],"class_list":["post-148","post","type-post","status-publish","format-standard","hentry","category-illustration","category-image-capture","category-photography","tag-cathodoluminescence","tag-computers","tag-cs5","tag-illustration","tag-stacking-images","tag-tips-and-tricks"],"_links":{"self":[{"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/posts\/148","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=148"}],"version-history":[{"count":0,"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/posts\/148\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/media?parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/categories?post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.otago.ac.nz\/si-geology\/wp-json\/wp\/v2\/tags?post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}