i would like to specify myself a specific value for the sky background.
The following PixelMath expression will do just what you want:
$T - median( $T ) + 0.125where 0.125 is an example background value that you want to force (this value can be appropriate for a nonlinear image, but linear data will normally need a much lower one). This equation assumes that the median provides a robust estimate of the average sky background, which is true for most deep-sky images, where the sky dominates the distribution of pixel values.
If you have an image whose background you want to replicate, you can use:
$T - median( $T ) + median( ReferenceImage )where 'ReferenceImage' is the identifier of the view in question (replace as appropriate).
Just for the record, a full scale + zero offset normalization would be, using MAD as scale estimator:
($T - median( $T ))*MAD( ReferenceImage )/MAD( $T ) + median( ReferenceImage )
You can automate PixelMath very easily with ImageContainer. Let me know if this helps.