Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
andymina committed Sep 3, 2023
1 parent f7e5fa2 commit 15c8ed2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libseam_carving/energy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ namespace seam_carving::energy {
cv::Sobel(in_img, y_nrg, CV_16S, 0, 1);
}

std::cout << "post-sobel!\n";
std::cout << "x\n" << x_nrg << "\n";
std::cout << "y\n" << y_nrg << "\n\n";

// convert back to CV_8U depth and merge
cv::convertScaleAbs(x_nrg, x_nrg);
cv::convertScaleAbs(y_nrg, y_nrg);
Expand Down

0 comments on commit 15c8ed2

Please sign in to comment.