On this page

Process your first picture

Install Studio, open your stacks and choose a built-in recipe to make your first color picture. Start with red, green and blue stacks of one target. If you have a luminance stack, you can use it for detail in the same picture. You can also use a single three-plane stack from a color camera. You’ll compare an edit and export a full-resolution image.

Install PSF Studio

Download PSF Studio 0.15 for your computer from GitHub. You can find other versions in the PSF Guard releases.

Browse the source on GitHub for PSF Studio, PSF Guard and Seiza.

Download the Seiza models and Gaia data

On the Studio start page, under Catalogs and models, click Settings…. If a picture is open, click Settings at the right of the top bar. Under Catalogs and models, click Install beside each item you need.

Each row shows download progress, then the installed status. Check the model and ONNX Runtime before running the tool.

If your connected PSF Guard server already has an item, Studio reads it directly when the server is on this computer. For a remote server, click Download from server name on the item’s row. After installing a catalog for an open picture, select an input and click Run tools to apply color calibration.

To try the examples as you read, open your stack files or open a PSF Guard target.

How inputs and layers build the picture

An input starts with a channel from your stacked images, such as R, L or Ha. Under Inputs, read from the bottom up. Stack is the channel before processing. The steps above it prepare that channel. Selecting the input shows the result after its enabled steps.

A layer controls how that result appears in the picture. It can give an input a color, blend it with the layers below, or apply an adjustment. Layers stay connected to their inputs. Several layers can use the same channel. A built-in recipe connects those inputs to a starting set of layers and groups. You can change the stretch, color or opacity after you see the first picture.

The final Iris Color group expanded, with L as luminance above R as red, G as green and B as blue.
The finished Iris picture. Read Color from the bottom up. B, G and R add the three colors. L as luminance supplies their lightness at 100%. The adjustments above those four layers act on that group. The separate RGB stars appear in the finished field at right.

Studio uses your computer’s graphics processor (GPU) to combine the visible layers. Change an input stretch, color or layer opacity and the canvas updates as you edit. Watch one stretch update the Iris layer stack.

Tools such as star removal need time to calculate. With Runs set to Automatically, Studio starts that work after you pause and updates the picture when the result is ready. The activity indicator in the top bar shows what is running. If you choose When I click, click Run tools to calculate pending results. Studio saves your editable document as you work. Choose Export… when you want an image file.

Open your stack files

  1. Gather the linear, stacked FITS or XISF files for one field. For separate red, green and blue stacks, identify each filter in the FILTER header or at the end of the filename, as in M42_R.fits. For a broadband color-camera stack, use the single file with all three color planes.
    The suffix identifies the filter. These four files all cover the same Iris field.
  2. If a picture is already open, click Open in the top bar. On the start page, under New picture from stack files, click Choose stack files….
    On the start page, choose the button under New picture from stack files.
  3. Select the files together and open them. Studio registers the channels to the first stack, prepares the inputs, and shows the picture. A three-plane broadband stack supplies red, green and blue from the same file. Keep your original stack files in place so Studio can read them again when tools need to run.
    Select the four files together. Open becomes available with the selection in place.

Once the picture opens, continue to Choose a starting recipe.

If Studio cannot identify a mono channel, give the file a filter suffix or set its FILTER header, then choose the files again. If two files identify the same channel, choose one stack for that filter.

Start from a PSF Guard project

If your channel stacks are already in PSF Guard, you can open the target directly.

  1. Open the project’s Stacks page in PSF Guard. Under Combine channel stacks, click Open target name in PSF Studio. The link appears for a target with completed channel stacks.
    In this PSF Guard example, M31 has completed channel stacks. The link under Combine channel stacks opens that target in Studio.
  2. The first time you open a link from this server, check the address in Studio and click Add and open. If Studio opens a connection page in your browser, sign in if prompted. Compare the code with the one in Studio and click Allow when the codes match.
    Check that the address is the server you chose in PSF Guard. Click Add and open to continue. Your server address will differ from this local example.
  3. Studio opens the target’s latest Studio document, or starts a picture from the channel stacks. With permission to save to the project, Studio also saves your edits there. A read-only account keeps edits on this computer.
    Read the document title when the picture opens. The save mark beside it gives access to the server document’s save options.

To try an edit in a separate version of a saved server picture, click the cloud icon beside the picture name and choose Save as a variant. Studio opens a new document on the same target for your edits.

Choose a starting recipe

