I'm working with this script. The issue is that the result is coloured
and I want it in grayscale
, but couldn't figure what to change in the script to do that. Do you know what changes I should perform to get the result as grayscale
?
Thanks.
I'm working with this script. The issue is that the result is coloured
and I want it in grayscale
, but couldn't figure what to change in the script to do that. Do you know what changes I should perform to get the result as grayscale
?
Thanks.
Check the Demo, there is a variable "L". It contains a matrix which represents the clusters, thus only the values 1-3 exist. For example (L-1)./2
maps cluster 1 to gray value 0, cluster 2 to gray value 0.5 and cluster 3 to gray value 1.