Click here to Skip to main content
11,636,889 members (76,669 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ImageProcessing
I want to perform a Fast Fourier Transform on a fingerprint image of M x N pixels on small blocks of 32 x 32 pixels.
So do i need to resize the image to M x M (or) N x N (or) in any square size ?

If not..please help me how to traverse these blocks separately.

            x=0;
            y=0;
            for (j = 0; j < Math.Ceiling((double)img.Height / 32); j++)
            {
                for (i = 0; i < Math.Ceiling((double)(img.Width/ 32)); i++)
                {
                    //transformation in each block of 32 x 32 pix
                    a = i;
                    b = j;
                    for (q = b; q < y + 32;q++)
                    {
                        for (p = a; p < x + 32; p++)
                        {
                            //transformation
                        }
                    }
                    x = x + 32;
                    y = y + 32;
                }
            }

Please help, anyone.

regards.
Posted 27-Feb-13 6:08am
Edited 27-Feb-13 6:43am
v2
Comments
Sandeep Mewara at 27-Feb-13 12:34pm
   
And what effort have you made so far?
deepaksharma0390 at 27-Feb-13 12:52pm
   
i just want to know whether i have to resize the image in the size 2^k x 2^l in order to perform FFT
Sergey Alexandrovich Kryukov at 27-Feb-13 22:57pm
   
What code are you using for FFT?
—SA
Sergey Alexandrovich Kryukov at 27-Feb-13 22:57pm
   
What code are you using for FFT?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 jyo.net 263
1 stibee 249
2 Sergey Alexandrovich Kryukov 229
3 Suvendu Shekhar Giri 225
4 OriginalGriff 183
0 OriginalGriff 8,941
1 Sergey Alexandrovich Kryukov 8,493
2 Mika Wendelius 6,909
3 F-ES Sitecore 2,388
4 Suvendu Shekhar Giri 2,320


Advertise | Privacy | Mobile
Web02 | 2.8.150728.1 | Last Updated 27 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100