title: OpenCV colormap is applied in reverse?
body: <pre><code>import numpy as np
  import cv2
  import sys
  from matplotlib import pyplot as plt
  
  image = np.loadtxt(sys.argv[1])
  print("Matrix rows " + str(image.shape[0]))
  
  image = image
  image = image * 255
  image = np.uint8(image)
  
  # uint8 Unsigned integer (0 to 255)
  heatmap = cv2.applyColorMap(np.uint8(image), cv2.COLORMAP_JET)
  
  plt.imshow(heatmap)
  plt.show()
  </code></pre>
  
  <p>I have this simple code but it seems that values the are around 255 are in blue ? where they should be red ?</p>