Skip to content

Reconstructing images using Bézier curves and diffusing colors constrained by those curves

Notifications You must be signed in to change notification settings

berkbavas/DiffusionCurveRenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diffusion Curve Renderer

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.

Dependencies

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.

Build

  1. Install CMake 3.25.1 or above.
  2. Install Visual Studio 2022 and MSVC C++ v143 Compiler.
  3. Install Qt 6.x.y MSVC2019 64bit kit.
  4. Set environment variable Qt6_DIR as C:\Qt\6.x.y\msvc2019_64.
  5. Clone the repo git clone https://github.com/berkbavas/DiffusionCurveRenderer.git.
  6. Create a folder mkdir Build.
  7. Enter the folder cd Build.
  8. Run CMake cmake ...
  9. Open DiffusionCurveRenderer.sln with Visual Studio 2022.
  10. Build with Release configuration.

Videos

Vectorization.mp4
CurveEditingMode.mp4

Acknowledgements

This project is based on the idea presented in Orzan et al.

Vectorization algorithms are taken form this repo and adopted.