X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvLandmarks.cxx;fp=vv%2FvvLandmarks.cxx;h=528669d0768977144760d2e8e77895087e186f22;hb=598f6f384e3a8c26731ec183d9029a455c7a6e55;hp=a2686835befd9295ce000e89d34c3f6fbdac28e7;hpb=1cc90963e0fdb6e162a3858e4f4f5dd0d41c2939;p=clitk.git 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"; } }