Creating custom colormap for opencv python
Creating custom colormap for opencv python Question: I created a custom colormap in a text file, read from the python 3.6. To map each color in for loop it takes approx. 9 seconds. Here is the snippet: for x in range(256): # z = int(rgb_c[x][0]) # r = int(rgb_c[x][1]) # g = int(rgb_c[x][2]) # b …