goimagehash/transforms
Dong-hee Na 14aa1e136f
dct: Improve DCT1D to O(nlogn) algorithm ()
* 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
..
dct_test.go dct: Improve DCT1D to O(nlogn) algorithm () 2019-03-19 13:52:44 +09:00
dct.go dct: Improve DCT1D to O(nlogn) algorithm () 2019-03-19 13:52:44 +09:00
doc.go [goimagehash] First implement. 2017-07-31 22:47:14 +09:00
pixels.go transforms: Fix the logic which getting a size of image 2018-08-19 16:35:17 +09:00