Once your stacks open, choose how their light should build the picture. Use RGB for a first color image, or LRGB if you also have a luminance stack for detail. Studio offers the recipes your inputs can fill. With R, G and B plus lines that fit a narrowband palette, a new picture already starts with Narrowband with RGB stars.

  1. Click Recipe beside Combine and choose your starting arrangement. You can also choose it in Picture setup at the foot of the tree. In a saved picture, check the existing groups first. Choosing a recipe again replaces its groups and input layers. Studio removes steps attached to those rows and moves separate adjustment layers above the new groups. Your input stretches stay in place. Undo restores the previous arrangement.
    The menu on a mixed target includes narrowband recipes. With only the four Iris broadband stacks open, Picture setup offers the three choices shown in the second screenshot. The marked card is LRGB.
  2. If Picture setup is open, click Show the canvas. Expand the groups under Combine. With RGB, follow R, G and B into Color. With LRGB, find L as gray inside Luminance above Color. That group supplies lightness while the RGB channels supply hue. Now select an input’s Stretch to begin shaping it.
    Both pictures use the same fresh Iris stacks and starting stretches. Switching to LRGB adds a route from L to the picture. Look for the added group before adjusting L.

Match the recipe to the picture you want

Starting recipeWhen to choose it
RGBDevelop R, G and B as one color picture. A broadband color-camera stack can supply all three channels.
LRGBUse a separate L stack for lightness over the RGB color.
RGB with RGB starsStretch the starless color and return broadband stars at their own brightness. The Iris walkthrough adds L inside Color afterward.
NarrowbandBuild a Nebula group from emission lines. Use HOO for Ha and OIII or SHO for SII, Ha and OIII. See the SHO layers in SNR G132.
Narrowband with RGB starsUse the line stacks for the nebula and separated R, G and B stars for their color. See the HOO nebula and stars in Gulf of Mexico.
Narrowband with its own starsReturn the stars separated from a single line input over the narrowband nebula. This works without a broadband RGB set.
RGB with emission linesAdd line emission to a broadband color picture. The Emission lines group lets you adjust the contribution from each line.
LRGB with emission linesCombine broadband color with line emission and use a separate L stack for the lightness of the result.

A recipe with a separate stars group needs a star-removal tool. Studio sets up separation when a provider is available. Check Stars and lines for the results before judging the group’s brightness. If all three RGB star inputs already exist, Studio also returns them when you apply a recipe with a Color group. See how palettes and layers work within a recipe.

Compare a channel with the picture

  1. In the top bar choose Selected row and final picture, or press D. Hover over an icon to see its name.
    Choose the marked two-pane layout, or press D. Selecting a different input changes the left pane while the final picture stays at right.
  2. In the left pane, expand an input under Inputs and select its bottom row, Stack. The left canvas shows that channel before its processing steps. The right canvas shows the finished color picture. A view stretch makes the linear channel visible on screen. Compare the preview stretch with a saved stretch.
    Click Stack at the bottom of the expanded input. The view stretch makes the source visible. The finished picture at right uses the processed inputs.
  3. Select a Stretch row above Stack to see how the channel looks at that step. Click 100% to examine a star at one image pixel per screen pixel. Click Fit to return to the whole field.
    Select the saved Stretch on the input. Use 1:1 for the pixel check and Fit to see the full picture again.
Final picture selected in a real narrowband edit, with the layer tree on the left and histogram on the right.
In this narrowband picture, the RGB stars sit above the nebula. Select a different row to inspect its contribution.

Follow the red input into the picture

The R input's Stretch row is selected. The left pane shows the processed grayscale channel and the right pane shows the color picture.
Press D and select Stretch under R. Read the input steps upward from Stack. The pane labeled R · after Stretch shows what the color layer will receive. The stars visible at right come from another group.

The next two views show the RGB stage of the edit. First follow the red input into its layer, then change just that layer’s opacity.

The expanded Color group shows R as red, G as green and B as blue beside the blue core and brown dust of the Iris Nebula.
In this RGB stage of the Iris edit, each of the three rows adds one channel to Color. Follow the names from input to layer. The picture also includes a separate group for the stars.
Change an input
In an RGB picture, brighten the Stretch on R. R as red immediately uses the brighter red channel. Every other layer using that processed R input updates too.
Change a layer
Lower Opacity on R as red. That layer contributes less red to the mix. The R input still has the stretch you set.
Watch the result
Select the R input and press D. The left pane shows R after its steps. The right pane shows Final picture, with the visible layers combined from the bottom up. Both panes follow your edits.
The same RGB nebula with the R as red layer at full and half opacity.
R as red at 100% on the left and 50% on the right. The mix shifts toward green and blue as the layer contributes less red. Both views use the same processed R input.

Add detail from the L stack

