Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

stereo: performance optimization of sgm on Window-ARM64#4055

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
pratham-mcw wants to merge1 commit intoopencv:4.x
base:4.x
Choose a base branch
Loading
frompratham-mcw:sgm-neon-optimization

Conversation

@pratham-mcw
Copy link
Contributor

Pull Request Readiness Checklist

  • This PR adds an ARM64 NEON intrinsics-based optimization for the computeDisparityBinarySGBM function in stereo_binary_sgbm.cpp.
  • The new implementation uses NEON vector instructions (e.g., vld1q_s16, vminq_s16, vqaddq_s16), allowing for efficient parallel computation. This is guarded under the CV_NEON macro and does not affect other platforms.
  • This change is similar to existing SSE2 optimizations for x64 and brings the same performance benefits to ARM64.

Performance Improvements:

  • The optimization significantly improves the performance of sgm on Windows ARM64 targets.
  • The table below shows timing comparisons before and after the optimization:
image

See details athttps://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch

@pratham-mcwpratham-mcw changed the titlestereo: performance optimization of stereo on Window-ARM64stereo: performance optimization of sgm on Window-ARM64Dec 19, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@pratham-mcw

[8]ページ先頭

©2009-2025 Movatter.jp