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

Speedup Needed and Opportunities #66

Open
3 tasks done
CameronBodine opened this issue Mar 23, 2023 · 3 comments
Open
3 tasks done

Speedup Needed and Opportunities #66

CameronBodine opened this issue Mar 23, 2023 · 3 comments
Assignees
Labels
0_Code for Zenhub Workspace Filtering enhancement New feature or request help wanted Extra attention is needed

Comments

@CameronBodine
Copy link
Owner

CameronBodine commented Mar 23, 2023

This issue will document workflows which would benefit from additional speed-up to lower overall processing time of sonar recordings.

  • Mapping substrate probabilities/logits
  • src correction: can this operation be vectorized?
  • Speed up image warping
@CameronBodine CameronBodine added enhancement New feature or request help wanted Extra attention is needed 0_Code for Zenhub Workspace Filtering labels Mar 23, 2023
@CameronBodine
Copy link
Owner Author

CameronBodine commented May 11, 2023

SRC correction sped up using math.sqrt instead of np.sqrt. Also used int() instead of .astype(int). I see a speedup of 1.7x on the hello world scan when processing EGN and exporting WCR rect/non-rect imagery! Great work @dbuscombe-usgs! Still unsure how to vectorize (if it's even possible) but considering that task as complete for the time being. May return if struck with divine numpy inspiration in the future.

@CameronBodine
Copy link
Owner Author

This will also speed up the substrate mapping workflow, including rectifying probs/logits since each class needs to be slant range corrected. Checking that task as complete also. Leaving issue open to identify other sources for speedup.

@CameronBodine
Copy link
Owner Author

I found this beautiful solution to speeding up the warping process while rectifying sonar imagery:

scikit-image/scikit-image#6864 (comment)

For the example dataset using 7 threads for 7 images, the rectification process went from 23.8 seconds to 16.2 seconds! About to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0_Code for Zenhub Workspace Filtering enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant