Revision as of 20:35, 25 September 2013 by Vincent (talk | contribs) (Basic copy of the commands.pdf from Cyril)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Siril command line functions reference

This manual is a summary of the dierent commands you can �nd in Siril. As Siril is in alpha test phase, numerous commands can be created and some others can be changed. Please check the date of the compilation of this manual before using.

cd

cd directory

Set the current working directory.

crop

crop x, y, width, height

Crops the current image either with the rectangle previously selected with the mouse or with the x, y, width and height parameters.

ddp

ddp level coef sigma

Performs a DDP (digital development processing) as described �rst by Kunihiko Okano. This implementation is the one described in IRIS. It combines a linear distribution on low levels (below level) and a non-linear on high levels. It uses a gaussian filter of sigma sigma multiplies the resulting image by coef.

entropy

entropy filename

Computes the entropy of the file given in the parameter filename.

exit

exit

Quits the application.

fill

fill value

Fills the whole current image with pixels having the value intensity.

gauss

gauss sigma

Performs a gaussian �lter with the given sigma.

help

help

Gives the available commands.

load

load filename [rvbag]

Loads the fits image filename; it �rst attempts to load filename, then filename.fit and finally filename.fits, aborting if none of these are found. These scheme is appliable to every siril command implying reading files. Fits headers MIPS-HI and MIPS-LO are read and their values given to the current viewing levels (the second, optional argument is reserved for a future use)

log

log

Computes and applies a logarithmic scale to the current image.

mirrorx

mirrorx

Rotates the image around a vertical axis.

mirrory

mirrory

Rotates the image around an horizontal axis.

nozero

nozero level

Replaces null values by level values. Useful before an idiv or fdiv operation.

save

save filename [rvbag]

Writes the currently displayed image to filename.fit. Fits headers MIPS-HI and MIPS-LO are added with values corresponding to the current viewing levels (the second, optional argument is reserved for a future use).

save

savergb filename [rvbag]

Same command than save.

threshlo, threshhi, thresh

These are threshold functions:

  • threshlo 0 replaces negative values with 0s;
  • threshhi 1000 replaces values above 1000 with 1000;
  • thresh 0 1000 does both.

unsharp

unsharp sigma multi

Applies to the working image an unsharp mask with sigma sigma and coefficient multi.

visu

visu low high

Display an image with low and high as the low and high threshold.

wavelet

wavelet plan_number type

Computes the wavelet transform on plan_number plans using linear (type=1) or bspline (type=2) version of the 'a trous' algorithm. The result is stored in a file as a structure containing the planes, ready for weighted reconstruction with wrecons.

wrecons

wrecons c1 c2 ... cn

Reconstructs to current image from the planes previously computed with waveletand weighted with coefficients c1, c2, ... cn according to the number of planes used for wavelet transform