Help for DLR12TO8

 dlr12to8 is a program to compute a LUT-table for the point by point 
 intensity value transformation of a 12 Bit to an 8 Bit image. 
 This ASCII LUT file is suitable for input to the program flcform_lut.

 Four transformation functions are given. 
 
      - Normalisation:     gmean, gsig
      - Equalisation
      - Linear             dnmin, dnmax  or
      - Linear (clipping)  lower, upper (bound, percentage of all 
		                         pixels [e.g: 0.1,0.1%])
      - SQRT (clipping)    lower, upper (bound, percentage of all 
		                         pixels [e.g: 0.1,0.1%])
      - pow (clipping)    lower, upper (bound, percentage of all 
		                         pixels [e.g: 0.1,0.1%])

EXECUTION:

 dlr12to8 histo-inp-file lut-out-file
          + Program reads the DNMIN DNMAX value in the  
	    histo-inp-file history label and performs
	    a linear scaling. 
 dlr12to8 lut-out-file dnmin=xx dnmax=yy
          + Program use the DNMIN, DNMAX parameter and 
	    performs a linear scaling (hwcform mode).
	    No histogram file is needed. 
 dlr12to8 histo-inp-file lut-out-file lower=xx upper=yy
          + Program calculates linear scaling factors.
	    xx percent of the lower and yy percent of 
	    the upper pixel values will be ignored. 
 dlr12to8 histo-inp-file lut-out-file mode=equal
          + Program calculates LUT-table values for an
	    equalized output image. 
 dlr12to8 histo-inp-file lut-out-file mode=normal gmean=xx gsig=yy
              + Program calculates LUT-table values for an
	        normalized output image. 

 RESTRICTIONS:
 If there are no histogramm files the mode ist the linear 
 transformation mode with given dnmin and dnmax values.

 

PARAMETERS:


INP

Input histogram files

OUT

output lut table file.

MODE

transformation mode

GMEAN

mean value of the normalized image

GSIG

standart deviation normalized image

DNMIN

Minimum value to be used for the calculation of the scaling factor

DNMAX

Maximum value to be used for the calculation of the scaling factor

LOWER

percentage of the lower pixel values which will be ignored for the calculation of the scaling factor

UPPER

percentage of the upper pixel values which will be ignored for the calculation of the scaling factor

MISSVAL

value will not be used for histogram calculation