Labs for University Course
cd lab1/
mkdir build/
cd build/
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=native -mtune=native" .. && cmake --build .
pass parameters:
path_to_input_image binary_penalty output_image
run:
./maxflow ../test_images/input.png 50 ../test_images/result.png
cd lab2/
mkdir build/
cd build/
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=native -mtune=native" .. && cmake --build .
pass parameters:
path_to_input_image epsilon n_iter output_image
run:
./alpha_expansion ../input.png 15 3 ../out.png
cd lab3/cpp
mkdir build/
cd build/
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=native -mtune=native" .. && cmake --build .
pass parameters:
path_to_input_image beta output_image
run:
./maxflow_ishikawa ../../test_images/input.png 15 out.png
pass parameters:
path_to_input_image beta n_labels output_image
run:
python3 py/ishikawa_maxflow.py ../test_images/input.png 15 5 out.png
python3 lab4/d_shortest_paths.py input_string noise_level number_of_best_paths
python3 d_shortest_paths.py "row" 0.1 3
python3 d_shortest_paths.py "all" 0.2 3