mhaghighat / gabor

Gabor Feature Extraction
BSD 2-Clause "Simplified" License
69 stars 33 forks source link

Python version #1

Closed aryopg closed 6 years ago

aryopg commented 8 years ago

I find that your code is really good. It is exactly what i'm searching for. But the problem is, i'm not really good at translating it into python. I really want to find the python version of gabor filter feature extraction. Is there any suggestion from you? thanks

mhaghighat commented 8 years ago

Hi,

I am not an expert in Python either. Apparently, there is a MATLAB Engine API for Python that might be useful for you to call the MATLAB function inside your Python script. Please see the following link: http://www.mathworks.com/help/matlab/matlab-engine-for-python.html

I hope it helps.

Mohammad

On Sun, Mar 27, 2016 at 11:39 AM, aryopg notifications@github.com wrote:

I find that your code is really good. It is exactly what i'm searching for. But the problem is, i'm not really good at translating it into python. I really want to find the python version of gabor filter feature extraction. Is there any suggestion from you? thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1

aryopg commented 8 years ago

I think i can make the python code already, now i would like to ask what kind of algorithm that i should use if i want to match the gabor feature vector of one image to another?

mhaghighat commented 8 years ago

You can use any classifier such as minimum distance, KNN, SVM, SRC, etc.

On Mon, Mar 28, 2016 at 4:08 AM, aryopg notifications@github.com wrote:

I think i can make the python code already, now i would like to ask what kind of algorithm that i should use if i want to match the gabor feature vector of one image to another?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1#issuecomment-202294086

aryopg commented 8 years ago

Can i use it in a CBIR machine? And is there any example on how to implement it using feature vectors?

On Mon, Mar 28, 2016 at 9:57 PM, Mohammad Haghighat < notifications@github.com> wrote:

You can use any classifier such as minimum distance, KNN, SVM, SRC, etc.

On Mon, Mar 28, 2016 at 4:08 AM, aryopg notifications@github.com wrote:

I think i can make the python code already, now i would like to ask what kind of algorithm that i should use if i want to match the gabor feature vector of one image to another?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1#issuecomment-202294086

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1#issuecomment-202427215

aryopg commented 8 years ago

And one more, when i tried to run my code that was translated from your code. I got a result of 5*8 orientation, but with not so much differences between each image. What do you think was wrong in my code? i've translated it until the feature vector extraction, and got that result

On Tue, Mar 29, 2016 at 5:09 PM, Aryo Pradipta Gema aryopg@gmail.com wrote:

Can i use it in a CBIR machine? And is there any example on how to implement it using feature vectors?

On Mon, Mar 28, 2016 at 9:57 PM, Mohammad Haghighat < notifications@github.com> wrote:

You can use any classifier such as minimum distance, KNN, SVM, SRC, etc.

On Mon, Mar 28, 2016 at 4:08 AM, aryopg notifications@github.com wrote:

I think i can make the python code already, now i would like to ask what kind of algorithm that i should use if i want to match the gabor feature vector of one image to another?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1#issuecomment-202294086

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1#issuecomment-202427215

mhaghighat commented 8 years ago

I believe you can, because they have used it before. See the two papers attached.

On Tue, Mar 29, 2016 at 6:09 AM, aryopg notifications@github.com wrote:

Can i use it in a CBIR machine? And is there any example on how to implement it using feature vectors?

On Mon, Mar 28, 2016 at 9:57 PM, Mohammad Haghighat < notifications@github.com> wrote:

You can use any classifier such as minimum distance, KNN, SVM, SRC, etc.

On Mon, Mar 28, 2016 at 4:08 AM, aryopg notifications@github.com wrote:

I think i can make the python code already, now i would like to ask what kind of algorithm that i should use if i want to match the gabor feature vector of one image to another?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1#issuecomment-202294086

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1#issuecomment-202427215

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1#issuecomment-202819335

mhaghighat commented 8 years ago

I have no idea! I am sorry.

On Tue, Mar 29, 2016 at 6:53 AM, aryopg notifications@github.com wrote:

And one more, when i tried to run my code that was translated from your code. I got a result of 5*8 orientation, but with not so much differences between each image. What do you think was wrong in my code? i've translated it until the feature vector extraction, and got that result

On Tue, Mar 29, 2016 at 5:09 PM, Aryo Pradipta Gema aryopg@gmail.com wrote:

Can i use it in a CBIR machine? And is there any example on how to implement it using feature vectors?

On Mon, Mar 28, 2016 at 9:57 PM, Mohammad Haghighat < notifications@github.com> wrote:

You can use any classifier such as minimum distance, KNN, SVM, SRC, etc.

On Mon, Mar 28, 2016 at 4:08 AM, aryopg notifications@github.com wrote:

I think i can make the python code already, now i would like to ask what kind of algorithm that i should use if i want to match the gabor feature vector of one image to another?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1#issuecomment-202294086

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1#issuecomment-202427215

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/mhaghighat/gabor/issues/1#issuecomment-202829793