[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: colorspace_conversion_input_check
From: |
Rik |
Subject: |
Re: colorspace_conversion_input_check |
Date: |
Wed, 17 Jan 2018 08:47:52 -0800 |
Carnë,
According to the Matlab documentation, input images for rgb2gray and
rgb2hsv can only be of type double, single, uint8, uint16. However, the
input validation is also accepting int8 and int16:
if (! any (strcmp (cls, {"uint8", "int8", "int16", "uint16", ...
"single", "double"})))
error ("%s: %s of invalid data type '%s'", func, arg_name, cls);
Should we remove support for int8 and int16, or is there undocumented
Matlab voodoo and images of those types are accepted?
I've finished up with rgb2gray, except for this issue.
--Rik
- Re: Move rgb2ntsc and ntsc2rgb to image package, (continued)
- Re: Move rgb2ntsc and ntsc2rgb to image package, Carnë Draug, 2018/01/16
- Re: Move rgb2ntsc and ntsc2rgb to image package, Rik, 2018/01/17
- Re: Move rgb2ntsc and ntsc2rgb to image package, Carnë Draug, 2018/01/17
- Re: Move rgb2ntsc and ntsc2rgb to image package, Rik, 2018/01/17
- Re: Move rgb2ntsc and ntsc2rgb to image package, Carnë Draug, 2018/01/17
- Re: Move rgb2ntsc and ntsc2rgb to image package, Rik, 2018/01/17
- Re: Move rgb2ntsc and ntsc2rgb to image package, Carnë Draug, 2018/01/17
- Re: Move rgb2ntsc and ntsc2rgb to image package, Rik, 2018/01/17
- Re: Move rgb2ntsc and ntsc2rgb to image package, Carnë Draug, 2018/01/17
- Re: Move rgb2ntsc and ntsc2rgb to image package, Rik, 2018/01/17
- Re: colorspace_conversion_input_check,
Rik <=
- Re: colorspace_conversion_input_check, Doug Stewart, 2018/01/17
- Re: colorspace_conversion_input_check, Carnë Draug, 2018/01/17
- Re: rgb2gray, Rik, 2018/01/17