You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.2 KiB
37 lines
1.2 KiB
# Stitching Barrel Surface Images and Correcting Their Brightness - Master's Thesis
|
|
The goal of this project is to provide a library that is useful for the stitching and brightness correction of images from the inside of a barrel. Additionally, functionality for real-time stitching will be supplied.
|
|
|
|
![Image stitching](samples/stitch.png "Image stitching")
|
|
|
|
#### Debug capabilities
|
|
showPointImg() - this function shows the approximate locations of barrel images. The result image is 360px wide - as the X coordinate of the images can be in the range from 0-360. The height of the image bears no such limitations-
|
|
|
|
![Debug image](samples/debug.png "Debug image")
|
|
|
|
##### Prerequisites
|
|
|
|
OpenCV version: 4.5.2
|
|
https://docs.opencv.org/4.x/d7/d9f/tutorial_linux_install.html
|
|
|
|
C++17
|
|
|
|
jsoncpp
|
|
```sh
|
|
sudo apt install libjsoncpp-dev
|
|
sudo ln -s /usr/include/jsoncpp/json/ /usr/include/json
|
|
```
|
|
|
|
##### Files
|
|
test-stitch.cpp - OpenCV tutorial file for stitching
|
|
|
|
test-kmeans.cpp - OpenCV tutorial file for K-Means alg.
|
|
|
|
pointbase.cpp - Structure for organizing points representing images
|
|
|
|
test.cpp - General functionality tests - for proper function, folder containing images+json files is required on the same level as src
|
|
|
|
makefile
|
|
|
|
|
|
##### Compilation
|
|
Compile using make |