Is there any alternative of cell array?

조회 수: 4 (최근 30일)
Zara Khan
Zara Khan 2018년 9월 13일
댓글: Amy Haskins 2018년 9월 13일
I am working on 1000 different binary images. For each of the image I am getting 4 different plots. I am running a loop for these 1000 dataset. And storing peaks information in a matrix where each element of the matrix is cell array. But this approach making my program extremely slow. I am unable to get my results . Is there any alternative for this ??
  댓글 수: 5
Rik
Rik 2018년 9월 13일
I agree with Jonas: don't keep all the plots and images in memory at the same time, but load,process,discard, so you only have that peak information in memory.
Amy Haskins
Amy Haskins 2018년 9월 13일
You could try imageDatastore. It can be helpful in workflows where you need to process a large collection of images that don't all fit into memory at once.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by