The L input is a grayscale stack with its own processing and stretch. The LRGB recipe already uses L in a Luminance group. In the Iris walkthrough, RGB with RGB stars starts with just the color and stars groups. To put L inside Color in that arrangement, select the group, click Layer and choose L. Studio adds L as luminance above the three color layers. With its Blend set to luminance, that layer takes brightness from L and preserves the hue of the RGB mixture beneath. RGB stars above the group returns the separated stars.

Compare the contribution of the luminance layer
Iris core with brightness from the RGB channels.
L hidden. The three color channels provide both hue and brightness. Find the dark notch just below the blue core.
The identical Iris core with lightness from the L stack.
L visible. The faint dust around the core is brighter and the rim of the notch is easier to trace. The blue center and brown outer dust keep their color. Only the L layer’s visibility changed.

Try both edits. Adjust the Stretch on the L input to change the relationship between bright folds and faint dust. Adjust Opacity on L as luminance to mix that result with the original RGB brightness. At 0% the picture has the underlying RGB lightness. At 100% it uses L at that point in the group.

Brighten the picture and compare the edit

  1. Select Final picture at the top of the tree. In the Add row just above the layers, click Adjustment and choose Tone and color. Studio adds the adjustment above every layer and selects it.
    With Final picture selected, open Adjustment and choose the marked Tone and color entry.
  2. In the right pane, click the number beside Exposure, type 0.25, and press Enter. The adjustment brightens the picture by a quarter stop. Watch a patch of faint nebulosity and a bright star core as the canvas updates.
    Set Exposure to +0.25. This adjustment sits above the composition, so it brightens both the nebula and the stars.
  3. Press Y for Before, selected row and final picture. Compare the image before the adjustment at left with its result in the middle and the final picture at right. Click Clipping in the top bar to mark pixels clipped to white in red and pixels clipped to black in blue. Click it again to return to color.
    Compare the core at the same position in all three panes. Switch on Clipping to see which pixels reach a display limit.
  4. Click Undo to restore the previous exposure. Click Redo to keep the brighter result, or leave the edit undone if the stars look better at the original exposure.
    After changing Exposure, use the left arrow to undo it. The right arrow becomes available to restore the edit.

Save a snapshot before trying a different edit

  1. In the left pane, scroll to Snapshots above History. Click Take snapshot, name the treatment and press Return.
    In this Sh2 157 example, Full nebula keeps the H-alpha layer at 100% opacity.
  2. Change a layer’s opacity, then click the snapshot name to restore the original picture. Click the automatic Before entry to return to the opacity you just tried.
    The highlighted snapshot restores the 65% treatment. You can undo or redo its opacity change again.

For naming, deletion and moving snapshots to another computer, see Snapshots and History.

Export the finished image

  1. Select Final picture. In its controls, check Crop. Auto trims the empty edges left by registration. Choose Whole if you want to keep the entire frame.
    The Crop row offers Auto, Whole and Drawn. The dimensions below it are the dimensions Studio will export. This saved Gulf picture uses Drawn.
  2. Under Format, choose TIFF, then 16-bit for an SDR image you can edit in another program. If you are working on a server picture, Also save to the project uploads a copy when enabled. Turn it off for a local export only.
    Choose TIFF and 16-bit. For a server picture, the project option beneath the format controls determines whether to upload a copy.
  3. Click Export…, choose a folder and filename, and save. The first export opens in your Pictures folder. Later exports open in the folder you last used. Studio renders the selected crop at full resolution. Zooming the canvas has no effect on the file dimensions.
    Enter a filename, choose the destination and click the marked Save button.
  4. Read the export status. If it lists an omitted tool, click the warning triangle in the top bar to check the reason. Resolve the missing requirement, click Run tools and export again to include its result.
    The status in this example confirms a completed TIFF. If Studio reports an omitted tool, open Problems and inspect the affected step.

Return to the edit or move it to another computer

Studio opens your last picture when you start it again. To resume another edit, click Open and choose it under Recent pictures.

  1. To carry an editable copy to another computer, select Final picture and click Export workspace…. Choose a destination with space for the channel stacks and any image files used by layers.
    Under Workspace, select Export workspace to save an editable copy with its source files.
  2. Copy the resulting .psfstudio file to the other computer. In Studio, click Open, then Import workspace…. Studio checks the files and prepares a new local picture with the edits, history and any snapshots. A workspace from a server picture keeps its project link.
    On the destination computer, click Import workspace on the start page, then choose the .psfstudio file you copied.
  3. If a tool is missing on the new computer, Studio leaves its step available to run later. Open Problems to see what the tool needs. You can install Seiza models and ONNX Runtime under Settings. After the required tool is available, click Run tools.
    Find the required model or runtime in Settings. After installation, return to its processing step and click Run tools.

Look up tools, processing controls and expressions in the Studio reference.