Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversion from RGB to HED must preserve HED color space range #326

@alessiamarcolini

Description

@alessiamarcolini

Describe the bug
We shouldn't convert the obtained HED array (from skimage) to a PIL image using np_to_pil, because that assumes that the range of the result should be a RGB image (uint8 ranging from 0 to 255). We should just return the array as-is to not destroy the values.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions