Documentation
¶
Index ¶
- func ApplyGaussian(img image.Image) (image.Image, error)
- func GenerateNew(width, height int) image.Image
- func HLine(img *image.RGBA, x1, y, x2 int, col color.Color)
- func MorphGradient(img image.Image) image.Image
- func ReadFrom(filePath string) (image.Image, error)
- func Rect(img *image.RGBA, x1, y1, x2, y2, width int, col color.Color)
- func SaveTo(filePath, fileName string, img image.Image) (bool, error)
- func VLine(img *image.RGBA, x, y1, y2 int, col color.Color)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyGaussian ¶
func takes an image, generates a gaussian kernel of size 2 and applies gaussian smoothen filter
func GenerateNew ¶
util func that creates an image with given size
func MorphGradient ¶
sharpening function applying morphological dilation and erosion in order to sharpen the image
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.