how to run "detectMSERFeatures" on a GPU or how to accelerate it?
조회 수: 1 (최근 30일)
이전 댓글 표시
hello, I'm trying to make my code (which is based on the detectMSERFeatures function and I call it a few times every frame) run faster and for that, I thought I should run it on a GPU. correct me if I'm wrong and if any of you have suggestions be my guest. thanks in advance :).
댓글 수: 0
채택된 답변
Joss Knight
2017년 11월 4일
Why don't you inspect the function gpuArray/detectHarrisFeatures which is implemented in MATLAB code. It should give you a few ideas.
edit gpuArray/detectHarrisFeatures
With properly vectorized code there's often very little customisation needed. As you can see, detectHarrisFeatures shares most of its implementation with the CPU version.
댓글 수: 2
Joss Knight
2017년 11월 5일
Yes. And ... well ... they're both types of image feature detection? I'll admit the underlying algorithms aren't the same but the point is to give you some examples of MATLAB code that run successfully and efficiently on the GPU, in an area you're familiar with (presumably).
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 GPU Computing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!