Versions in this module Expand all Collapse all v1 v1.0.0 Jul 28, 2021 Changes in this version + type Average struct + func NewAverage() Average + func NewAverageWithParams(resizeWidth, resizeHeight uint, resizeType imgproc.ResizeType) Average + func (ah *Average) Calculate(img image.Image) hashtype.Binary + type BlockMean struct + func NewBlockMean() BlockMean + func NewBlockMeanWithParams(resizeWidth, resizeHeight uint, resizeType imgproc.ResizeType, ...) BlockMean + func (bh *BlockMean) Calculate(img image.Image) hashtype.Binary + type BlockMeanMethod int + const Direct + const Overlap + const Rotation + const RotationOverlap + type ColorMoment struct + func NewColorMoment() ColorMoment + func NewColorMomentWithParams(resizeWidth, resizeHeight uint, resizeType imgproc.ResizeType, kernelSize int, ...) ColorMoment + func (ch *ColorMoment) Calculate(img image.Image) hashtype.Float64 + type Difference struct + func NewDifference() Difference + func NewDifferenceWithParams(resizeWidth, resizeHeight uint, resizeType imgproc.ResizeType) Difference + func (dh *Difference) Calculate(img image.Image) hashtype.Binary + type MarrHildreth struct + func NewMarrHildreth() MarrHildreth + func NewMarrHildrethWithParams(scale, alpha float64, resizeWidth, resizeHeight uint, ...) MarrHildreth + func (mhh *MarrHildreth) Calculate(img image.Image) hashtype.Binary + type Median struct + func NewMedian() Median + func NewMedianWithParams(resizeWidth, resizeHeight uint, resizeType imgproc.ResizeType) Median + func (mh *Median) Calculate(img image.Image) hashtype.Binary + type PHash struct + func NewPHash() PHash + func NewPHashWithParams(resizeWidth, resizeHeight uint, resizeType imgproc.ResizeType) PHash + func (ph *PHash) Calculate(img image.Image) hashtype.Binary + type RadialVariance struct + func NewRadialVariance() RadialVariance + func NewRadialVarianceWithParams(sigma float64, numOfAngleLines int) RadialVariance + func (rv *RadialVariance) Calculate(img image.Image) hashtype.UInt8