Function 'getdata' from the Image Acquisition Toolbox very slow

조회 수: 15 (최근 30일)
Tutu
Tutu 2019년 8월 21일
답변: Suzanne Onstwedder 2020년 9월 22일
Hello,
I am using the function 'getdata' from the Image Acquisition Toolbox in a project. However, the data transfer speed is about 1.5 GB/s. It is my understanding that the data are logged in a Buffer localized on the CPU RAM. Hence, when using 'getadata' to bring the data to the CPU RAM as a variable, the speed should live up to the RAM speed - in my case 21,3 GB/s.
How can I increase this speed?
Any help will be appreciated, please.
Thanks

답변 (2개)

Shashwat Bajpai
Shashwat Bajpai 2019년 12월 10일
편집: Shashwat Bajpai 2019년 12월 10일
Hey,
getdata supports multicore.If you have multiple cores you can try using them to increase the speed.
Please refer the following documentation on getdata for further assistance:
Hope this helps!
  댓글 수: 3
Shashwat Bajpai
Shashwat Bajpai 2019년 12월 11일
I believe you'll need to assign cores explicitly because in multi core computers some cores remain idle to save resources.
Tutu
Tutu 2019년 12월 11일
Great! Could you point toward ressources to dig this matter, and check that this suggestion is working for my issue, please?
Or better, if you could write a bit of code to demonstrate the methodology with 'getdata', I would be very grateful.
Thanks,
Tual

댓글을 달려면 로그인하십시오.


Suzanne Onstwedder
Suzanne Onstwedder 2020년 9월 22일
Is there an answer already?

제품


릴리스

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by