def transformDiffCost(criterion, frRow, exRow):
    """Returns the absolute difference between their image through the 'transform' dict, normalized"""
    t = criterion['transform']
    q = criterion['QLabel']
    return abs(t[frRow[q]] -
               t[exRow[q]]) / max(t.values())