image_compare library
Classes

Algorithm

Abstract class for all algorithms

AverageHash

Algorithm class for comparing images using average values of pixels.

ChiSquareDistanceHistogram

Algorithm class for comparing images with chisquare histogram intersections

DirectAlgorithm

Algorithm class for comparing images pixelbypixel

EuclideanColorDistance

Algorithm class for comparing images with euclidean distance.

HashAlgorithm

Abstract class for all hash alogrithms

HistogramAlgorithm

Abstract class for all histogram algorithms

IMED

Algorithm class for comparing images with image euclidean distance

IntersectionHistogram

Algorithm class for comparing images with standard histogram intersection.

MedianHash

Algorithm class for comparing images using average values of pixels.

Pair<T1, T2>

Organizational class for storing a pair of generic
objects
T1
and T2

PerceptualHash

Algorithm class for comparing images with the perceptual hash method

Pixel

Organizational class for storing
src1
and src2
data.
Fields are RGBA values

PixelMatching

Algorithm class for comparing images with standard pixel matching.

RGBAHistogram

Organizational class for storing
src1
and src2
data.
Fields are RGBA histograms (256 element lists)
Functions

compareImages({required dynamic src1, required dynamic src2, Algorithm? algorithm})
→ Future<double>

Compare images from
src1
and src2
with a specified algorithm
.
If algorithm
is not specified, the default (PixelMatching()) is supplied.

listCompare({required dynamic target, required List list, Algorithm? algorithm})
→ Future<List<double>>

Compare
target
to each image present in list
using a
specified algorithm
. If algorithm
is not specified, the default (PixelMatching())
is supplied.