NAME

blend - create color TIFF file from fits

SYNOPSIS

blend r=file[,factor] g=file[,factor] b=file[,factor] [l=file[,factor]]
[gamma=] [modulo] [triple]
[outfile=] [minimum=] [bits=8]

DESCRIPTION

This routine takes the red, green, and blue fits files specified on the command line and combines them into a color TIFF file. Each file is multiplied by an optional factor and then used to specify the R, G, and B levels of the output TIFF file.

Levels above 255 and below 0 are clipped, unless the modulo flag is specified at which time the module 255 is used.

Multiplicative factors can be specified by placing comma and a floating point number directly after the filename (the .fits is optional).

If an optional luminance file is specified, the behavior is a bit different. The R value written is equal to the luminance*red/(red+green+blue), the G value written is equal to the luminance*green/(red+green+blue), and the B value similarly constructed.

All files must have the same number of rows and columns.

The output file has the name "blend.tiff" unless changed by using the outfile= option.

OPTIONS

minimum= sets the minimum value of the R+G+B sum. If the sum is below this value the output data is set to zero. The default value is 1.

gamma= changes the display transformation exponent (default:1.0).

triple - clips to the maximum, but keeps the color value consistent.

EXAMPLE

blend r=m88R,0.88 g=m88V,0.76 b=m88B  outfile=m88.tiff

XVista index