Closed phcerdan closed 5 years ago
It is working, but getting the following error when using python with non-related classes:
WaveletType = itk.SimoncelliIsotropicWavelet.F3PD3
ForwardWaveletType = itk.WaveletFrequencyForward.ICF3ICF3SimoncelliF3PD3
levels = 4
highPassSubBands = 1
forwardWavelet = ForwardWaveletType.New(Input=freqImage)
forwardWavelet.SetLevels(levels)
forwardWavelet.SetHighPassSubBands(highPassSubBands)
forwardWavelet.Update()
numberOfOutputs = forwardWavelet.GetNumberOfOutputs()
print("numberOfOutputs: ", numberOfOutputs)
Warning: Unknown parameter 'itk::Image<itk::VariableSizeMatrix< float >, 2 >' in template 'itk::ImageSource'
Warning: Unknown parameter 'itk::Image<itk::VariableSizeMatrix< float >, 3 >' in template 'itk::ImageSource'
Warning: Unknown parameter 'itk::Image<itk::VariableSizeMatrix< float >, 2 >' in template 'itk::ImageToImageFilter'
Warning: Unknown parameter 'itk::Image<itk::VariableSizeMatrix< float >, 3 >' in template 'itk::ImageToImageFilter'
Warning: Unknown parameter 'itk::Image<itk::VariableSizeMatrix< float >, 2 >' in template 'itk::StructureTensor'
Warning: Unknown parameter 'itk::Image<itk::VariableSizeMatrix< float >, 3 >' in template 'itk::StructureTensor'
Is it related with when this class is wrapped? Should be add it to the wrap in itkImageToImageFilter and ImageSource
? @thewtex
The wrapping works though.
Is it related with when this class is wrapped?
Yes, those dependent types to be wrapped.
Should be add it to the wrap in
itkImageToImageFilter and ImageSource
?
We can add the wrapping for those to this module with VariableSizeMatrix
until they are used elsewhere.
It wraps the needed ImageToImageFilter and ImageSource