def rotateImage180(image):
    r1 = vtk.vtkImageFlip()
    r1.SetInput(image)
    r1.SetFilteredAxis(0)
    r1.Update()
    r2 = vtk.vtkImageFlip()
    r2.SetInput(r1.GetOutput())
    r2.SetFilteredAxis(1)
    r2.Update()
    return shallowCopy(r2.GetOutput())
Verify MLT on tag and foo fields.
dataset/ETHPy150Open RobotLocomotion/director/src/python/director/filterUtils.py/rotateImage180--crossover with--dataset/ETHPy150Open mozilla/elasticutils/elasticutils/tests/test_mlt.py/MoreLikeThisTest.test_mlt_on_two_fields