Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Jenssegers
ImageHash
Implementations
PerceptualHash
PHP Class Jenssegers\ImageHash\Implementations\PerceptualHash
Inheritance:
implements
Jenssegers\ImageHash\Implementation
Datei anzeigen
Open project: jenssegers/imagehash
Public Methods
Method
Description
hash
(
$resource
)
{@inheritDoc}
Protected Methods
Method
Description
DCT1D
(
array
$pixels
)
Perform a 1 dimension Discrete Cosine Transformation.
median
(
array
$pixels
) :
float
Get the median of the pixel values.
Method Details
DCT1D()
protected
method
Perform a 1 dimension Discrete Cosine Transformation.
protected
DCT1D
(
array
$pixels
)
$pixels
array
hash()
public
method
{@inheritDoc}
public
hash
(
$resource
)
median()
protected
method
Get the median of the pixel values.
protected
median
(
array
$pixels
) :
float
$pixels
array
return
float