blurry icon indicating copy to clipboard operation
blurry copied to clipboard

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

Open githublqs opened this issue 4 years ago • 1 comments

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

githublqs avatar May 06 '21 12:05 githublqs

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 {
  ...
}

octu0 avatar May 11 '21 10:05 octu0