Reconstructing images using Bezier curves and diffusing colors constrained by those curves.
The project is written in C++
and utilizes libraries such as OpenGL
, OpenCV
, Eigen
, ImGui
and Qt
.
This project has 3 dependencies and all of them is under Libs
folder.
I use ImGui
for GUI; OpenCV
for edge detection and Eigen
for vectorization.
OpenCV
's binaries were built with MSVC 2019 64-bit
compiler.
- Install
CMake 3.25.1
or above. - Install
Visual Studio 2022
andMSVC C++ v143 Compiler
. - Install
Qt 6.x.y MSVC2019 64bit
kit. - Set environment variable
Qt6_DIR
asC:\Qt\6.x.y\msvc2019_64
. - Clone the repo
git clone https://github.com/berkbavas/DiffusionCurveRenderer.git
. - Create a folder
mkdir Build
. - Enter the folder
cd Build
. - Run CMake
cmake ..
. - Open
DiffusionCurveRenderer.sln
withVisual Studio 2022
. - Build with
Release
configuration.
Vectorization.mp4
CurveEditingMode.mp4
This project is based on the idea presented in Orzan et al.
Vectorization algorithms are taken form this repo and adopted.