# mrcImagePad

## Usage

    Usage: mrcImagePad
    Options:
        [-i[nput]            In                  (NULL      ).as(inFile              ) ] :Essential :Input DataFile
        [-o[utput]           Out                 (NULL      ).as(outFile             ) ] :Essential :Output DataFile
        [-W[idth]            Width               (0         ).as(Integer             ) ] :Optional  :Width[pixel]
        [-H[eight]           Height              (0         ).as(Integer             ) ] :Optional  :Height[pixel]
        [-V[alue]            Value               (0.0       ).as(Real                ) ] :Optional  :Padding Value(float on avgrage density)
        [-E[xpected]V[alue]  ExpectedValue       (0.0       ).as(Real                ) ] :Optional  :Expected Value for Background
        [-AW                 AvgWnd              (2000.0    ).as(Real                ) ] :Optional  :Averaging Window Size [A]
        [-AWMin              AWMin               (20        ).as(Real                ) ] :Optional  :Averaging Window Size[pixel]
        [-AWMax              AWMax               (22        ).as(Real                ) ] :Optional  :Averaging Window Size[pixel]
        [-Tilt               TiltAxisAngle       (0         ).as(Real                )
                             TiltAngle           (0         ).as(Real                ) ] :Optional  :TiltImage: TiltAxisAngle TiltAngle
        [-c[onfig]           configFile          (NULL      ).as(inFile              ) ] :Optional  :Configuration File
        [-m[ode]             mode                (0         ).as(Integer             ) ] :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