Computer Vision, Image Processing, Computer Science, Colors, Engineering.
L*a*b* colour space, the ‘a’ values are between red and green. To display the a channel, we need to create a colourmap for matplotlib to display the colour range correctly. import matplotlib.colors as clr # create colour maps for matplotlib cmap_a = clr.LinearSegmentedColormap.from_list('custom