惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
L
LangChain Blog
博客园_首页
J
Java Code Geeks
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
小众软件
小众软件
WordPress大学
WordPress大学
V
Visual Studio Blog
T
The Blog of Author Tim Ferriss
U
Unit 42
酷 壳 – CoolShell
酷 壳 – CoolShell
Recent Announcements
Recent Announcements
C
Check Point Blog
IT之家
IT之家
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
A
About on SuperTechFans
aimingoo的专栏
aimingoo的专栏
D
Docker
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
阮一峰的网络日志
阮一峰的网络日志
I
InfoQ

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Astrophotography Stacking Guide
Ashen Chathuranga · 2026-06-20 · via DEV Community

Ashen Chathuranga

The Complete Guide to Mobile Astrophotography Stacking

Device: Motorola Edge 60 Fusion | OS: Fedora Linux | Software: Siril

Stacking 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.

PHASE 1: Capturing the Night Sky (In the Field)

1. Set Up Your Gear

  • Tripod: Mount your phone on a sturdy tripod. Any movement ruins the alignment.
  • Trigger: Use a Bluetooth remote or a 2-second delay timer so tapping the screen doesn't shake the phone.
  • Intervalometer: Use an intervalometer app (if available) to automatically trigger the shutter repeatedly.

2. Configure Pro Mode

Open your default camera app, switch to Pro Mode, and apply these exact settings for your 24mm main lens:

  • Format: RAW (DNG). Crucial: JPEGs cannot be stacked properly.
  • Focus: Manual, set all the way to Infinity (∞).
  • Shutter Speed: 16 seconds. (The "500 Rule" limits this lens to ~20 seconds before stars trail; 16 seconds guarantees sharp pinpoint stars).
  • ISO: 1600 to 3200 (Start at 1600; adjust based on light pollution).
  • White Balance (WB): Manual, around 4000K (makes the sky a neutral blue/grey).

3. Capture "Light" Frames

  • Point your camera at the target (e.g., the Milky Way core).
  • Take a continuous sequence of 40 to 60 photos without moving the tripod.

4. Capture "Dark" Frames

  • 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.
  • Keep the exact same ISO and Shutter Speed (16s).
  • Take 15 to 20 photos.
  • Purpose: Maps the thermal heat noise generated by the sensor during a 16-second exposure.

PHASE 2: Capturing Calibration Frames (At Home)

5. Capture "Bias" Frames

You can do this inside your house at any time.

  • Keep the lenses completely covered (pitch black).
  • Set the ISO to the same value used for your Lights/Darks.
  • Change the Shutter Speed to the fastest possible setting (e.g., 1/4000s or 1/8000s).
  • Take 20 photos.
  • Purpose: Maps the instantaneous electronic read noise of the camera sensor.

PHASE 3: Preparing the Data (On Fedora)

6. Install Siril

Open your terminal and install Siril from the official repositories:

sudo dnf install siril

7. Organize Your Folders

Siril automated scripts require a strict, specific folder structure to work.

  1. Create a main project folder (e.g., Desktop/MilkyWay).
  2. Inside it, create three sub-folders exactly named (all lowercase, plural):
    • lights (Put your 40-60 star DNGs here)
    • darks (Put your 16s dark DNGs here)
    • biases (Put your fast-shutter bias DNGs here)

8. Add the Missing Script

  1. Open Siril.
  2. Click the "Scripts" menu at the top.
  3. Click "Get Scripts".
  4. Find and install the script named OSC_Preprocessing_WithoutFlat (OSC = One Shot Color).

PHASE 4: Stacking in Siril

9. Run the Automation

  1. Click the "Home" icon (Change working directory) in the top left of Siril. Select your main MilkyWay folder.
  2. Go to Scripts -> Siril Script Files -> OSC_Preprocessing_WithoutFlat.ssf.
  3. Let the script run. It will calibrate, align, and stack your images. This takes a few minutes.
  4. Wait for the green text in the console: "Execution of the script is successful."

PHASE 5: Post-Processing the Masterpiece

10. Reveal the Data

  1. Click the Open button (top left) and open result.fit from your MilkyWay folder.
  2. The screen will be dark. Look at the bottom-center of the Siril window. Change the dropdown from Linear to AutoStretch. Your stars will appear!

11. Crop the Artifacts

Because the Earth rotated, Siril had to rotate your images to align the stars, leaving jagged black borders.

  1. Click and drag a box over the good part of your image, excluding all black edges.
  2. Right-click inside the box and select Crop.

12. Fix the Colors (Remove the Green)

Stacking RAWs makes the image very green. Let's neutralize it.

  1. Draw a small selection box over a dark, empty part of the sky (avoid bright stars or the Milky Way band).
  2. Go to Image Processing (top menu) -> Color Calibration -> Color Calibration.
  3. In the "Background Reference" section, click Use current selection, then click Background Neutralization. The green cast will vanish! Close the window.
  4. Go to Image Processing -> Remove Green Noise. Click Apply and close.

13. Permanently Stretch the Image

AutoStretch is just a preview. If you save now, it will be pitch black.

  1. Change the bottom-center dropdown from AutoStretch back to Linear. (The image goes dark again).
  2. Go to Image Processing -> Histogram Transformation.
  3. Click the Gear Icon in that window to apply the AutoStretch settings permanently.
  4. Click Apply and close the window.

14. Export and Share!

  1. Click the Save As icon (the arrow pointing down to a hard drive near the top right).
  2. Change the file type extension from .fit to JPEG or TIFF.
  3. Name your file (e.g., Final_MilkyWay.jpg) and click Save.