Click here to Skip to main content
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 Sergey Alexandrovich Kryukov 718
1 OriginalGriff 420
2 CPallini 385
3 George Jonsson 231
4 Richard Deeming 145
0 OriginalGriff 5,450
1 CPallini 4,500
2 Sergey Alexandrovich Kryukov 4,272
3 George Jonsson 3,057
4 Gihan Liyanage 2,445


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 27 Feb 2013
Copyright © CodeProject, 1999-2014
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