Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Discrete cosine transform DCT (urgent)

Status
Not open for further replies.

yuna

Newbie level 6
Joined
Sep 27, 2006
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,371
Dear all,

I am doing the palm print recognition.May i know is it somebody know how to calculate the DCT of the image?
i have try a few method....in the MATLAB..
i use the DCT or DCT2 in MATLAB but the result is not good....
I hope somebody can help me...
My source code is as below....I have try 3 method to calculate the DCT of image...

DCTfm1 = dct2(I);

max(max(DCTfm1))
min(min(DCTfm1))
ans =
18.0219
ans =
-6.2640
---------------------------------------------------------------------------------------------
logofDCT = log(DCTfm1);
max(max(logofDCT))
min(min(logofDCT))
ans =
-13.8896 + 3.1416i
ans =
-1.4010
---------------------------------------------------------------------------------------------
a = I;
b=im2col(a,[8 8],'distinct');
mean(b);
max(b);
a1=mean(b)./max(b);
[max_a1,k] = max(a1)

max_a1 =
0.2985
k =
87
--------------------------------------------------------------------------------------------

I want to ask whether which method above is better to used in the propagation of neural network.?May be i did wrong in my source code.....please guide me...

If you have any source code or file which related with the DCT or neural network, please e-mail to me....
yuna_free@yahoo.com

Please.............. i really hope somebody can guide me...

Thanks in advance.....
 

Hi ,
I think you need to go trough this book ,
Digital Image Proceessing in Matlab by Gonzales
They have sample program which does it also the working principle of DCT
Hope this helps...
Thanx
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top