Skip to content

Possible issue with transform operations #80

@PietroTa

Description

@PietroTa

Hi,

I've been using pyclesperanto with Napari for image processing tasks and have found it to be fantastic, thank you! Recently, possibly after an update, the 'Transform' operations (e.g., rotate, substack) via the napari-pyclesperanto-assistant plugin have started failing with the following error:

ValueError: Image data must have at least 2 dimensions.

When using the assistant plugin within Napari to perform 'Transform' operations on a 3D image, I encounter the above error. However, when I get the data from the viewer and perform the same operations using pyclesperanto in a Jupyter notebook everything works correctly.
All other 3D operations seem to work correctly within Napari usning the assistant (e.g. Remove noise.....).

I have tried to generate a clean environment as below, but the issue persisted.

mamba create --name cleTEST python=3.9
mamba activate cleTEST
mamba install -c conda-forge pyclesperanto

mamba install -c conda-forge napari-pyclesperanto-assistant

Here the package versions I am using:

napari 0.5.4 hd8ed1ab_0 conda-forge
napari-assistant 0.4.10 pyha07c04f_0 conda-forge
napari-pyclesperanto-assistant 0.22.1 pyhd8ed1ab_0 conda-forge
pyclesperanto 0.16.0 py39h8f1c5a3_0 conda-forge
pyclesperanto-prototype 0.24.4 pyhd8ed1ab_0 conda-forge

The OS in the machine i am using is Windows Server 2022 Standard

Any input on how to address this would be greatly appreciated. The 'live preview' for some of the transform functions is really a game changer for me.

Thank a lot in advance,

Pietro

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