Can Siril be used successfully if lacking flats, darks, bias, etc? Does it do a good job aligning the frames? Do I need to use Hugin? Is there a GUI for Hugin?

Here are some commands which can be used by simple copy/paste one-by-one in the Siril command prompt, or added in a script:

  1. Load the raw files (those we call “lights”), demosaic them and convert them to FITS (internal file format):
    convertraw lights_ -debayer

2. Automatic cosmetic correction:
seqfind_cosme_cfa lights_ 3 3

2. Demosaicing the lights
preprocess lights_ -debayer

  1. Registering the stars (i.e., finding the stars in the files):
    register lights_

  2. Stacking the registered lights:
    stack r_lights_ rej 3 3 -norm=addscale

  3. Load the resulting stacked image in memory:
    load r_lights_stacked.fit

  4. Optionally: postprocessing the image
    crop 30 30 5950 3970 (you have to change those numbers according to your files)
    log
    rmgreen 1
    rl 10 0.6
    It is also possible to autostretch the preview image, and with a right mouse click save as TIFF from the preview (I haven’t found a way to autostretch from command line).

  5. Exporting the final image:
    save result.fit
    savetif result
    close

2 Likes

I edited my post just above, as the second step (cosmetic correction) is supposed to be applied along dark frame subtraction only.

1 Like

I feed 6000x4000 px tiffs to Siril and after stacking and saving the resulting tiff I am given a 1920x1280 px tiff.

How do I tell Siril not to resize
Also there is a strange green hue diagonally across the middle of my frame and some red splotches also.

r_lights_stacked.tif (14.1 MB)

Am I missing something?

Weird, I used tiffs also and didn’t encounter any problem. Can you post a couple of the original tiffs so I can try ?

Sure, man, have a blast.

https://we.tl/t-K0L6qrxhlx

Could you also share the raws? In fact, during the registration step, all images are resized and I couldn’t find a setting to control that.

I would just like to start from the most fresh starting point, that is, raw files.

https://we.tl/t-MIc3w2XPOQ

Thanks.

Meanwhile, I think I got the size issue:

image

Some of the tiffs you shared are 1920 x 1282, so I believe Siril automatically resize all of them.

I know that much, because I didn’t choose any resize, nor do I know how to.

Issue is how to tell Siril to not resize anything.

What I’m saying is that you can’t feed Siril with images of different sizes, or it will automatically resize them all by the smaller size (which seems to be fair). I mean, this is what I think it’s happening.

Why don’t you repeat the steps @sguyader draw with the raw files, this time checking the debayer option?

Hmmm, that’s strange. I was under the impression I was feeding full-sized tiffs.

I gave it another shot, feeding the raw files this time, the resizing issue is no longer present, but the output file is very very dark, way darker than the raw.

I was able to finish that, no automatic resizing from Siril.

This time (and the first, for me), I loaded the raws and simply selected Scripts → … No_flat_No_dark_No_bias script. It did all the job and produced a _result .fit image. While in Siril, it’s just a matter of file->save and select tif, so you can do the pp on a raw editor.
Here’s my take (basically, exposure to stretch the histogram, then filmic and tone curves)


result1.tif.xmp (5.3 KB) (DT 2.7)
EDIT: forgot to mention, before saving I did Image processing → remove green noise.

Interesting… I’ll try the script, maybe it does something differently than manually going through the paces.

This was my result using the raws.

The script gave me an error:

15:07:39: Running command: cd
15:07:39: ‘lights’ No such file or directory
15:07:39: Error in line 18: ‘cd lights’.
15:07:39: Exiting batch processing.
15:07:39: Script execution failed.

I tried renaming the folder to lights, but no dice. What am I missing?

the script assumes you have the raws on a subfolder named lights. Do that and rerun it
But it won’t give anything much different from what you got manually.
I think it has to do with the fact that the debayer was done in linear space.
You have to pp the result in any raw editor and get back all the tones (they’re there, but hidden to our eyes)

1 Like

Cool, makes sense.

Thank you very much for all your help.

fast forward → @sguyader

EDIT: Also, I recommend you to take a look at the script output and note the script location. Mine is /usr/share/siril/scripts/ (yours is probably the same).
open a terminal (you’re in Linux, right?), cd to that directory, then issue a ls command. You’ll see all the scripts in there. Issue a cat DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf. You’ll see the steps it took to process the images.
No big deal.
EDIT 2: Regarding the result I got, I’m missing some color (aren’t there any red stars?). Maybe I did something wrong. Let’s see if @sguyader add some light here (pun intended).

Weird, now I have an issue.
I edit the resulting tif in darktable, then export it to jpeg, and the exported image is very different from the edited tif. The jpeg looses the big stars

Why that??

@gadolf thanks for what you did. I won’t have time to try before tomorrow.
One difficulty is white balancing, so maybe you lose red stars because of a wrong white balance. I get quite good results by using auto WB in RT on the resulting tif.
Another risk of loosing star colors is if you clip the highlights. Make sure to monitor highlights clipping when you tweak exposure.

1 Like

I think there’s a benefit from feeding Siril with raw files when you preprocess them with raw bias/dark/flat frames, as these steps are done before demosaicing. If you don’t preprocess in Siril, I think you can get good results by developing the raw files in you favorite raw processor, making sure you have don’t clip anything in the process. In RT, you can use the “unclipped” profile, and save 16 bit integer TIFFs (unfortunately Siril doesn’t read floating point TIFF).

2 Likes

Are you sure that it’s not just a preview rendering difference? Are the jpg and the tif the same resolution?