Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KilianB/JImageHash
/ functions
Functions
873 in github.com/KilianB/JImageHash
⨍
Functions
873
◇
Types & classes
162
↓ 166 callers
Function
t
(t,e)
src/main/resources/Chart.bundle.min.js:10
↓ 99 callers
Method
algorithmId
A unique id identifying the settings and algorithms used to generate the output result. The id shall stay consistent throughout restarts of the jvm.
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/HashingAlgorithm.java:333
↓ 86 callers
Method
apply
Apply the kernel to the 2d array. If the desired output is a int[][] array refer to {@link #applyInt(int[][])}. @param input the input array to apply
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/filter/Kernel.java:471
↓ 77 callers
Method
merge
Merge a hash into this object and lazily update the values as required. A merge operation looks at every individual bit and increments or decrements t
src/main/java/dev/brachtendorf/jimagehash/hash/FuzzyHash.java:156
↓ 58 callers
Method
createHash
Create a dummy hash @param bits @param algoId @return
src/test/java/dev/brachtendorf/jimagehash/TestResources.java:110
↓ 57 callers
Function
lt
(t,n,i)
src/main/resources/Chart.bundle.min.js:10
↓ 55 callers
Method
getBitResolution
@return the hash resolution in bits
src/main/java/dev/brachtendorf/jimagehash/hash/Hash.java:351
↓ 47 callers
Method
hash
Calculate hashes for the given images. Invoking the hash function on the same image has to return the same hash value. A comparison of the hashes rela
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/HashingAlgorithm.java:190
↓ 47 callers
Function
s
(t,e)
src/main/resources/Chart.bundle.min.js:10
↓ 46 callers
Function
B
(t,e,n,i)
src/main/resources/Chart.bundle.min.js:10
↓ 43 callers
Function
M
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 40 callers
Method
addHash
(Hash hash, T value)
src/main/java/dev/brachtendorf/jimagehash/datastructures/tree/binaryTree/BinaryTree.java:75
↓ 39 callers
Function
v
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 35 callers
Method
getInstance
(int bitResolution)
src/test/java/dev/brachtendorf/jimagehash/hashAlgorithms/HashTestBase.java:518
↓ 33 callers
Function
l
(t,e)
src/main/resources/Chart.bundle.min.js:10
↓ 32 callers
Method
hash
(BufferedImage image, HashBuilder hash)
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/RotPHash.java:97
↓ 32 callers
Method
mergeFast
Merge a hash into this object and lazily update the values as required. A merge operation looks at every individual bit and increments or decrements t
src/main/java/dev/brachtendorf/jimagehash/hash/FuzzyHash.java:216
↓ 32 callers
Function
y
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 31 callers
Function
n
(a,r)
src/main/resources/Chart.bundle.min.js:10
↓ 30 callers
Function
o
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 29 callers
Function
w
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 28 callers
Function
u
(e,t)
src/main/resources/Chart.bundle.min.js:10
↓ 27 callers
Function
d
(t,e,n)
src/main/resources/Chart.bundle.min.js:10
↓ 27 callers
Method
normalizedHammingDistance
Calculate the hamming distance of 2 hash values. The distance of two hashes is the difference of the individual bits found in the hash. <p> The normal
src/main/java/dev/brachtendorf/jimagehash/hash/Hash.java:181
↓ 25 callers
Function
ct
(t,n)
src/main/resources/Chart.bundle.min.js:10
↓ 24 callers
Function
g
(t,e)
src/main/resources/Chart.bundle.min.js:10
↓ 24 callers
Method
weightedDistance
Calculate the normalized weighted distance between the supplied hash and this hash. Opposed to the hamming distance the weighted distance takes parti
src/main/java/dev/brachtendorf/jimagehash/hash/FuzzyHash.java:374
↓ 23 callers
Method
addImage
Adds the hashes produced by the added hashing algorithm of this image to the filter. Future calls to {@link #isPresent(File)} will return true for the
src/main/java/dev/brachtendorf/jimagehash/matcher/exotic/BloomFilter.java:230
↓ 22 callers
Function
x
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 20 callers
Method
hammingDistance
Calculate the hamming distance of 2 hash values. The distance of two hashes is the difference of the individual bits found in the hash. <p> The hammin
src/main/java/dev/brachtendorf/jimagehash/hash/Hash.java:101
↓ 19 callers
Function
Ce
(t,e,n,i)
src/main/resources/Chart.bundle.min.js:10
↓ 19 callers
Method
getAlgorithmId
Return the algorithm identifier specifying by which algorithm and setting this hash was created. The id shall remain constant. @return The algorithm
src/main/java/dev/brachtendorf/jimagehash/hash/Hash.java:250
↓ 18 callers
Function
Y
(t,e)
src/main/resources/Chart.bundle.min.js:10
↓ 18 callers
Method
getCategory
Get the current category of the image described by this unique id. A category usually maps an image to a cluster. @param uniqueId the id of a previou
src/main/java/dev/brachtendorf/jimagehash/matcher/categorize/CategoricalImageMatcher.java:154
↓ 18 callers
Function
r
()
src/main/resources/Chart.bundle.min.js:10
↓ 17 callers
Method
hammingDistance
(Hash h)
src/main/java/dev/brachtendorf/jimagehash/hash/FuzzyHash.java:752
↓ 17 callers
Method
normalizedHammingDistance
(Hash h)
src/main/java/dev/brachtendorf/jimagehash/hash/FuzzyHash.java:770
↓ 16 callers
Function
A
(t,e)
src/main/resources/Chart.bundle.min.js:10
↓ 16 callers
Method
checkSimilarity
Execute all supplied hashing algorithms in the order they were supplied and check if the images are similar @param image First input image @param im
src/main/java/dev/brachtendorf/jimagehash/matcher/exotic/SingleImageMatcher.java:34
↓ 16 callers
Method
getThreshold
@return the threshold
src/main/java/dev/brachtendorf/jimagehash/matcher/TypedImageMatcher.java:168
↓ 16 callers
Method
getWeightedDistance
Gets the weighted distance of this bit in the range [0-1] @param bitIndex the position in the hash @param bit if true the distance to a 1 bit wi
src/main/java/dev/brachtendorf/jimagehash/hash/FuzzyHash.java:893
↓ 14 callers
Function
a
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 14 callers
Function
e
(t,e,n)
src/main/resources/Chart.bundle.min.js:10
↓ 14 callers
Method
getAlgorithms
Return an immutable map copy of the algorithms currently used in the matcher. This map is a hard copy of the hashmap and does not updated if the under
src/main/java/dev/brachtendorf/jimagehash/matcher/cached/ConsecutiveMatcher.java:95
↓ 14 callers
Method
getElementsWithinHammingDistance
Return all elements of the tree whose hamming distance is smaller or equal than the supplied max distance. If the tree is configured to ensureHashCon
src/main/java/dev/brachtendorf/jimagehash/datastructures/tree/binaryTree/BinaryTree.java:98
↓ 14 callers
Function
h
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 14 callers
Function
m
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 14 callers
Function
p
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 13 callers
Function
P
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 13 callers
Method
getHashValue
@return the base BigInteger holding the hash value
src/main/java/dev/brachtendorf/jimagehash/hash/Hash.java:257
↓ 13 callers
Method
getKeyResolution
Get the actual bit key resolution of all hashes computed by this algorithm. <p> Be aware that this value may differ from: <ul> <li>the supplied bit
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/HashingAlgorithm.java:390
↓ 13 callers
Function
k
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 13 callers
Method
offsetBitResolution
Some hashing algorithms need a greater or lower key resolution. Allow individual test to override this. @return
src/test/java/dev/brachtendorf/jimagehash/hashAlgorithms/HashTestBase.java:514
↓ 13 callers
Method
prependZero
Add a zero bit to the hash
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/HashBuilder.java:71
↓ 12 callers
Method
addHashingAlgorithm
Added hashing algorithms will be queried to seed the internal rng. If not enough hashing algorithms are provided by the user exists algorithms will be
src/main/java/dev/brachtendorf/jimagehash/matcher/exotic/BloomFilter.java:144
↓ 12 callers
Function
c
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 12 callers
Method
correctPixel
Return the array index to compute the kernel value @param pIndex The pixel index of the array @param widthOrHeight the width or height of the
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/filter/Kernel.java:781
↓ 12 callers
Method
createPixelAccessor
(BufferedImage image, int width, int height)
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/HashingAlgorithm.java:295
↓ 12 callers
Method
getAlgorithms
@return an unmofifiable collection of the hashing algorithms added to this matcher.
src/main/java/dev/brachtendorf/jimagehash/matcher/PlainImageMatcher.java:64
↓ 12 callers
Method
prependOne
Add a one bit to the hash
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/HashBuilder.java:89
↓ 12 callers
Method
test
()
src/test/java/dev/brachtendorf/jimagehash/hash/FuzzyHashTest.java:743
↓ 11 callers
Function
F
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 11 callers
Method
addImage
Add the image to the matcher allowing the image to be found in future searches. @param image The image whose hash will be added to the matcher
src/main/java/dev/brachtendorf/jimagehash/matcher/cached/ConsecutiveMatcher.java:105
↓ 11 callers
Method
ensureUpToDateHash
Ensure that the hashValue is up to date. Call this method when ever the value is needed.
src/main/java/dev/brachtendorf/jimagehash/hash/FuzzyHash.java:722
↓ 11 callers
Function
i
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 11 callers
Method
normalizedHammingDistanceFast
Calculate the hamming distance of 2 hash values. The distance of two hashes is the difference of the individual bits found in the hash. <p> The normal
src/main/java/dev/brachtendorf/jimagehash/hash/Hash.java:209
↓ 10 callers
Method
categorizeImageAndAdd
Compute the closest category of an image and afterwards add it to the internal categorization queue. Some matchers may choose to immediately update th
src/main/java/dev/brachtendorf/jimagehash/matcher/categorize/CategoricalImageMatcher.java:72
↓ 10 callers
Method
deleteDatabase
Drop all data in the tables and delete the database files. This method currently only supports h2 databases. After this method terminates successfully
src/main/java/dev/brachtendorf/jimagehash/matcher/persistent/database/H2DatabaseImageMatcher.java:177
↓ 10 callers
Method
equals
(Object obj)
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/filter/Kernel.java:691
↓ 10 callers
Method
getChild
(boolean left)
src/main/java/dev/brachtendorf/jimagehash/datastructures/tree/binaryTree/Node.java:18
↓ 10 callers
Method
resolveTableName
Map a hashing algorithm to a table name @param hashAlgo The hashing algorithm @return the table name to identify the table used to save hashes produc
src/main/java/dev/brachtendorf/jimagehash/matcher/persistent/database/DatabaseImageMatcher.java:776
↓ 10 callers
Method
toBigInteger
Convert the internal state of the hashbuilder to a big integer object @return a big integer object
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/HashBuilder.java:109
↓ 10 callers
Method
toString
()
src/main/java/dev/brachtendorf/jimagehash/hash/Hash.java:418
↓ 9 callers
Function
S
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 9 callers
Function
W
(t,e,n)
src/main/resources/Chart.bundle.min.js:10
↓ 9 callers
Method
addTestImages
Add test images to this image matcher which will be used to construct the random forest. <p> Be aware that labeled images are kept in memory as long
src/main/java/dev/brachtendorf/jimagehash/matcher/categorize/supervised/randomForest/RandomForestCategorizer.java:85
↓ 9 callers
Method
applyInt
Apply the kernel to the 2d array with each value casted to a int value. @param input the input array to apply the kernel on @return a new array creat
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/filter/Kernel.java:488
↓ 9 callers
Function
b
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 9 callers
Method
computePotentialValues
(byte[][] input, int x, int y)
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/filter/NonAveragingKernel.java:52
↓ 8 callers
Function
Ee
(t,e)
src/main/resources/Chart.bundle.min.js:10
↓ 8 callers
Method
addHash
(FuzzyHash hash)
src/main/java/dev/brachtendorf/jimagehash/datastructures/tree/binaryTreeFuzzy/FuzzyBinaryTree.java:43
↓ 8 callers
Method
doesEntryExist
Check if an entry with the given uniqueId already exists @param uniqueId the unique id to check against @param hashAlgo the hashing algorithm @return
src/main/java/dev/brachtendorf/jimagehash/matcher/persistent/database/DatabaseImageMatcher.java:814
↓ 8 callers
Method
ensureUpToDateDistance
Ensure that the distance array is up to date. Call this method when ever the array is needed.
src/main/java/dev/brachtendorf/jimagehash/hash/FuzzyHash.java:733
↓ 8 callers
Method
equals
(Object obj)
src/main/java/dev/brachtendorf/jimagehash/hash/Hash.java:432
↓ 8 callers
Function
f
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 8 callers
Method
filter
Apply the filter to the input image and return an altered copy @param bi the input image to apply the filter on @return the altered image
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/filter/Filter.java:19
↓ 8 callers
Method
getMatchingImages
(BufferedImage image)
src/main/java/dev/brachtendorf/jimagehash/matcher/cached/CumulativeMatcher.java:142
↓ 8 callers
Method
getUncertaintyMask
Return a mask indicating if the bits are above a certain uncertainty. <p> The certainty of a hash is calculated by comparing the number of 0 bits at p
src/main/java/dev/brachtendorf/jimagehash/hash/FuzzyHash.java:634
↓ 8 callers
Method
hash
(BufferedImage image, HashBuilder hash)
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/AverageHash.java:61
↓ 8 callers
Method
hash
(BufferedImage image, HashBuilder hash)
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/DifferenceHash.java:94
↓ 8 callers
Method
isNormalized
@return if the normalized hamming distance shall be used.
src/main/java/dev/brachtendorf/jimagehash/matcher/TypedImageMatcher.java:175
↓ 8 callers
Function
xn
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 7 callers
Function
Et
(t,e,n)
src/main/resources/Chart.bundle.min.js:10
↓ 7 callers
Function
Tn
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 7 callers
Method
calcValue
(byte[][] input, int x, int y)
src/main/java/dev/brachtendorf/jimagehash/hashAlgorithms/filter/Kernel.java:582
↓ 7 callers
Function
dt
(t)
src/main/resources/Chart.bundle.min.js:10
↓ 7 callers
Method
getBitUnsafe
(int position)
src/main/java/dev/brachtendorf/jimagehash/hash/FuzzyHash.java:747
↓ 7 callers
Method
getName
@return the name
src/main/java/dev/brachtendorf/jimagehash/matcher/categorize/supervised/LabeledImage.java:94
↓ 7 callers
Method
getbImage
@return the bImage
src/main/java/dev/brachtendorf/jimagehash/matcher/categorize/supervised/LabeledImage.java:108
↓ 7 callers
Method
hammingDistanceFast
Calculate the hamming distance of 2 hash values. The distance of two hashes is the difference of the individual bits found in the hash. <p> The hammin
src/main/java/dev/brachtendorf/jimagehash/hash/Hash.java:131
next →
1–100 of 873, ranked by callers