Commit b9f4248e authored by Sean Fitzgibbon's avatar Sean Fitzgibbon
Browse files

Add resolution level to APPLYXFM

parent f26f8195
......@@ -77,7 +77,8 @@ Once registered, you can apply the transform to the native image using the `APPL
usage: APPLYXFM [-h] [--inverse]
usage: APPLYXFM [-h] [--rlevel <rlevel>] [--inverse]
<moving> <moving-resolution> <fixed> <fixed-resolution> <reg-moving>
<reg-fixed> <resampled-img>
......@@ -94,6 +95,7 @@ positional arguments:
optional arguments:
-h, --help show this help message and exit
--rlevel <rlevel> Resolution level for output image (subsample by 2^rlevel)
--inverse Invert the transformation chain
......@@ -102,6 +102,10 @@ def add_applyxfm_cli(subparsers):
parser.add_argument("out", metavar="<resampled-img>",
help="Name for resampled output image", type=str)
parser.add_argument("--rlevel", metavar="<rlevel>",
help="Resolution level for output image (subsample by 2^rlevel)", default=0, type=int,
parser.add_argument('--inverse', dest='inverse', action='store_true',
help='Invert the transformation chain')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment