Use memmapfile with 11bit data
古いコメントを表示
I am trying to use the "memmapfile" function to map a very large 11bit image to memory.
I am unclear about the Format entry in this case...
img = memmapfile(file_path, 'Format',{'???',[img_size(1) img_size(2)],'im'});
Thanks!!! Monica
回答 (1 件)
Walter Roberson
2011 年 8 月 24 日
0 投票
memmapfile() cannot be used to map at the bit level. The closest you can get is to map by uint* and extract the bits with bitget() or the like.
カテゴリ
ヘルプ センター および File Exchange で Low-Level File I/O についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!