'Return the transform that maps from this image\'s local coordinate
system to its input array.
See dataTransform() for more information.'

def inverseDataTransform(self):

    tr = QtGui.QTransform()
    if (self.axisOrder == 'row-major'):
        tr.scale(1, (-1))
        tr.rotate((-90))
    return tr
