From 598f6f384e3a8c26731ec183d9029a455c7a6e55 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Wed, 25 Jan 2017 12:01:22 +0100 Subject: [PATCH] Save correct landmarks coordinates with transformation --- vv/vvLandmarks.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/vv/vvLandmarks.cxx b/vv/vvLandmarks.cxx index a268683..528669d 100644 --- a/vv/vvLandmarks.cxx +++ b/vv/vvLandmarks.cxx @@ -488,16 +488,16 @@ void vvLandmarks::SaveFile(std::string filename) std::stringstream out; out.imbue(std::locale("C")); //This is to specify that the dot is to be used as the decimal separator out << i << " " - << mLandmarks[t][i].coordinates[0] << " " - << mLandmarks[t][i].coordinates[1] << " " - << mLandmarks[t][i].coordinates[2] << " " - << mLandmarks[t][i].coordinates[3] << " " - << mLandmarks[t][i].pixel_value << " "; + << mLandmarksInitial[t][i].coordinates[0] << " " + << mLandmarksInitial[t][i].coordinates[1] << " " + << mLandmarksInitial[t][i].coordinates[2] << " " + << mLandmarksInitial[t][i].coordinates[3] << " " + << mLandmarksInitial[t][i].pixel_value << " "; fileContent += out.str(); - if (mLandmarks[t][i].comments.size() == 0) + if (mLandmarksInitial[t][i].comments.size() == 0) fileContent += " "; else - fileContent += mLandmarks[t][i].comments; + fileContent += mLandmarksInitial[t][i].comments; fileContent += "\n"; } } -- 2.47.1