Open nicktasios opened 2 years ago
My expectation is that this is a bug with TriangleMeshToBinaryImageFilter
. VerifyOutputInformation should be called after UpdateOutputInformation. The TriangleMeshToBinaryImageFilter should update it's output's size in UpdateOutputInformation.These error messages seem to indicate that TriangleMeshToBinaryImageFilter did not update its output size and other information.
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.
Description
When passing a filter output to
CropImageFilter
I get the following error if I don't update the filter first.Steps to Reproduce
Run the following:
If the
Update
is uncommented it works fine.Expected behavior
I should not need to call
Update
on the filter before passing it as input toCropImageFilter
.Versions
Python ITK '5.2.1'
Environment
Linux Python 3.8.10