Skip to content

Commit

Permalink
Sessions: Move matchfiles inside result directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Zack Moratto committed Apr 23, 2012
1 parent 731ed81 commit e71f73d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/asp/Sessions/DG/StereoSessionDG.cc
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ namespace asp {

if ( stereo_settings().alignment_method == "homography" ) {
std::string match_filename =
m_out_prefix +
fs::basename(input_file1) + "__" +
fs::basename(input_file2) + ".match";

Expand Down
1 change: 1 addition & 0 deletions src/asp/Sessions/ISIS/StereoSessionIsis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ asp::StereoSessionIsis::pre_preprocessing_hook(std::string const& input_file1,
align_matrix.set_identity();
if ( stereo_settings().alignment_method == "homography" ) {
std::string match_filename =
m_out_prefix +
fs::basename(input_file1) + "__" +
fs::basename(input_file2) + ".match";

Expand Down
1 change: 1 addition & 0 deletions src/asp/Tools/stereo_corr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ void stereo_correlation( Options& opt ) {
vw_out() << "\t--> Using user defined search range.\n";
} else {
std::string match_filename =
opt.out_prefix +
fs::basename(opt.in_file1) + "__" +
fs::basename(opt.in_file2) + ".match";
if (!fs::exists(match_filename)) {
Expand Down

0 comments on commit e71f73d

Please sign in to comment.