InsightSoftwareConsortium / InsightSoftwareConsortium/ITK
Montage: run simpleMontage.py get error ITK ERROR: Object factory failed to instantiate class itk::RealToHalfHermitianForwardFFTImageFilter on windows 10
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 748
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 64
Description
The `Montage` module was ingested into ITK from the (now archived) `ITKMontage` remote module. This issue tracks, in ITK proper, the work originally filed as **InsightSoftwareConsortium/ITKMontage#214** by @zhusihan-python (2023-03-06).
---
hi, i build the lastest verion itk 5.3.0 and itk montage 0.8.1 on windows 10 python 3.10.10
run examples/simpleMontage.py get error like below
```
Warning: Unknown parameter 'itk::Matrix' in template 'itk::MetaDataObject'
Computing tile registration transforms
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC270C0): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC289C0): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC24820): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC2AC20): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC29320): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC25180): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC257C0): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC27D40): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC286A0): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC26A80): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC2B260): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
Traceback (most recent call last):
File "E:\projects\ITKMontage-masterxamples\SimpleMontage.py", line 66, in
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC2BBC0): Trying to delete object with non-zero reference count.
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC2B580): Trying to delete object with non-zero reference count.
montage.Update()
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC26DA0): Trying to delete object with non-zero reference count.
RuntimeError: E:\projects\ITK-master\Modules\Filtering\FFT\include\itkRealToHalfHermitianForwardFFTImageFilter.h:85:
ITK ERROR: Object factory failed to instantiate class itk::RealToHalfHermitianForwardFFTImageFilter,class itk::Image,2> >
WARNING: In E:\projects\ITK-master\Modules\Core\Common\src\itkLightObject.cxx, line 182
LightObject (00000214ECC29000): Trying to delete object with non-zero reference count.
```
itk cmake configure

itk montage configure

expectation: itk 5.3.0 and itk montage 0.8.1 run simpleMontage successfully, get a stitched image
---
Original report: https://github.com/InsightSoftwareConsortium/ITKMontage/issues/214 (archived repository). Credit: @zhusihan-python.
Contributor guide
Assessment
This issue has not been assessed yet.