octu0 / blurry Goto Github PK
View Code? Open in Web Editor NEWfast, high peformance image processing library for golang
Home Page: https://pkg.go.dev/github.com/octu0/blurry
License: MIT License
fast, high peformance image processing library for golang
Home Page: https://pkg.go.dev/github.com/octu0/blurry
License: MIT License
Hello, I have been facing an issue when using method GaussianBlur.
If used on images smaller than (around) 230 px of width the library will crash systematically with error like following:
Error: Output buffer gaussianblur is accessed at -384, which is before the min (0) in dimension 1
SIGABRT: abort
PC=0x7f896a72000b m=5 sigcode=18446744073709551610
signal arrived during cgo execution
goroutine 53 [syscall]:
runtime.cgocall(0xeaf440, 0xc00045b550)
/usr/local/go/src/runtime/cgocall.go:157 +0x5c fp=0xc00045b528 sp=0xc00045b4f0 pc=0x41201c
github.com/octu0/blurry._Cfunc_libgaussianblur(0xc0002b6000, 0x27, 0x67, 0x43fa0000, 0xc000362000)
_cgo_gotypes.go:651 +0x4c fp=0xc00045b550 sp=0xc00045b528 pc=0xe383ec
github.com/octu0/blurry.Gaussianblur(0xc000490300, 0x407f400000000000)
/home/vagrant/go/pkg/mod/github.com/octu0/[email protected]/gaussianblur.go:48 +0x9d fp=0xc00045b5a0 sp=0xc00045b550 pc=0xe3873d
Increasing the image width at 240px "solves" the issue. Seems that Boxblur is impacted too.
Is it convenient to share a source code of the canny dynamic library?
for wiki / README
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.