Apparatus and method for automatically registering landmarks in three-dimensional medical imageпатент