Skip to content

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

@zhusihan-python

Description

@zhusihan-python

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<float,4,4>' 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-master\examples\SimpleMontage.py", line 66, in <module>
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<float,2>,class itk::Image<class std::complex<float>,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
itk montage configure
image

expectation: itk 5.3.0 and itk montage 0.8.1 run simpleMontage successfully, get a stitched image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions