Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lecture3.ipynb #7

Open
vasudev13 opened this issue Mar 11, 2019 · 0 comments
Open

lecture3.ipynb #7

vasudev13 opened this issue Mar 11, 2019 · 0 comments

Comments

@vasudev13
Copy link

vasudev13 commented Mar 11, 2019

Hey, @rachana-sathish ,
Gabor filter gives output a complex number, with coefficients of real and imaginary part as follows
gaborFilt_real,gaborFilt_imag = gabor(img_arr,frequency=0.6)
For feature extraction, we are interested in magnitude of the output, therefore, we do the following
gaborFilt = (gaborFilt_real**2+gaborFilt_imag**2)//2

However, shouldn't be np.sqrt((gaborFilt_real**2+gaborFilt_imag**2)), |z|=sqrt(r^2+i^2)

I guess, it won't have any effect on training of the model, as the real and imaginary part have been incorporated in some form.

Thanks for your time and effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant