本站提供正體中文版。切換到正體中文本站提供简体中文版。切换到简体中文このサイトには日本語版があります。日本語で表示이 사이트는 한국어로도 제공됩니다.한국어로 보기Diese Website ist auch auf Deutsch verfügbar.Auf Deutsch ansehenEste sitio web también está disponible en español.Ver en españolQuesto sito è disponibile anche in italiano.Visualizza in italianoCe site est également disponible en français.Afficher en françaisEste site também está disponível em português.Ver em portuguêsDeze website is ook beschikbaar in het Nederlands.In het Nederlands bekijkenЭтот сайт также доступен на русском языке.Смотреть на русскомयह वेबसाइट हिन्दी में भी उपलब्ध है।हिन्दी में देखेंهذا الموقع متاح أيضًا باللغة العربية.عرض بالعربيةSitus ini juga tersedia dalam bahasa Indonesia.Lihat dalam bahasa IndonesiaBu site Türkçe olarak da mevcut.Türkçe görüntüleTa strona jest dostępna także po polsku.Wyświetl po polskuTrang web này cũng có phiên bản tiếng Việt.Xem bằng tiếng Việtاین وب‌سایت به فارسی هم در دسترس است.مشاهده به فارسی

How to Batch-Remove Stars: Using ImageContainer

Stretching & Nonlinear2023.02

When processing comets, or when you need to remove stars from a whole batch of images one by one, handling them by hand one at a time is exhausting. This article explains how to do batch star removal in PixInsight by pairing ImageContainer with StarNet.

First, the premise: here I use StarNet as the example, because StarXTerminator (SXT) has a built-in batch feature, so if you’re using SXT you don’t need this ImageContainer approach.

Steps

  1. Bring up ImageContainer: right-click in the PixInsight workspace, bring up ImageContainer, and load all the images you want to remove stars from.
  2. Set the output path: set a file output path for ImageContainer; the star-removed images will be saved here.
  3. Configure StarNet: open StarNet and check the options you need, for example “Linear data” or “Create star mask.”
  4. Drag to run: drag the triangle at the bottom-right of ImageContainer onto the lower part of the StarNet process window, and it will start running through the images one by one automatically.

Setting up batch star removal in PixInsight by pairing ImageContainer with StarNet

The batch star removal running

Two Things to Watch Out For

First, the star files take up memory. The file output path will contain only the “star-removed images”; but if you’ve checked “generate stars separately,” those star images open directly in the workspace. When too many images are loaded at once, this can cause an out-of-memory condition, and the star files that come later simply fail to open and vanish.

The fix: load only a suitable number of files at a time, keep the memory from blowing up, and run in batches; or just add more physical RAM.

Second, the star files have to be saved manually. Those star files open in the workspace must be saved one by one by hand. This step is a bit tedious, so don’t forget to save.

Wrap-Up

The core of batch star removal is using ImageContainer to feed multiple images to StarNet for automatic processing. As long as you gauge “how many to load at once” to avoid blowing up memory, and remember to manually save the separately generated stars, you can save a great deal of time otherwise spent processing one by one. If you’re using SXT, its built-in batch feature is even more convenient.