code: def getImage(self):
      if self._image is None:
          lut = self._cmap.getLookupTable(nPts=256, alpha=True)
          lut = np.expand_dims(lut, axis=0 if self.horizontal else 1)
          qimg = fn.ndarray_to_qimage(
              lut, QtGui.QImage.Format.Format_RGBA8888
          )
          self._image = qimg if self.horizontal else qimg.mirrored()
      return self._image
  
imports: import importlib.util
  import re
  import numpy
  from ..None import colormap
  from ..None import functions
  from ..graphicsItems.GradientPresets import Gradients
  from ..Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 6 for calling the ColorMapDisplayMixin obj's underlying member method code with example usage: obj.getImage() and returns: self