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

Plotsiftdescriptor.py [Conflicts resolved] #23

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

simmimourya
Copy link

Plotsiftdescriptor

  • Synced with master.
  • Results generated using updated sift logic.
  • Examples included in doc-string.

Example Usage:

>>> result = sift(img, compute_descriptor=True)
>>> F = result[0]
>>> D = result[1]
>>> plotsiftdescriptor(D, F) 
# Default f will be used in this case.
>>> plotsiftdescriptor(D) 

Results:

  1. plotsiftdescriptor(d)
    plotsiftdescriptor d
  2. plotsiftdescriptor(d, f)
    plotsiftdescriptor d f

Simmi Mourya and others added 21 commits June 30, 2016 12:07
2. F argument in plotsiftdescriptor() goes optional.
3. Add function docstring with example usage.
2. Handle case: f.shape[1] == 4
3. Handle case: max_value == 0:
2. Fortran Order x1 and y1.
        x1 = x_center.flatten('F')
        y1 = y_center.flatten('F')
the array defined above named 'nans'.
Why
x_stars and y_stars are assigned with correct dimensions which is not
the case while using nans.
while populating x_render. Same goes with y_render.
2. More Readble variable names.
Why
Remove conflicts bw populated and already defined x and y.
2. Choose correct slice which was incorrect earlier.
eg. f[k, 2] -> f[2, k]
Earlier: f[0]/d[0] was written inplace of f[1]/d[1] respectively and vice versa.
@menpobot
Copy link

menpobot commented Jul 1, 2016

Can one of the admins verify this patch?

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

Successfully merging this pull request may close these issues.

None yet

3 participants