# mrcImagePad

## Usage

    Usage: mrcImagePad
    Options:
        [-i[nput]            In                  (NULL      )] :Essential :Input DataFile
        [-o[utput]           Out                 (NULL      )] :Essential :Output DataFile
        [-W[idth]            Width               (0         )] :Optional  :Width[pixel]
        [-H[eight]           Height              (0         )] :Optional  :Height[pixel]
        [-V[alue]            Value               (0.0       )] :Optional  :Padding Value(float on avgrage density)
        [-E[xpected]V[alue]  ExpectedValue       (0.0       )] :Optional  :Expected Value for Background
        [-AW                 AvgWnd              (2000.0    )] :Optional  :Averaging Window Size [A]
        [-AWMin              AWMin               (20        )] :Optional  :Averaging Window Size[pixel]
        [-AWMax              AWMax               (22        )] :Optional  :Averaging Window Size[pixel]
        [-Tilt               TiltAxisAngle       (0         )TiltAngle           (0         )] :Optional  :TiltImage: TiltAxisAngle TiltAngle
        [-c[onfig]           configFile          (NULL      )] :Optional  :Configuration File
        [-m[ode]             mode                (0         )] :Optional  :Mode
    ----- Mode -----
    0: Pad average density(Image Center)
    1: Pad average density of x=0 and x=MAX(x)(Image Center)
    2: Pad dynamic average density of x=0 and x=MAX(x)(Image Center)
    3: Pad average density of x=0,MAX(x) and y=0,MAX(y), (Image Center)
    4: Pad average density of bottom left
    5: Pad value (Image Center)
    6: Pad value of bottom left
    7: Pad value estimated from outside circle
    8: Pad value estimated from outside ring: -AWMin -AMax
    9: Pad value is Value
    10: Periphery Masking Using ExpectedValue
    11: Normalized Padding using (I(x,y)-avg(bg))/avg(bg))
    12: Normalized Padding using (I(x,y)-avg(I))/sqrt(var(I)))
    13: Normalized Padding using (I(x,y)-avg(bg))/sqrt(var(bg)))
    14: Normalized Padding using (I(x,y)-avg(bg))/(avg(I)-avg(bg))
    15: Tilted Image Circle Average: Need two values of TiltAxisAngle TiltAngle