Reputation: 1340
I have a problem on how to compute the DCT of 8*8 bock of image on android. I'm using opencv on my android project and can't find proper method for getting dct.
can anyone know how to compute this ? is there any method for doing this on android or I should compute dct formula by my own?
note that I know how to get DCT of image on original opencv (with cv2.dct()) but I have trouble on android ...
Upvotes: 1
Views: 2790
Reputation: 731
Have a look at this link:
Convert OpenCv DFT example from C++ to Android
you can replace the dft call with a call to Core.dct
Upvotes: 1