Documentation ¶
Index ¶
- func Model() color.Palette
- type Image
- func (m *Image) At(x, y int) color.Color
- func (m *Image) BlackAt(x, y int) bool
- func (m *Image) Bounds() image.Rectangle
- func (m *Image) ColorIndexAt(x, y int) uint8
- func (m *Image) ColorModel() color.Model
- func (m *Image) Set(x, y int, c color.Color)
- func (m *Image) SetBlack(x, y int, isBlack bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
Image is an image with black data on a white background.
func From ¶
From converts an image to monochrome with Otsu thresholding. https://en.wikipedia.org/wiki/Otsu%27s_method
func (*Image) ColorIndexAt ¶
func (*Image) ColorModel ¶
Click to show internal directories.
Click to hide internal directories.