Skip to content

AbsImageFilter sometimes doesn't work #27

Description

@dzenanz

Trying to apply this filter on an image sometimes results in an error. Input pixel type is short. Log for latest nightly:

myFilter = AbsImageFilter()
myFilter.SetDebug(False)
myFilter.SetNumberOfThreads(24)
myFilter.SetNumberOfWorkUnits(0)
Traceback (most recent call last):
  File "C:/Users/Dzenan/AppData/Local/slicer.org/Slicer 5.7.0-2024-10-15/bin/../lib/Slicer-5.7/qt-scripted-modules/SimpleFilters.py", line 435, in thread_doit
    img = sitkFilter.Execute(*inputImages)
TypeError: Execute() missing 1 required positional argument: 'image1'
Error during execution of AbsImageFilter:

Execute() missing 1 required positional argument: 'image1'

The problem mostly occurs on the first try. It also affects Slicer 5.2.1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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