'Get the data from the image'

def _getDataFromImg(self, img):

    mc = None
    if self._extractor:
        mc = self._extractor(img)
    else:
        temp = self._roi.reassign(img)
        mc = temp.meanColor()
    self.data['r'].append(mc[0])
    self.data['g'].append(mc[1])
    self.data['b'].append(mc[2])
    self.data['i'].append(Color.getLightness(mc))
    self.data['h'].append(Color.getHueFromRGB(mc))
