using GMT
I = gmtread(GMT.TESTSDIR * "assets/bunny_cenora.jpg");
Igray = rgb2gray(I)
# Show the two side-by-side
grdimage(I, figsize=6)
grdimage!(Igray, figsize=6, xshift=6.1, show=true)
Convert an RGB image to a grayscale image applying the television YMQ transformation.
I::GMTimage{UInt8, 3}: input image of type UInt8.A new GMTimage{UInt8, 2}.