diff --git a/src/reflectionReconstruction/preprocessData/imageExtrapolation.cpp b/src/reflectionReconstruction/preprocessData/imageExtrapolation.cpp index 4b2455b..a4f8db8 100644 --- a/src/reflectionReconstruction/preprocessData/imageExtrapolation.cpp +++ b/src/reflectionReconstruction/preprocessData/imageExtrapolation.cpp @@ -30,24 +30,18 @@ Matrix Recon::imageExtrapolation(const Matrix& aImg, int aDim) if(!indexe.empty()) { - Matrix result = aImg; - std::vector lowerZIndexe; - for(int i=0; i<=indexe[0] - 1; ++i) + Matrix result = aImg; + if(indexe[0] - 1 > 0) { - lowerZIndexe.push_back(i); - } - for(int i=0; i