Hello,
I am currently having trouble, and in need of help.
Basically I am trying to convert an rgb combination into a Munsell specification.
However I am retrieving the following error :
"ERROR: No optimal colour file for Illuminant C.
Output argument "InsideLimits" (and maybe others) not assigned during call to "IsWithinMacAdamLimits"."
And as I am very new in the colored image analysis domain, I have no clue as to why am I retrieving such error from the IsWithinMacAdamLimits function.
sample = imread('my_image_test.jpg');
r = mean(mean(sample(:,:,1))); g = mean(mean(sample(:,:,2))); b = mean(mean(sample(:,:,3)));
rgb = round([r,g,b]);
[MunsellSpec, MunsellVec, InMacAdamLimitsFlag, Status] = sRGBtoMunsell(rgb);
I would be glad if someone had some insight as to where am I doing things wrong.
Feel free to incquire more information or underline somethings I am not clear about (this is my first time posting on the mathworks forum, so I don't really know the conventions in details).
Thank you for reading me,
P.S.
I know this not a question directly related to Matlab, but probably more related to the fields of colors, but I hoped that perhaps someone already worked with such concepts or even with the toolbox I mentionned.
0 Comments
Sign in to comment.