gopha

package
v0.0.0-...-c5e6d41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2014 License: MIT Imports: 3 Imported by: 0

README

gopha

gopha is a package for implementation of Perceptual Hash Algorithm in Go programming language.

Documentation

Overview

Package gopha is an implementation of Perceptual Hash Algorithm in Go programming language.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareDiff

func CompareDiff(fg1, fg2 string) int

CompareDiff returns differences number of fingerprint.

func PHA

func PHA(m image.Image) string

func Resample

func Resample(m image.Image, r image.Rectangle, w, h int) image.Image

重新取样返回一个重采样本的图像切片r的副本。 返回的图像具有宽度w和高度h。 Resample returns a resampled copy of the image slice r of m. The returned image has width w and height h.

func Resize

func Resize(m image.Image, r image.Rectangle, w, h int) image.Image

调整传回的图像片的R米的缩放副本。 返回的图像具有宽度w和高度h。 Resize returns a scaled copy of the image slice r of m. The returned image has width w and height h.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL