Documentation ¶
Index ¶
- func BinaryProportion(theSlices [][][]uint8) int
- func BinaryReverse(theSlices [][][]uint8) [][][]uint8
- func BinaryThreshold(image *image.NRGBA) uint8
- func Binaryzation(src [][][]uint8, threshold int) [][][]uint8
- func ConvertToNRGBA(src image.Image) *image.NRGBA
- func Copy(src [][][]uint8, dst [][][]uint8, sx, sy, dx, dy, sw, sh int)
- func D8(imgMatrix [][][]uint8, x, y int) int
- func DeNoise(imgMatrix [][][]uint8) [][][]uint8
- func GetHistGram(src [][][]uint8) []int
- func GetIntermodesThreshold(HistGram []int) int
- func GetKittlerMinError(HistGram []int) int
- func GetMinimumThreshold(HistGram []int) int
- func GetYenThreshold(HistGram []int) int
- func GrayingImage(m *image.NRGBA) *image.NRGBA
- func ImageSave(fileName string, rgba *image.NRGBA) error
- func IsDimodal(HistGram []float64) bool
- func LoadImage(filePath string) (img image.Image, err error)
- func MatrixToNRGB(imgMatrix [][][]uint8) (*image.NRGBA, error)
- func NRGBAToMatrix(src *image.NRGBA) [][][]uint8
- func New2DSlice(x int, y int) (theSlice [][]uint8)
- func New3DSlice(x int, y int, z int) (theSlice [][][]uint8)
- func RGB2Gray(fileName string)
- func Resize(matrix [][][]uint8, dWidth, dHeight int) [][][]uint8
- func RotateImage(image [][][]uint8, theta float64, backgroundRgb uint8) [][][]uint8
- func SplitHorizontal(theSlices [][][]uint8, threshold uint8) [][][]uint8
- func Text2Image(ttfName string, text string, width, height int) ([][][]uint8, int)
- type Rect
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryProportion ¶
func BinaryReverse ¶
func BinaryThreshold ¶
func Binaryzation ¶
binaryzation process of image matrix , threshold can use 127 to test
func GetHistGram ¶
func GetIntermodesThreshold ¶
GetIntermodesThreshold 灰度图像的直方图 基于双峰平均值的阈值 此方法实用于具有明显双峰直方图的图像,其寻找双峰的谷底作为阈值
func GetKittlerMinError ¶
func GetMinimumThreshold ¶
GetMinimumThreshold 基于谷底最小值的阈值 HistGram: 灰度图像的直方图 此方法实用于具有明显双峰直方图的图像,其寻找双峰的谷底作为阈值 灰度图像的直方图
func GetYenThreshold ¶
M. Emre Celebi 06.15.2007 Ported to ImageJ plugin by G.Landini from E Celebi's fourier_0.8 routines
func NRGBAToMatrix ¶
func New2DSlice ¶
func SplitHorizontal ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.