{"id":62623,"date":"2024-08-14T09:35:09","date_gmt":"2024-08-14T09:35:09","guid":{"rendered":"http:\/\/4f50415e-4a89-496b-a7f5-c80b2c5d2eb8"},"modified":"2024-08-14T10:39:45","modified_gmt":"2024-08-14T10:39:45","slug":"how-to-stack-dslr-data-using-siril-software-and-boost-detail-in-your-astrophotography","status":"publish","type":"rss_feed","link":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/rss_feed\/how-to-stack-dslr-data-using-siril-software-and-boost-detail-in-your-astrophotography\/","title":{"rendered":"How to stack DSLR data using Siril software and boost detail in your astrophotography"},"content":{"rendered":"<p class=\"rssexcerpt\">Easily combine multiple frames to boost detail in your astro photos. <\/p><p class=\"rssauthor\">By Iain Todd\n      <\/p><p class=\"rssbyline\">Published: Wednesday, 14 August 2024 at 09:35 AM<\/p><hr class=\"no-tts wp-block-separator\"\/><?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><p>We\u2019re going to run through how to stack data in Siril. Stacking is referred to as \u2018pre-processing\u2019 within Siril and occurs right at the start of the processing workflow.\u00a0<\/p><p>If you&#8217;re new to <a href=\"https:\/\/www.skyatnightmagazine.com\/astrophotography\/astrophoto-tips\/a-guide-to-astrophotography-stacking\">stacking<\/a>, don&#8217;t be put off: the process is quite simple, when you know how.<\/p><p>Creating a detailed <a href=\"https:\/\/www.skyatnightmagazine.com\/astrophotography\/a-beginners-guide-to-astrophotography\">astrophotography<\/a> image typically involves these steps:<\/p><ul><li><strong>Imaging<\/strong> the target (known as taking \u2018light\u2019 frames)<\/li><li>Gathering a series of <strong>calibration<\/strong> images (\u2018<a href=\"https:\/\/www.skyatnightmagazine.com\/astrophotography\/astrophoto-tips\/understanding-using-dark-frames-astrophotography\">dark<\/a>\u2019, \u2018<a href=\"https:\/\/www.skyatnightmagazine.com\/astrophotography\/astrophoto-tips\/flat-frames-astrophotography\">flat<\/a>\u2019 and \u2018bias\u2019 frames)<\/li><li>Using software to <strong>stack<\/strong> these images to remove noise and increase data signal<\/li><li><strong>Stretching<\/strong> this data to boost delicate details<\/li><li>Making colour and gradient <strong>adjustments<\/strong> to perfect the image<\/li><\/ul><p>It&#8217;s quite common to use multiple software programs to carry out the above steps \u2013 for example, stacking software followed by specialist processing software to do the rest.<\/p><figure class=\"wp-block-image size-large\"><figcaption class=\"wp-element-caption\">One of the initial 250 light frames of the Sadr region in Cygnus, awash with noise and low on detail, before we put Siril to work<\/figcaption><\/figure><h2 class=\"wp-block-heading\" id=\"h-why-use-siril\"><strong>Why use Siril?<\/strong><\/h2><p>The free astrophotography processing software <a href=\"https:\/\/siril.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Siril<\/a> is capable of supporting the entire workflow, from stacking data to managing background gradients and colour saturations afterwards.<\/p><p>It comes pre-programmed with various scripts designed to automate many functions and even interfaces with other tools, including StarNet and Pixel Math, to perform additional processing steps.<\/p><p>We started with 250 individual light frames of the Sadr region in <a href=\"https:\/\/www.skyatnightmagazine.com\/advice\/cygnus-constellation\">Cygnus<\/a>, each of 60 seconds, taken with a Canon 6D DSLR.<\/p><p>We\u2019d also taken 25 frames each of bias, dark and flat calibration images to stack with these light frames to reduce thermal noise, electronic noise and <a href=\"https:\/\/www.skyatnightmagazine.com\/advice\/what-is-vignetting\">vignetting<\/a> in our final picture.<\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/c02.purpledshub.com\/uploads\/sites\/48\/2024\/08\/siril-stacking-after-1024x679.jpg?fit=800%2C530\" alt=\"After Siril has stacked and aligned all the light and calibration frames and cut out noise and vignetting, ready for final processing\" class=\"wp-image-160216\" data-recalc-dims=\"1\"\/><figcaption class=\"wp-element-caption\">After Siril has stacked and aligned all the light and calibration frames and cut out noise and vignetting, ready for final processing<\/figcaption><\/figure><h2 class=\"wp-block-heading\" id=\"h-using-siril\"><strong>Using Siril<\/strong><\/h2><p>We opened Siril and set our working directory (the location where our image data would be stored) to ensure that when we ran the stacking script, Siril knew where to collect the data from.<\/p><p>To do this, we clicked on the home icon (see image below), navigated to the image folder on our computer and clicked \u2018Open\u2019.<\/p><p>We then had to ensure that our image folders were stored and named in a way that Siril\u2019s stacking script could recognise each set of light and calibration images.<\/p><p>The image below shows the correct layout of this folder system: the main target images are stored in a \u2018lights\u2019 folder, bias frames are in a folder called \u2018biases\u2019, dark frames in \u2018darks\u2019 and flat frames in \u2018flats\u2019.<\/p><figure class=\"wp-block-image size-full has-lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"767\" src=\"https:\/\/c02.purpledshub.com\/uploads\/sites\/48\/2024\/08\/siril-stacking-step-01.jpg\" alt=\"Once you\u2019ve set your working directory, put all your frames into folders. These must be named \u2018lights\u2019, \u2018darks\u2019, \u2018biases\u2019 and \u2018flats\u2019 for the program to work properly\" class=\"wp-image-160218\"\/><figcaption class=\"wp-element-caption\">Once you\u2019ve set your working directory, put all your frames into folders. These must be named \u2018lights\u2019, \u2018darks\u2019, \u2018biases\u2019 and \u2018flats\u2019 for the program to work properly. Click image to expand.<\/figcaption><\/figure><p>These folders must be named exactly this way and should be the only folders present in the working directory, or the script won\u2019t be able to execute.<\/p><p>Once done, we ran Siril\u2019s stacking script by clicking Scripts &gt; OSC_Preprocessing (see image below).<\/p><p>You\u2019ll see the script start to run in the Console on the right-hand side of the screen.<\/p><p>Siril first creates Master files for each of the calibration frames before aligning and then stacking with the light frames by subtracting the noise and vignetting.<\/p><p>The time taken will depend on how many light frames and stars there are. For my star-heavy widefield image, it took over 24 minutes.<\/p><p>Once complete, the Console read \u2018Script execution finished successfully\u2019.<\/p><figure class=\"wp-block-image size-full has-lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"764\" src=\"https:\/\/c02.purpledshub.com\/uploads\/sites\/48\/2024\/08\/siril-stacking-step-02.jpg\" alt=\"Run Siril\u2019s stacking script. In our star-heavy example, it took some 24 minutes to create Master files for each calibration frame, and then align and stack them\" class=\"wp-image-160219\"\/><figcaption class=\"wp-element-caption\">Run Siril\u2019s stacking script. In our star-heavy example, it took some 24 minutes to create Master files for each calibration frame, and then align and stack them. Click image to expand.<\/figcaption><\/figure><h2 class=\"wp-block-heading\" id=\"h-stacking-complete-now-for-the-final-adjustments\"><strong>Stacking complete, now for the final adjustments<\/strong><\/h2><p>We then opened the stacked file in our working directory, titled \u2018result_[number]s.fit\u2019, where [number] refers to the time in seconds taken to complete the stacking script.<\/p><p>The stacked image will look dark and flat; it now needs stretching.<\/p><p>We did this initially by clicking on the \u2018linear\u2019 dropdown box and selecting \u2018AutoStretch\u2019 (highlighted, image below).<\/p><p>Siril performed a preliminary histogram stretch, allowing us to gauge how much signal versus noise was present within our stacked image.<\/p><figure class=\"wp-block-image size-full has-lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"765\" src=\"https:\/\/c02.purpledshub.com\/uploads\/sites\/48\/2024\/08\/siril-stacking-step-03.jpg\" alt=\"Open the stacked file and select \u2018AutoStretch\u2019 to perform a preliminary histogram stretch before cropping. After this step, go ahead and process as you wish\" class=\"wp-image-160220\"\/><figcaption class=\"wp-element-caption\">Open the stacked file and select \u2018AutoStretch\u2019 to perform a preliminary histogram stretch before cropping. After this step, go ahead and process as you wish. Click image to expand.<\/figcaption><\/figure><p>This stretch helped guide our processing steps going forward, but also highlighted stacking artefacts on the edges of our image caused by camera rotation over the period of multiple imaging sessions.<\/p><p>To crop these out, we right-clicked on the image, selected \u2018Crop\u2019, selected the area of the image we wanted to keep and hit Enter to perform the crop.<\/p><p>Our final image (shown at the top of this article) was then ready for further processing using Siril or another photo-editing software of our choice.<\/p><h2 class=\"wp-block-heading\" id=\"h-3-quick-tips\"><strong>3 quick tips<\/strong><\/h2><ol><li>Before running a script, ensure you have backed up your data to avoid file corruption.<\/li><li>Ensure there are only raw files in the working directory, as random JPEGs or other files can cause errors.<\/li><li>Avoid making adjustments to colour or saturation until after cropping the stacked image and removing artefacts.<\/li><\/ol><p><strong><em>Are you an astrophotographer? Whether beginner or seasoned, don&#8217;t forget to <a href=\"https:\/\/www.skyatnightmagazine.com\/send-us-your-astrophotos\">send us your images<\/a> and they could appear in an upcoming issue of BBC Sky at Night Magazine.<\/em><\/strong><\/p> <\/body><\/html>\n<hr class=\"no-tts wp-block-separator\"\/>","protected":false},"excerpt":{"rendered":"<p>Easily combine multiple frames to boost detail in your astro photos. <\/p>\n","protected":false},"author":24,"featured_media":62624,"template":"","categories":[34],"acf":{"readingTimeMinutes":"5"},"uagb_featured_image_src":{"full":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2024\/08\/how-to-stack-dslr-data-using-siril-software-and-boost-detail-in-your-astrophotography.jpg",1200,796,false],"thumbnail":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2024\/08\/how-to-stack-dslr-data-using-siril-software-and-boost-detail-in-your-astrophotography-150x150.jpg",150,150,true],"medium":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2024\/08\/how-to-stack-dslr-data-using-siril-software-and-boost-detail-in-your-astrophotography-300x199.jpg",300,199,true],"medium_large":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2024\/08\/how-to-stack-dslr-data-using-siril-software-and-boost-detail-in-your-astrophotography-768x509.jpg",768,509,true],"large":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2024\/08\/how-to-stack-dslr-data-using-siril-software-and-boost-detail-in-your-astrophotography-1024x679.jpg",800,530,true],"1536x1536":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2024\/08\/how-to-stack-dslr-data-using-siril-software-and-boost-detail-in-your-astrophotography.jpg",1200,796,false],"2048x2048":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2024\/08\/how-to-stack-dslr-data-using-siril-software-and-boost-detail-in-your-astrophotography.jpg",1200,796,false]},"uagb_author_info":{"display_name":"importmanagerhub@sprylab.com","author_link":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/author\/importmanagerhubsprylab-com\/"},"uagb_comment_info":0,"uagb_excerpt":"Easily combine multiple frames to boost detail in your astro photos.","_links":{"self":[{"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/rss_feed\/62623"}],"collection":[{"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/rss_feed"}],"about":[{"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/types\/rss_feed"}],"author":[{"embeddable":true,"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/users\/24"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/media\/62624"}],"wp:attachment":[{"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/media?parent=62623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/categories?post=62623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}