Preallocate array to store images from camera
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm controlling a camera to take images in a while loop that ends when I hit a UI button. That means I don't know how many frames I will take when I turn the camera on. I want to save the images into a cell array, but how can I preallocate the array if I don't know the size? Would saving individual frames as a .jpeg into a folder be faster?
댓글 수: 3
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!