working on DCT and PHash implementation