Timmy Welch
53bce1cdc2
Add testing system
2024-05-01 17:59:11 -07:00
Timmy Welch
1ca06a1968
Make compliant with python imagehash
2024-04-05 17:29:30 -06:00
Dong-hee Na
14aa1e136f
dct: Improve DCT1D to O(nlogn) algorithm ( #29 )
...
* hashcompute_test: Add benchmark
* dct: Improve DCT1D to O(nlogn) algorithm
AS-IS:
BenchmarkPerceptionHash-8 500 2893930 ns/op 456698 B/op 4455 allocs/op
TO-BE:
BenchmarkPerceptionHash-8 2000 890306 ns/op 456382 B/op 4455 allocs/op
reference: DCT type II, unscaled. Algorithm by Byeong Gi Lee, 1984.
2019-03-19 13:52:44 +09:00
Dong-hee Na
3e058be50d
hashcompute: Update Extend API ( #28 )
...
* hashcompute: Update Extend API
- AverageHashExtend -> ExtAverageHash
- PerceptionHashExtend -> ExtPerceptionHash
- DiffrenceHashExtend -> ExtDiffrenceHash
* imagehash: Update load api
2019-03-18 23:53:09 +09:00
Dong-hee Na
161b6f5676
hashcompute: Redesign XXXHashExtend API interface ( #27 )
2019-03-18 21:40:16 +09:00
Dong-hee Na
47321c08d3
imagehash: Create a new API Bits() ( #25 )
2019-03-17 15:42:07 +09:00
Dong-hee Na
84eb1859d0
imagehash: Add new serialization API dump/load. ( #24 )
...
Create a new APIs for serializing purpose which can use
standard io.Reader/io.Writer APIs.
ToString() API will be remain for debugging purpose and
ExtImageHashFromString, ImageHashFromString will be removed after next
version.
- New APIs are added: LoadExtImageHash, LoadImageHash, xxxHash.Dump
- These APIs are deprecated: ExtImageHashFromString, ImageHashFromString
2019-03-17 11:34:56 +09:00
Dong-hee Na
7aba8954cd
[goimagehash] First implement.
2017-07-31 22:47:14 +09:00