diff --git a/src/software/pipeline/main_LdrToHdrMerge.cpp b/src/software/pipeline/main_LdrToHdrMerge.cpp index b051cc2ff7..b5ef9bac84 100644 --- a/src/software/pipeline/main_LdrToHdrMerge.cpp +++ b/src/software/pipeline/main_LdrToHdrMerge.cpp @@ -373,7 +373,7 @@ int aliceVision_main(int argc, char** argv) bool macbeth = false; for(int k = 0; k < group.size(); k++) { - const std::string fname = group[k]->getImagePath(); + const std::string fname = group[k]->getImage().getImagePath(); boost::filesystem::path p(fname); macbeth = macbeth || (p.stem().string().find("_macbeth") != std::string::npos); }