How to load Multiband image on codistributed array of PCT?

3 visualizzazioni (ultimi 30 giorni)
I'm trying to avoid the 'Out of memory' problem when I load a huge image file. May be the solution is the PCT where I can slice the huge array into small pieces. But I don't know how! I thought of : 1- getting an FID of the file 2- Creating list of File pointer indicating the intervals of each part of each band on each worker(I was done) 3- Inside a spmd bloc of codes, seeking to these File pointer and doing fread with specified bloc of memory to get the small part of each band.
I tried but I failed!
In fact, I needed that each worker contains a small part each band of the image but each worker should have different parts of the image(may be the codistributed array maner)!

Risposte (1)

Jason Ross
Jason Ross il 7 Dic 2012
Jill had a nice example in this Answer

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by