A semi-automatic editing method for surgery videos