Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xeptore/blurrifier
Educational-purpose multi-threaded image blurrifier
https://github.com/xeptore/blurrifier
blur-image-converter blur-images c cmake educational educational-project image image-processing jpeg libjpeg multi-thread multi-threaded multi-threading multi-threads multithread multithreaded multithreading multithreads
Last synced: 26 days ago
JSON representation
Educational-purpose multi-threaded image blurrifier
- Host: GitHub
- URL: https://github.com/xeptore/blurrifier
- Owner: xeptore
- License: gpl-3.0
- Created: 2021-03-02T06:25:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-09T06:44:57.000Z (over 3 years ago)
- Last Synced: 2024-11-16T09:13:08.402Z (3 months ago)
- Topics: blur-image-converter, blur-images, c, cmake, educational, educational-project, image, image-processing, jpeg, libjpeg, multi-thread, multi-threaded, multi-threading, multi-threads, multithread, multithreaded, multithreading, multithreads
- Language: C
- Homepage:
- Size: 11.4 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blurrifier
Educational-purpose multi-threaded image blurrifier.
Currently, only jpeg images are supported using `libjpeg`.
## Usage
1. Configure
You can configure
- input image name (`INPUT_IMAGE_FILENAME`)
- output images name (`OUTPUT_IMAGE_FILENAME`)
- number of worker threads (`NUM_THREADS`)
- convolution kernel window radius (`KERNEL_RADIUS`)configuration variables in [`config.h`](/config.h) file.
2. Build
```sh
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
```_Change `Release` to `Debug` in order to include debugg symbol files with output executable._
3. Run
```sh
./build/blurrifier
```## Development
You'll need CMake and a C compiler. I used CMake version `3.20.1` and clang version `11.1.0`.
If you want to use another compiler, set its path in `CMakeLists.txt` file (`CMAKE_C_COMPILER` configuration variable).