View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004290 | Slicer4 | Core: Base Code | public | 2016-10-27 21:50 | 2018-03-02 11:01 |
Reporter | jcfr | Assigned To | jcfr | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.7.0 | ||||
Target Version | Slicer 4.7.0 | Fixed in Version | Slicer 4.7.0 | ||
Summary | 0004290: ITK warning: Refusing to register transform | ||||
Description | Following r25482, the warnings reported below are displayed when starting Slicer:
<pre> WARNING: In /home/jcfr/Projects/Slicer-Release/ITKv4/Modules/IO/TransformFactory/include/itkTransformFactoryBase.h, line 81 WARNING: In /home/jcfr/Projects/Slicer-Release/ITKv4/Modules/IO/TransformFactory/include/itkTransformFactoryBase.h, line 81 WARNING: In /home/jcfr/Projects/Slicer-Release/ITKv4/Modules/IO/TransformFactory/include/itkTransformFactoryBase.h, line 81 WARNING: In /home/jcfr/Projects/Slicer-Release/ITKv4/Modules/IO/TransformFactory/include/itkTransformFactoryBase.h, line 81 WARNING: In /home/jcfr/Projects/Slicer-Release/ITKv4/Modules/IO/TransformFactory/include/itkTransformFactoryBase.h, line 81 WARNING: In /home/jcfr/Projects/Slicer-Release/ITKv4/Modules/IO/TransformFactory/include/itkTransformFactoryBase.h, line 81 WARNING: In /home/jcfr/Projects/Slicer-Release/ITKv4/Modules/IO/TransformFactory/include/itkTransformFactoryBase.h, line 81 WARNING: In /home/jcfr/Projects/Slicer-Release/ITKv4/Modules/IO/TransformFactory/include/itkTransformFactoryBase.h, line 81 | ||||
Tags | No tags attached. | ||||
Fixed pushed here: https://github.com/Slicer/Slicer/pull/614 |
|
In fact, previous PR was created while working on these fix: http://review.source.kitware.com/#/c/21677/2 |
|
Neither of these patches address the warnings in this issue. The value of the b-spline order is not changed with this pull 0000614. It does address the conceptual conflating for the 3rd template parameter of the Dimension and BSpline order. The ITK patch http://review.source.kitware.com/#/c/21677/2 addresses warnings in SimpleITK related to duplicate registration of BSpline Transforms. And Bugs related to IO of BSplines with different orders not being loaded correctly. |
|
My suggestion to address the Slicer issue was to ensure that Slicer only register the transforms once. That is adding some type of static bool in the following method to ensure it is only executed once: The counter suggestion was to add a static option to ITK's transform factory to disable the display of the warning. |
|
Any progress in solving this issue? I am having this problem using Slicer |
|
Thanks to Francois, this should be addressed by https://github.com/InsightSoftwareConsortium/ITK/commit/abb121659478e87b776274a6c8bf24ff9095162c Building locally, I will update Slicer trunk shortly. |
|
Fixed in http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=25508 |
|
Import 2017-06-07 23:51:09: master fd05072a 2016-11-07 16:08:53 Details Diff |
ENH: Update ITK. Fixes 0004290 This commit addresses issue 0004290 avoiding the "already registered transform" warning from being reported. $ git shortlog 9071eea..883ecb4 --no-merges Bill Lorensen (1): ENH: Bump WikiExamples remote module version Bradley Lowekamp (2): BUG: Use BSpline Order 3 for 2D in transform factory. ENH: Add spline order to BSplineTransform's string id Francois Budin (6): ENH: Update SCIFIO to latest version on 10/25/2016 BUG: Swig and PCRE do not support space in installation paths BUG: exit() call from within piped commands was not exiting the script BUG: Typo in folder creation command ENH: Only display message for transform registered multiple times in debug ENH: Image spacing must be positive Gilles Filippini (1): BUG: Use NATIVE_HBOOL for encoding HDF5 types. Jon Haitz Legarreta (32): ENH: Improve itk::VectorRescaleIntensityImageFilter coverage. STYLE: Improve the itkVectorRescaleIntensityImageFilter style. ENH: Print missing ivar in filter PrintSelf method. ENH: Improve itkComplexToImaginaryFilter coverage. ENH: Improve itkComplexToPhaseImageFilter coverage. ENH: Improve itkComplexToModulusImageFilter coverage. ENH: Improve itkComplexToRealImageFilter coverage. ENH: Improve itkVectorResampleImageFilter coverage. ENH: Add GetTransform method. ENH: Improve itkConstrainedValueAdditionImageFilter coverage. ENH: Improve itkModulusImageFilter coverage. ENH: Improve itkLog10ImageFilter coverage. ENH: Imporve itkMagnitudeAndPhaseToComplexImageFilter coverage. ENH: Improve itkLogImageFilter coverage. ENH: Improve itkInvertIntensityImageFilter coverage. STYLE: Improve itkInvertIntensityImageFilter style. DOC: Add missing doc to itkInvertIntensityImageFilter. STYLE: Improve itkIntensityWindowingImageFilter style. STYLE: Use initialization lists. ENH: Improve itkIntensityWindowingImageFilter coverage. ENH: Improve itkNaryMaximumImageFilter coverage. COMP: Fix std::precision type casting warning. ENH: Improve itkPointSetToPointSetRegistrationMethod coverage. STYLE: Improve the itkPointSetToPointSetImageRegistrationMethod style. ENH: Remove SmartPointers being explicitly initialized to null. STYLE: Improve the itkPointSetToImageRegistrationMethod style. ENH: Improve itkPointSetToImageRegistration coverage. STYLE: Change the name of the itkPointSetToImageRegistrationMethod test. STYLE: Improve itkVectorResampleImageFilter style. STYLE: Improve the itkAntiAliasBinaryImageFilter style. ENH: Improve trigonometric function filters' coverage. STYLE: Remove test names from std::out messages. KWSys Robot (2): KWSys 2016-10-23 (b630d2f5) KWSys 2016-11-03 (37306a1c) Matthew McCormick (11): BUG: Use SpacePrecisionType in TileImageFilter ENH: Run .sha512, .md5 simultaneous modification pre-commit check BUG: Correct CastXML Windows binary BUG: Support non-zero Index in LevelSetNeighborhoodExtractor ENH: Add ArchiveTestingDataOnGirder.py BUG: Correct AtanRegularizationHeavisideStepFunction derivative ENH: Add Utilities/Maintenance/ContentLinkSynchronization.sh BUG: Remove extra HessianToObjectness content links ENH: Wrap SpatialFunction float types with ITK_WRAP_float BUG: Bump PerformanceBenchmarking to 2016-11-04 BUG: itk_python_expression_add_test too many quotes. Taylor Braun-Jones (2): COMP: Fix truncation from double to float warning DOC: Fix incorrect itkFactorylessNewMacro documentation git-svn-id: http://svn.slicer.org/Slicer4/trunk@25508 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - SuperBuild/External_ITKv4.cmake | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-27 21:50 | jcfr | New Issue | |
2016-10-27 21:50 | jcfr | Status | new => assigned |
2016-10-27 21:50 | jcfr | Assigned To | => fbudin |
2016-10-28 17:09 | jcfr | Assigned To | fbudin => blowekamp |
2016-10-28 17:09 | jcfr | Note Added: 0014230 | |
2016-10-28 17:24 | jcfr | Note Added: 0014231 | |
2016-10-28 20:59 | blowekamp | Note Added: 0014232 | |
2016-10-28 21:06 | blowekamp | Note Added: 0014233 | |
2016-11-07 14:40 | bpaniagua | Note Added: 0014237 | |
2016-11-07 15:28 | jcfr | Note Added: 0014239 | |
2016-11-07 15:28 | jcfr | Assigned To | blowekamp => jcfr |
2016-11-07 16:20 | jcfr | Note Added: 0014240 | |
2016-11-07 16:20 | jcfr | Status | assigned => resolved |
2016-11-07 16:20 | jcfr | Fixed in Version | => Slicer 4.7.0 |
2016-11-07 16:20 | jcfr | Resolution | open => fixed |
2017-06-10 08:51 | jcfr | Changeset attached | => Slicer master fd05072a |
2018-03-02 11:01 | jcfr | Status | resolved => closed |