Documentation
¶
Index ¶
- func BlackMaskFilter(_, _ int, col color.Color) (color.Color, error)
- func ClipInside(rect image.Rectangle) graph.Filter
- func ClipOutside(rect image.Rectangle) graph.Filter
- func EqualizeFilter(h *color2.Histogram, b image.Rectangle) graph.Filter
- func WhiteMaskFilter(_, _ int, col color.Color) (color.Color, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlackMaskFilter ¶
BlackMaskFilter returns a filter which will mark a pixel as Opaque if it's black otherwise leaves the colour as is
func ClipInside ¶
ClipInside will change all pixels outside the Rectangle to be transparent
func ClipOutside ¶
ClipOutside will change all pixels inside the Rectangle to be transparent
func EqualizeFilter ¶
EqualizeFilter generates a Filter based on a histogram and a Rectangle. The output would be the levels for each RGB channel equalised
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.