Could I use dct to extract the feature of .png images? Or dct is just for jgp? Because my dataset using png format.
I've read several journals, and find that 2d dct could used to extract the feature based on coefficient. I need the features for Neural Neutwork. I've tried basic code to do 2d dct (using matlab):
i = imread ('AB1.png');
b = im2double (x);
d = dct2 (b, [64 64]);
but, i am still not sure, that this code really give me the appropriate feature that i need. do you have any recommendation of another codes?
And also why 'dctmtx' function give me the same coefficient for different image? *Thanks before.