InsightSoftwareConsortium / InsightSoftwareConsortium/ITK

Montage: run simpleMontage.py get error ITK ERROR: Object factory failed to instantiate class itk::RealToHalfHermitianForwardFFTImageFilter on windows 10

Open
#6,292 0 comments 0 reactions 0 assignees View on GitHub
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
![image](https://user-images.githubusercontent.com/23504604/223061028-2d1f0010-95aa-45c3-9e2f-849c4d463d35.png)
itk montage configure
![image](https://user-images.githubusercontent.com/23504604/223061524-bcef8808-2644-4d80-a5be-e633445adf49.png)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.