Permalink
Browse files

DemDisparity: Reword comments

  • Loading branch information...
1 parent 1870d86 commit 39a290c1b2e38bd23a4efcaddea2099f627e3a7e @oleg-alexandrov oleg-alexandrov committed Feb 28, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/asp/Core/DemDisparity.cc
View
6 src/asp/Core/DemDisparity.cc
@@ -310,9 +310,9 @@ namespace asp {
Matrix<double> align_matrix = identity_matrix<3>();
bool homography_align = (stereo_settings().alignment_method == "homography");
if ( homography_align ) {
- // We used a homography to line up the images, we may want
- // to generate pre-alignment disparities before passing this information
- // onto the camera model in the next stage of the stereo pipeline.
+ // We used a homography transform align the images, so we have
+ // to make sure to apply that transform to the disparity we are
+ // about to compute as well.
read_matrix(align_matrix, opt.out_prefix + "-align.exr");
vw_out(DebugMessage,"asp") << "Alignment Matrix: " << align_matrix << "\n";
}

0 comments on commit 39a290c

Please sign in to comment.