https://github.com/ernyoke/imger
A collection of image processing algorithms written in pure Go.
https://github.com/ernyoke/imger
canny-edge-detection golang image-processing otsu
Last synced: 5 months ago
JSON representation
A collection of image processing algorithms written in pure Go.
- Host: GitHub
- URL: https://github.com/ernyoke/imger
- Owner: Ernyoke
- License: mit
- Created: 2018-02-21T21:35:18.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-08-05T21:43:54.000Z (almost 2 years ago)
- Last Synced: 2025-10-28T05:53:42.512Z (8 months ago)
- Topics: canny-edge-detection, golang, image-processing, otsu
- Language: Go
- Homepage:
- Size: 6.25 MB
- Stars: 78
- Watchers: 3
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Imger
[](https://github.com/anthonynsimon/bild/blob/master/LICENSE)
[](https://goreportcard.com/report/github.com/Ernyoke/Imger)
This repository contains a collection of image processing algorithms written in pure Go.
## Currently supported
* IO (ImreadGray, ImreadGray16, ImreadRGBA, ImreadRGBA64, Imwrite). Supported extensions: jpg, jpeg, png
* Grayscale
* Blend (AddScalarToGray, AddGray, AddGrayWeighted)
* Threshold (Binary, BinaryInv, Trunc, ToZero, ToZeroInv, Otsu)
* Image padding (BorderConstant, BorderReplicate, BorderReflect)
* Convolution
* Blur (Average - Box, Gaussian)
* Edge detection (Sobel, Laplacian, Canny)
* Resize (Nearest Neighbour, Linear, Catmull-Rom, Lanczos)
* Effects (Pixelate, Sepia, Emboss, Sharpen, Invert)
* Transform (Rotate)
## Install
```bash
go get -u github.com/ernyoke/imger@v1.0.0
```
## Running the Tests
```bash
go test ./...
```
## License
This project is under the MIT License. See the LICENSE file for the full license text.