This is the perceptual-hashes Reference Manual, version 0.3, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 06:13:02 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
perceptual-hashesPerceptual hash algorithms for images
Vasily Postnicov <shamaz.mazum@gmail.com>
2-clause BSD
0.3
imago/pngload (system).
imago/jpeg-turbo (system).
array-operations (system).
alexandria (system).
serapeum (system).
package.lisp (file).
resize.lisp (file).
hashes.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
perceptual-hashes/perceptual-hashes.asdperceptual-hashes/package.lispperceptual-hashes/resize.lispperceptual-hashes/hashes.lispperceptual-hashes/perceptual-hashes.asdperceptual-hashes (system).
perceptual-hashes/resize.lisppackage.lisp (file).
perceptual-hashes (system).
thumbnail (function).
perceptual-hashes/hashes.lispresize.lisp (file).
perceptual-hashes (system).
ahash (function).
dhash (function).
hamming-distance (function).
+thumb-size+ (constant).
get-image (function).
Packages are listed by definition order.
perceptual-hashescommon-lisp.
ahash (function).
dhash (function).
hamming-distance (function).
+thumb-size+ (constant).
get-image (function).
thumbnail (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Return aHash (average hash) of an @c(image) which can be a string,
a pathname or an @c(imago:image) object. If @c(image) is a string or a
pathname, the image is loaded using this pathname.
This algorithm is based on whenever a pixel is brighter or darker than
the average luminance of all pixels.
Return dHash (gradient hash) of an @c(image) which can be a string,
a pathname or an @c(imago:image) object. If @c(image) is a string or a
pathname, the image is loaded using this pathname.
This algorithm is based on whenever a pixel is brighter or darker than
the neighbour pixels.
Calculate Hamming distance between two hashes.
The image will be resized to a small square with a side +thumb-size+ before a hash is calculated.
| Jump to: | A D F G H T |
|---|
| Jump to: | A D F G H T |
|---|
| Jump to: | +
C |
|---|
| Index Entry | Section | ||
|---|---|---|---|
| | |||
| + | |||
+thumb-size+: | Private constants | ||
| | |||
| C | |||
Constant, +thumb-size+: | Private constants | ||
| | |||
| Jump to: | +
C |
|---|
| Jump to: | F H P R S |
|---|
| Jump to: | F H P R S |
|---|