Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Undemanding
Difference
Method
EuclideanDistance
PHP Class Undemanding\Difference\Method\EuclideanDistance
Exibir arquivo
Open project: undemanding/difference
Public Methods
Method
Description
__invoke
(
array
$p
,
array
$q
) :
float
RGB color distance for the same pixel in two images.
Method Details
__invoke()
public
method
RGB color distance for the same pixel in two images.
See link:
https://en.wikipedia.org/wiki/Euclidean_distance
public
__invoke
(
array
$p
,
array
$q
) :
float
$p
array
$q
array
return
float