{"slug": "astrophotography-stacking-guide", "title": "Astrophotography Stacking Guide", "summary": "A developer detailed a complete guide to mobile astrophotography stacking using a Motorola Edge 60 Fusion, Fedora Linux, and Siril software. The process involves capturing light, dark, and bias frames, then stacking them in Siril to reduce noise and reveal Milky Way details. The guide covers field capture, calibration frames, and post-processing steps.", "body_md": "#\n**The Complete Guide to Mobile Astrophotography Stacking**\n\n**Device:** Motorola Edge 60 Fusion | **OS:** Fedora Linux | **Software:** Siril\n\nStacking combines multiple long exposures to reduce digital noise and reveal faint details of the Milky Way that a single phone camera shot cannot capture. This guide takes you from field capture to the final processed masterpiece.\n\n##\n**PHASE 1: Capturing the Night Sky (In the Field)**\n\n###\n**1. Set Up Your Gear**\n\n-\n**Tripod:** Mount your phone on a sturdy tripod. Any movement ruins the alignment.\n-\n**Trigger:** Use a Bluetooth remote or a 2-second delay timer so tapping the screen doesn't shake the phone.\n-\n**Intervalometer:** Use an intervalometer app (if available) to automatically trigger the shutter repeatedly.\n\n###\n**2. Configure Pro Mode**\n\nOpen your default camera app, switch to **Pro Mode**, and apply these exact settings for your 24mm main lens:\n\n-\n**Format:** RAW (DNG). *Crucial: JPEGs cannot be stacked properly.*\n-\n**Focus:** Manual, set all the way to Infinity (∞).\n-\n**Shutter Speed:** **16 seconds**. (The \"500 Rule\" limits this lens to ~20 seconds before stars trail; 16 seconds guarantees sharp pinpoint stars).\n-\n**ISO:** 1600 to 3200 (Start at 1600; adjust based on light pollution).\n-\n**White Balance (WB):** Manual, around 4000K (makes the sky a neutral blue/grey).\n\n###\n**3. Capture \"Light\" Frames**\n\n- Point your camera at the target (e.g., the Milky Way core).\n- Take a continuous sequence of\n**40 to 60 photos** without moving the tripod.\n\n###\n**4. Capture \"Dark\" Frames**\n\n-\n**Immediately** after your last light frame, completely cover the phone's camera lenses (use a thick cloth or lay it flat on a dark surface). No light can enter.\n- Keep the\n**exact same ISO and Shutter Speed (16s)**.\n- Take\n**15 to 20 photos**.\n*Purpose: Maps the thermal heat noise generated by the sensor during a 16-second exposure.*\n\n##\n**PHASE 2: Capturing Calibration Frames (At Home)**\n\n###\n**5. Capture \"Bias\" Frames**\n\nYou can do this inside your house at any time.\n\n- Keep the lenses completely covered (pitch black).\n- Set the\n**ISO to the same value** used for your Lights/Darks.\n- Change the Shutter Speed to the\n**fastest possible setting** (e.g., 1/4000s or 1/8000s).\n- Take\n**20 photos**.\n*Purpose: Maps the instantaneous electronic read noise of the camera sensor.*\n\n##\n**PHASE 3: Preparing the Data (On Fedora)**\n\n###\n**6. Install Siril**\n\nOpen your terminal and install Siril from the official repositories:\n\nsudo dnf install siril\n\n###\n**7. Organize Your Folders**\n\nSiril automated scripts require a strict, specific folder structure to work.\n\n- Create a main project folder (e.g., Desktop/MilkyWay).\n- Inside it, create three sub-folders exactly named (all lowercase, plural):\n- lights (Put your 40-60 star DNGs here)\n- darks (Put your 16s dark DNGs here)\n- biases (Put your fast-shutter bias DNGs here)\n\n###\n**8. Add the Missing Script**\n\n- Open Siril.\n- Click the\n**\"Scripts\"** menu at the top.\n- Click\n**\"Get Scripts\"**.\n- Find and install the script named\n**OSC_Preprocessing_WithoutFlat** (OSC = One Shot Color).\n\n##\n**PHASE 4: Stacking in Siril**\n\n###\n**9. Run the Automation**\n\n- Click the\n**\"Home\" icon** (Change working directory) in the top left of Siril. Select your main MilkyWay folder.\n- Go to\n**Scripts** -> **Siril Script Files** -> **OSC_Preprocessing_WithoutFlat.ssf**.\n- Let the script run. It will calibrate, align, and stack your images. This takes a few minutes.\n- Wait for the green text in the console:\n*\"Execution of the script is successful.\"*\n\n##\n**PHASE 5: Post-Processing the Masterpiece**\n\n###\n**10. Reveal the Data**\n\n- Click the\n**Open** button (top left) and open result.fit from your MilkyWay folder.\n- The screen will be dark. Look at the bottom-center of the Siril window. Change the dropdown from\n**Linear** to **AutoStretch**. Your stars will appear!\n\n###\n**11. Crop the Artifacts**\n\nBecause the Earth rotated, Siril had to rotate your images to align the stars, leaving jagged black borders.\n\n- Click and drag a box over the good part of your image, excluding all black edges.\n- Right-click inside the box and select\n**Crop**.\n\n###\n**12. Fix the Colors (Remove the Green)**\n\nStacking RAWs makes the image very green. Let's neutralize it.\n\n- Draw a small selection box over a\n**dark, empty part of the sky** (avoid bright stars or the Milky Way band).\n- Go to\n**Image Processing** (top menu) -> **Color Calibration** -> **Color Calibration**.\n- In the \"Background Reference\" section, click\n**Use current selection**, then click **Background Neutralization**. The green cast will vanish! Close the window.\n- Go to\n**Image Processing** -> **Remove Green Noise**. Click **Apply** and close.\n\n###\n**13. Permanently Stretch the Image**\n\nAutoStretch is just a preview. If you save now, it will be pitch black.\n\n- Change the bottom-center dropdown from\n**AutoStretch** back to **Linear**. (The image goes dark again).\n- Go to\n**Image Processing** -> **Histogram Transformation**.\n- Click the\n**Gear Icon** in that window to apply the AutoStretch settings permanently.\n- Click\n**Apply** and close the window.\n\n###\n**14. Export and Share!**\n\n- Click the\n**Save As** icon (the arrow pointing down to a hard drive near the top right).\n- Change the file type extension from .fit to\n**JPEG** or **TIFF**.\n- Name your file (e.g., Final_MilkyWay.jpg) and click\n**Save**.", "url": "https://wpnews.pro/news/astrophotography-stacking-guide", "canonical_source": "https://dev.to/ktauchathuranga/astrophotography-stacking-guide-4oec", "published_at": "2026-06-20 11:45:18+00:00", "updated_at": "2026-06-20 12:07:38.566054+00:00", "lang": "en", "topics": ["computer-vision", "developer-tools"], "entities": ["Motorola Edge 60 Fusion", "Fedora Linux", "Siril", "OSC_Preprocessing_WithoutFlat"], "alternates": {"html": "https://wpnews.pro/news/astrophotography-stacking-guide", "markdown": "https://wpnews.pro/news/astrophotography-stacking-guide.md", "text": "https://wpnews.pro/news/astrophotography-stacking-guide.txt", "jsonld": "https://wpnews.pro/news/astrophotography-stacking-guide.jsonld"}}