ITK icon indicating copy to clipboard operation
ITK copied to clipboard

module 'itk' has no attribute 'CastImageFilter'

Open PranjalSahu opened this issue 3 years ago • 1 comments

Intermittently observing this error message specifically for CastImageFilter. Tried both the ways as CastImageFilter and cast_image_filter

Description

Steps to Reproduce

Expected behavior

Actual behavior

Reproducibility

Not always

Versions

5.3rc4.post2

Environment

Additional Information

PranjalSahu avatar Aug 07 '22 09:08 PranjalSahu

Following import convention solves the problem:

from itk import CastImageFilter as CastImageFilter

PranjalSahu avatar Aug 08 '22 18:08 PranjalSahu