|
From: | Doug Stewart |
Subject: | Re: colorspace_conversion_input_check |
Date: | Wed, 17 Jan 2018 12:00:02 -0500 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |