软件版本:4.10、4.11都存在此问题
问题描述:
Running elastix with parameter file 0: “C:\Users\lsz\AppData\Roaming\NA-MIC\Extensions-29402\SlicerElastix\lib\Slicer-4.11\qt-scripted-modules\Resources\RegistrationParameters\Par0003.affine.txt”.
Current time: Fri Oct 23 20:23:07 2020.
Reading the elastix parameters from file …
Installing all components.
InstallingComponents was successful.
ELASTIX version: 5.000
Command line options from ElastixBase:
-f C:/Users/lsz/AppData/Local/Temp/Slicer/Elastix/20201023_202305_762\input\fixed.mha
-m C:/Users/lsz/AppData/Local/Temp/Slicer/Elastix/20201023_202305_762\input\moving.mha
-fMask unspecified, so no fixed mask used
-mMask unspecified, so no moving mask used
-out C:\Users\lsz\AppData\Local\Temp\Slicer\Elastix\20201023_202305_762\result-transform
-p C:\Users\lsz\AppData\Roaming\NA-MIC\Extensions-29402\SlicerElastix\lib\Slicer-4.11\qt-scripted-modules\Resources\RegistrationParameters\Par0003.affine.txt
-p C:\Users\lsz\AppData\Roaming\NA-MIC\Extensions-29402\SlicerElastix\lib\Slicer-4.11\qt-scripted-modules\Resources\RegistrationParameters\Par0003.bs-R4-fg.txt
-priority unspecified, so NORMAL process priority
-threads unspecified, so all available threads are used
WARNING: The parameter “UseDirectionCosines”, requested at entry number 0, does not exist at all.
The default value “true” is used instead.
WARNING: The option “UseDirectionCosines” was not found in your parameter file.
From elastix 4.8 it defaults to true!
This may change the behavior of your registrations considerably.
Command line options from TransformBase:
-t0 unspecified, so no initial transform used
Reading images…
Reading images took 1072 ms.
WARNING: the fixed pyramid schedule is not fully specified!
A default pyramid schedule is used.
WARNING: the moving pyramid schedule is not fully specified!
A default pyramid schedule is used.
WARNING: The parameter “AutomaticTransformInitializationMethod”, requested at entry number 0, does not exist at all.
The default value “GeometricalCenter” is used instead.
Transform parameters are initialized as: [1, 0, 0, 0, 1, 0, 0, 0, 1, -22.611846500000013, -0.011846500000018523, -57.9375]
InitializeTransform took 0.01s
Scales are estimated automatically.
Scales for transform parameters are: [12553.036193847656, 12553.036193847656, 6870.80078125, 12553.036193847656, 12553.036193847656, 6870.80078125, 12553.036193847656, 12553.036193847656, 6870.80078125, 1, 1, 1]
Initialization of all components (before registration) took: 13 ms.
Preparation of the image pyramids took: 7980 ms.
Resolution: 0
WARNING: The parameter “CheckNumberOfSamples”, requested at entry number 0, does not exist at all.
The default value “true” is used instead.
WARNING: The parameter “UseMultiThreadingForMetrics”, requested at entry number 0, does not exist at all.
The default value “true” is used instead.
Setting the fixed masks took: 0 ms.
Setting the moving masks took: 0 ms.
WARNING: The parameter “NumberOfFixedHistogramBins”, requested at entry number 0, does not exist at all.
The default value “32” is used instead.
WARNING: The parameter “NumberOfMovingHistogramBins”, requested at entry number 0, does not exist at all.
The default value “32” is used instead.
WARNING: The parameter “UseFastAndLowMemoryVersion”, requested at entry number 0, does not exist at all.
The default value “true” is used instead.
WARNING: The parameter “UseJacobianPreconditioning”, requested at entry number 0, does not exist at all.
The default value “false” is used instead.
WARNING: The parameter “FiniteDifferenceDerivative”, requested at entry number 0, does not exist at all.
The default value “false” is used instead.
WARNING: The parameter “MaximumNumberOfSamplingAttempts”, requested at entry number 0, does not exist at all.
The default value “0” is used instead.
Elastix initialization of all components (for this resolution) took: 6 ms.
Computing the fixed image extrema took 95 ms.
Computing the moving image extrema took 53 ms.
Initialization of AdvancedMattesMutualInformation metric took: 11389 ms.
Time spent in resolution 0 (ITK initialization and iterating): 11.398 s.
Stopping condition: Error in metric.
itk::ExceptionObject (00000087DD3DF848)
Location: “ElastixTemplate - Run()”
File: D:\D\S\S-0-E-b\SlicerElastix-build\elastix\Common\ImageSamplers\itkImageRandomSamplerSparseMask.hxx
Line: 57
Description: itk::ERROR: itk::ERROR: RandomSamplerSparseMask(0000020AA31A1000): ERROR: do not call this function when no mask is supplied.
Error occurred during actual registration.
Errors occurred!
Error: Command ‘elastix’ returned non-zero exit status 1.