Skip to content

Typo in rgb2lab transform #50

@Vlad-C-Crisan

Description

@Vlad-C-Crisan

Describe the bug
In THIS LINE from rgb2lab implementation, the value 166 should be 116.

Expected behavior
The line should be changed to arr.masked_scatter_(not_mask, 7.787 * torch.masked_select(arr, not_mask) + 16 / 116) to match numpy implementation (e.g. THIS one from skimage)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions