Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it convenient to share a source code of the canny dynamic library? #25

Open
githublqs opened this issue May 6, 2021 · 1 comment

Comments

@githublqs
Copy link

Is it convenient to share a source code of the canny dynamic library?

@octu0
Copy link
Owner

octu0 commented May 11, 2021

I'm sorry, what do you mean?
If you have the canny library, you can easily use the process by passing "blurry" as an RGBA interleave.

For example, the code could look like this.

img := LoadImage(...)
cannyData := YourCannyLibrary(img)
rgba := convertRGBA(cannyData)
newRGBA, err := blurry.Dilation(rgba, 8)
if err != nil {
  ...
}

func convertRGBA(img image.Image) *image.RGBA {
  ...
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants