Adapted MITK to TRK conversion