https://public.kitware.com/Wiki/index.php?title=TubeTK/Documentation/RegisterImages&feed=atom&action=historyTubeTK/Documentation/RegisterImages - Revision history2024-03-28T23:42:16ZRevision history for this page on the wikiMediaWiki 1.38.6https://public.kitware.com/Wiki/index.php?title=TubeTK/Documentation/RegisterImages&diff=57309&oldid=prevChristopher.mullins: Created page with " Description: Provides rigid, affine, and BSpline registration methods via a simple GUI USAGE: ./RegisterImages [--returnparameterfile <std::string>]..."2015-01-07T18:52:53Z<p>Created page with " Description: Provides rigid, affine, and BSpline registration methods via a simple GUI USAGE: ./RegisterImages [--returnparameterfile <std::string>]..."</p>
<p><b>New page</b></p><div> Description: Provides rigid, affine, and BSpline registration methods<br />
via a simple GUI<br />
<br />
USAGE: <br />
<br />
./RegisterImages [--returnparameterfile <std::string>]<br />
[--processinformationaddress <std::string>] [--xml]<br />
[--echo] [--controlPointSpacing <int>]<br />
[--bsplineSamplingRatio <float>]<br />
[--bsplineMaxIterations <int>] [--affineSamplingRatio<br />
<float>] [--affineMaxIterations <int>]<br />
[--rigidSamplingRatio <float>] [--rigidMaxIterations<br />
<int>] [--movingLandmarks<br />
<std::vector<std::vector<float> >>] ... <br />
[--fixedLandmarks <std::vector<std::vector<float> >>]<br />
... [--interpolation <NearestNeighbor|Linear<br />
|BSpline>] [--minimizeMemory] [--numberOfThreads<br />
<int>] [--randomNumberSeed <int>] [--fixedImageMask<br />
<std::string>] [--sampleFromOverlap] [--verbosityLevel<br />
<Silent|Standard|Verbose>] [--expectedSkew <float>]<br />
[--expectedScale <float>] [--expectedRotation <float>]<br />
[--expectedOffset <float>] [--metric <MattesMI<br />
|NormCorr|MeanSqrd>] [--registration <None|Initial<br />
|Rigid|Affine|BSpline|PipelineRigid|PipelineAffine<br />
|PipelineBSpline>] [--initialization <None|Landmarks<br />
|ImageCenters|CentersOfMass|SecondMoments>]<br />
[--saveDisplacementField <std::string>]<br />
[--saveTransform <std::string>] [--loadTransform<br />
<std::string>] [--resampledImage <std::string>] [--]<br />
[--version] [-h] <std::string> <std::string><br />
<br />
<br />
Where: <br />
<br />
--returnparameterfile <std::string><br />
Filename in which to write simple return parameters (int, float,<br />
int-vector, etc.) as opposed to bulk return parameters (image,<br />
geometry, transform, measurement, table).<br />
<br />
--processinformationaddress <std::string><br />
Address of a structure to store process information (progress, abort,<br />
etc.). (default: 0)<br />
<br />
--xml<br />
Produce xml description of command line arguments (default: 0)<br />
<br />
--echo<br />
Echo the command line arguments (default: 0)<br />
<br />
--controlPointSpacing <int><br />
Number of pixels between control points (default: 40)<br />
<br />
--bsplineSamplingRatio <float><br />
Portion of the image to use in computing the metric during BSpline<br />
registration (default: 0.1)<br />
<br />
--bsplineMaxIterations <int><br />
Maximum number of bspline optimization iterations (default: 20)<br />
<br />
--affineSamplingRatio <float><br />
Portion of the image to use in computing the metric during affine<br />
registration (default: 0.02)<br />
<br />
--affineMaxIterations <int><br />
Maximum number of affine optimization iterations (default: 50)<br />
<br />
--rigidSamplingRatio <float><br />
Portion of the image to use in computing the metric during rigid<br />
registration (default: 0.01)<br />
<br />
--rigidMaxIterations <int><br />
Maximum number of rigid optimization iterations (default: 100)<br />
<br />
--movingLandmarks <std::vector<std::vector<float> >> (accepted multiple<br />
times)<br />
Ordered list of landmarks in the moving image<br />
<br />
--fixedLandmarks <std::vector<std::vector<float> >> (accepted multiple<br />
times)<br />
Ordered list of landmarks in the fixed image<br />
<br />
--interpolation <NearestNeighbor|Linear|BSpline><br />
Method for interpolation within the optimization process (default:<br />
Linear)<br />
<br />
--minimizeMemory<br />
Reduce the amount of memory required at the cost of increased<br />
computation time (default: 0)<br />
<br />
--numberOfThreads <int><br />
Number of CPU threads to use (default: 0)<br />
<br />
--randomNumberSeed <int><br />
Seed to generate a consistent random number sequence (default: 0)<br />
<br />
--fixedImageMask <std::string><br />
Image which defines a mask for the fixed image<br />
<br />
--sampleFromOverlap<br />
Limit metric evaluation to the fixed image region overlapped by the<br />
moving image (default: 0)<br />
<br />
--verbosityLevel <Silent|Standard|Verbose><br />
Level of detail of reporting progress (default: Standard)<br />
<br />
--expectedSkew <float><br />
Expected misalignment after initialization (default: 0.01)<br />
<br />
--expectedScale <float><br />
Expected misalignment after initialization (default: 0.05)<br />
<br />
--expectedRotation <float><br />
Expected misalignment after initialization (default: 0.1)<br />
<br />
--expectedOffset <float><br />
Expected misalignment after initialization (default: 10)<br />
<br />
--metric <MattesMI|NormCorr|MeanSqrd><br />
Method to quantify image match (default: MattesMI)<br />
<br />
--registration <None|Initial|Rigid|Affine|BSpline|PipelineRigid<br />
|PipelineAffine|PipelineBSpline><br />
Method for the registration process (default: PipelineAffine)<br />
<br />
--initialization <None|Landmarks|ImageCenters|CentersOfMass<br />
|SecondMoments><br />
Method to prime the registration process (default: CentersOfMass)<br />
<br />
--saveDisplacementField <std::string><br />
Save displacement field result from registration<br />
<br />
--saveTransform <std::string><br />
Save the transform that results from registration<br />
<br />
--loadTransform <std::string><br />
Load a transform that is immediately applied to the moving image<br />
<br />
--resampledImage <std::string><br />
Registration results<br />
<br />
--, --ignore_rest<br />
Ignores the rest of the labeled arguments following this flag.<br />
<br />
--version<br />
Displays version information and exits.<br />
<br />
-h, --help<br />
Displays usage information and exits.<br />
<br />
<std::string><br />
(required) Image which defines the space into which the moving image<br />
is registered<br />
<br />
<std::string><br />
(required) The transform goes from the fixed image's space into the<br />
moving image's space<br />
<br />
Author(s): Stephen R Aylward (Kitware), Casey B Goodlett<br />
(Kitware)<br />
<br />
Acknowledgements: This work is part of the National Alliance for Medical<br />
Image Computing (NAMIC), funded by the National Institutes of Health<br />
through the NIH Roadmap for Medical Research, Grant U54 EB005149.</div>Christopher.mullins