# mrcImageNormalizing

## Usage

    Usage: mrcImageNormalizing
    Options:
        [-i[nput]            In                  (NULL      )] :Essential :InputDataFile
        [-o[utput]           Out                 (NULL      )] :Essential :OutputDataFile
        [-A                  A                   (1.0       )] :Optional  :A
        [-B                  B                   (0.0       )] :Optional  :B
        [-ContourMin         ContourMin          (0.0       )] :Optional  :ContourMin
        [-ContourMax         ContourMax          (1.0       )] :Optional  :ContourMax
        [-ContourSolvent     ContourSolvent      (0.0       )] :Optional  :ContourSolvent
        [-c[onfig]           configFile          (NULL      )] :Optional  :ConfigurationFile
        [-m[ode]             mode                (0         )] :Optional  :Mode
    ----- mode -----
    ----- Mode for lmrcImageNormalizing -----
      0: Double Exponential: Solvent and Object
             Fitting histgram to double exponentials as Solvent and Object
    		   data = A*(data-MeanOfSolvent)/(MeanOfObject-MeanOfSolvent) + B
      1: Min-Max: Background and Object
    		   data = A*(data-Min)/(Max-Min) + B
      2: Contour
    		   data = A*(data-ContourMin)/(ContourMax-ContourMin) + B
      3: Contour and Solvent
    		   if data < ContourSolvent, data = ContourSolvent.  After this, calculate the below.
    		   data = A*(data-ContourMin)/(ContourMax-ContourMin) + B
      4: No Estimation
    		   data = A*data + B