Navigation
ind2rgb
I = ind2rgb(I::GMTimage, cmap::GMTcpt=GMTcpt(), layout="BRPa")
keywords: GMT, Julia, image, indexed, RGB
Convert an indexed GMTimage I to RGB. If cmap
is not provided, it uses the internal colormap to do the conversion. If neither them exists, the layer is replicated 3 times thus resulting in a gray scale image.
This function mimics the Matlab's ind2rgb cousin.
See Also
imagesc, image_cpt!, image_alpha!, makecpt
© GMT.jl. Last modified: October 01, 2023. Website built with Franklin.jl and the Julia programming language.
These docs were autogenerated using GMT: v1.11.0