Circumvent the 'array exceeds maximum array size preference' error

조회 수: 3 (최근 30일)
João Miguel Ribeiro
João Miguel Ribeiro 2019년 11월 2일
편집: Dheeraj Singh 2019년 11월 6일
I'm doing a project on image stitching for a course. The end result is to show a panorama where all images are stitched. If there are a lot of images, sometimes i get the 'array exceeds maximum array size preference' error when I create the black canvas to overlay all my transformed images. Is there a way to circumvent this?
For example, by instead of using RGB tensors, using a different type of image representation that is less memory-consuming, like a simple matrix. How would I go about to do it? Any other ideas?
Rescaling the images and panoramas would work, but I need to provide coordinates of specific points in the final paroama for evaluation and this would be altered by rescaling.
Thank you in advance.

답변 (1개)

Dheeraj Singh
Dheeraj Singh 2019년 11월 5일
편집: Dheeraj Singh 2019년 11월 6일
You can have a look at imageDatastore. It can be useful for managing a collection of image files, where each individual file fits into memory but the entire collection of images does not necessarily fit.
You can also have a look at the variable size preference:
You can refer to the following link for resolving "out of memory" errors:

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by