Documentation ¶
Index ¶
- Variables
- func BasicGrayscale(r, g, b, _ uint32) color.Gray16
- func BlueFilter(r, g, b, a uint32) color.RGBA64
- func Blur(blurLevel int, ipPath string) (*image.RGBA64, error)
- func ColorFilter(transformationFunction RGBATransformation, ipPath string) (*image.RGBA64, error)
- func DecompositionMax(r, g, b, a uint32) color.Gray16
- func DecompositionMin(r, g, b, a uint32) color.Gray16
- func Desaturation(r, g, b, a uint32) color.Gray16
- func GrayscaleTransform(transformationFunction Gray16Transformation, ipPath string) (*image.Gray16, error)
- func GreenFilter(r, g, b, a uint32) color.RGBA64
- func ImprovedGrayscale(r, g, b, _ uint32) color.Gray16
- func RedFilter(r, g, b, a uint32) color.RGBA64
- func SingleChannelBlue(_, _, b, _ uint32) color.Gray16
- func SingleChannelGreen(_, g, _, _ uint32) color.Gray16
- func SingleChannelRed(r, _, _, _ uint32) color.Gray16
- type Gray16Transformation
- type Image
- type RGBATransformation
Constants ¶
This section is empty.
Variables ¶
View Source
var PARTS int = 200
Functions ¶
func BasicGrayscale ¶
func BlueFilter ¶
func ColorFilter ¶
func ColorFilter(transformationFunction RGBATransformation, ipPath string) (*image.RGBA64, error)
func DecompositionMax ¶
func DecompositionMin ¶
func Desaturation ¶
func GrayscaleTransform ¶
func GrayscaleTransform(transformationFunction Gray16Transformation, ipPath string) (*image.Gray16, error)
func GreenFilter ¶
func ImprovedGrayscale ¶
func SingleChannelBlue ¶
func SingleChannelGreen ¶
func SingleChannelRed ¶
This is how, I'll do it, Until I figure out a better way
Types ¶
type Gray16Transformation ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func (*Image) SetDimension ¶
type RGBATransformation ¶
Click to show internal directories.
Click to hide internal directories.