thanks for the help, google yields hits, ok. but the problem is that all the codes are in high level C, unfortunately i am not that good in C. so i want the coding in simple C.
ok i can outline the operation required and the equations, maybe we can put together a code of sorts. :-|
i have attached a file, where the first step of gabor filter is detailed (a point to note: i am implementing gabor for fingerprint image processing) and this is how i coded it.. just see if there are no technical errors in it.. R and C are image height and width. and #define P1 image[r-1][c-1] //3x3 IMAGE MASK ELEMENTS #define P2 image[r-1][c] #define P3 image[r-1][c+1] #define P4 image[r][c+1] #define P5 image[r+1][c+1] #define P6 image[r+1][c] #define P7 image[r+1][c-1] #define P8 image[r][c-1]
if i am any better in C, why should i ask for help. :-) with what little time i have, i have to finish the job at hand, and with what little C expertise i have. so...
I think what they're trying to say is there might not be a simple way of doing it. I don't think you'll find some do_what_i_want_it_to_do(); function out there to plug into your program. This may be the opportunity to bone up on the topic.
i have attached a file, where the first step of gabor filter is detailed (a point to note: i am implementing gabor for fingerprint image processing) and this is how i coded it.. just see if there are no technical errors in it..
We can't really do that because you are not including enough code.
My living room is rectangular; there are some couches and a chair and some other stuff: tell me if it is baby-safe.
do you have any matrix manipulation functions in your code??? you need to check them if you havent already (use ID matrix to check). Most people get the indicies of their matrices mixed up and therefore the maths breaks down!
If you have seperate functions for matrix algebra it would clean up the code. It doesnt look too hard at first glance, and should be able to be written in 'simple' (bit of a loose definition) c. Do you understand the maths? if you you should see that a matrix multiply in the block followed by a summation can be VERY easily done in c.....
What have you tried / got working so far? any code would help with errors ect..
i really liked that do_what_i_want_it_to_do(); function and the baby-safe example.. but the problem is, the whole porgram is some 500 codes, so i submitted only the pertinent code.
i just want to know if i have commited a domain error, or the like(some technical flaw), which will go undetected by the compiler, but will ultimately produce erraneous results. please tell me if i have put the equations in correct C. i really cant understand why this code is insufficient for that( i maybe asking this because i know little about C), is it so?