https://github.com/kiranandcode/image-masker
A short sweet application to segment an arbitrary image into distinct rectangular regions based on transparency.
https://github.com/kiranandcode/image-masker
command-line image rust
Last synced: 7 months ago
JSON representation
A short sweet application to segment an arbitrary image into distinct rectangular regions based on transparency.
- Host: GitHub
- URL: https://github.com/kiranandcode/image-masker
- Owner: kiranandcode
- License: mit
- Created: 2018-08-28T05:36:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-02T10:07:27.000Z (over 6 years ago)
- Last Synced: 2025-08-01T14:51:53.744Z (7 months ago)
- Topics: command-line, image, rust
- Language: Rust
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image Masker
## About
A short sweet application to segment an arbitrary rgba image into distinct rectangular regions based on transparency.
Uses the marching squares algorithm.
Built in rust.
## Usage:
```
Usage:
image-masker [OPTIONS] IMAGE
Uses marching squares algorithm to segment a binary image into multiple
distinct rectangles. Uses coordinates starting (0,0) at the top left corner.
Returns the result as a list of tuples
positional arguments:
IMAGE The image in any standard format to be processed
optional arguments:
-h,--help show this help message and exit
-o,--output OUTPUT An optional output image file to render the results to.
```
## Screenshots
Don't you just hate it when people don't include pictures of visual based programs in their README and instead want you to download and run the program to find out what it does?
Yeah. Me too.
### Input

### Output

Sweet and sexy.