https://github.com/kalwalt/vrgl-imgproc
A simple library for image processing in virgil https://github.com/titzer/virgil
https://github.com/kalwalt/vrgl-imgproc
image-processing virgil virgil-language wasm
Last synced: 12 months ago
JSON representation
A simple library for image processing in virgil https://github.com/titzer/virgil
- Host: GitHub
- URL: https://github.com/kalwalt/vrgl-imgproc
- Owner: kalwalt
- Created: 2024-04-15T13:42:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T19:11:36.000Z (about 2 years ago)
- Last Synced: 2024-04-22T12:01:29.845Z (about 2 years ago)
- Topics: image-processing, virgil, virgil-language, wasm
- Language: HTML
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vrgl-imgproc
A simple attempt to create an image processing library in the [virgil](https://github.com/titzer/virgil) programming language.
It is a work in progress and is not yet ready for use. The goal is to create a library that can be used to perform basic image processing tasks such as image filtering, edge detection, etc. and to be used in a wasm environment.
## WASM
This project is more WASM oriented for the simple fact that Virgil doesn't has yet a library to load easily images or videos, or handle video stream. With WASM we can instead pass a Pointer (pointing to our data) as argument to a function, make some computation and than retunrning our data with a Pointer. See our examples for more.
## Examples
First, you need to build the examples executables. Enter in the test/testFilters folder and run the build.sh script. The shell script assume that you have VIRGIL_PATH env variable pointing to the directory of your virgil repository, and that you have virgil/bin and virgil/bin/dev in PATH.
Then you can run ./testFilters. If you want to test the testFilters.html you need to run an http server.