Bug when using float32 arrays and Lab2Rgb

Stéfan van der Walt stefan at sun.ac.za
Tue Apr 16 16:36:57 EDT 2013


Hi Isaac

On Tue, Apr 16, 2013 at 7:34 PM, Isaac Gerg <isaac.gerg at gergltd.com> wrote:
> I am doing a LAB to RGB conversion.
>
> If my LAB matrix is float64, the bounds for the axes must be -100, 100.
> Upon analysis of the output RGB image, the results look correct.

Thanks for spotting this bug.  Not all functions should call
img_as_float on their input arguments, as you point out.  A pull
request would be very welcome, or otherwise please file an issue on
GitHub.

Stéfan



More information about the scikit-image mailing list