Skip to content

sgext_image: from_pyarray(input_array) should raise error if dtype of input array is incorrect #61

@phcerdan

Description

@phcerdan

sgext internal wrapped images are either binary (unsigned char, dtype=uint8) sgext.itk.IUC3P or float (dtype=float32) sgext.itk.IF3P.

sgext.itk.IUC3P().from_pyarray(input_array) should raise error if input_array dtype is not uint8.

Raised here: #60

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions