loading 3D big array
古いコメントを表示
Hi everyone, does anyone know how to extract a 2D slice from a 3D binary files of size [2048]x[2048]x[1024]? I just need slices in the x-y plane for a fixed value of the third dimension, z. Thanks a lot!
1 件のコメント
DGM
2025 年 7 月 3 日
I'm not sure what a GDA file is, and the web doesn't seem to know anymore either. I'm assuming it's a GDAL file, which would be georeferenced raster data. Seems awful deep for such an image, but maybe I'm wildly wrong.
This might be relevant, though I don't know if it would have been a solution:
回答 (2 件)
Pinpress
2012 年 5 月 4 日
im(:,:,100)??
or squeeze(im(:, 1000, :)) ??
1 件のコメント
Ersilia Leonardis
2012 年 5 月 8 日
移動済み: DGM
2025 年 7 月 3 日
Jan
2012 年 5 月 8 日
0 投票
The method to extract a slice from a binary file depends on the file format. It matters if you are talking about binary STL files or a simple double array stored in linear order without any header.
1 件のコメント
Ersilia Leonardis
2012 年 5 月 8 日
移動済み: DGM
2025 年 7 月 3 日
カテゴリ
ヘルプ センター および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!