onepatchcorr(1)             General Commands Manual            onepatchcorr(1)



NAME
       onepatchcorr - Correlate a patch from two volumes at one position

SYNOPSIS
       onepatchcorr xsize ysize zsize  xcen ycen zcen  filea fileb  out-
       put_file

DESCRIPTION
       onepatchcorr is a C-shell script to determine the 3-D displacement
       between a single subset or patch extracted from two image volumes in
       filea and fileb.  It extracts the patch from each of the two volumes
       using tapervoledge.  It then uses clip to do 3-D cross-correlation
       between the patches and determines the displacement of the patch in
       fileb relative to the patch in filea.  It writes a single line to the
       output file giving the displacement between the two files in X, Y, and
       Z.


ARGUMENTS
       The size of the patch in X, Y, and Z is set by the arguments xsize,
       ysize, and zsize.

       The location of the center of the patch is given by the index coordi-
       nates xcen, ycen, and zcen.


AUTHOR
       David Mastronarde  <mast at colorado dot edu>

SEE ALSO
       tapervoledge, clip



IMOD                                 5.2.0                     onepatchcorr(1)