Skip to content

Commit

Permalink
Add some test images.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samir55 committed Dec 2, 2017
1 parent 2e01df1 commit e14dbc2
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 2 deletions.
Binary file added img/0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/A.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/B.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/C.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/D.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/E.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/E2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/LineSegmentation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ LineSegmentation::generate_chunks()
Line*
LineSegmentation::connect_valleys(int i, Valley *current_valley, Line *line, int valleys_min_abs_dist)
{
if (i == 0 || chunks[i]->valleys.empty()) return line;
if (i <= 0 || chunks[i]->valleys.empty()) return line;

// Choose the closest valley in right chunk to the start valley.
int connected_to = -1;
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "LineSegmentation.hpp"

int main() {
string img_path = "../img/1min.png";
string img_path = "../img/2min.png";
LineSegmentation line_segmentation(img_path);
vector<cv::Mat> lines = line_segmentation.segment();
// ToDo @Samir55 Remove.
Expand Down

0 comments on commit e14dbc2

Please sign in to comment.