このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
readall
説明
例
blockedImageDatastore から全ブロックを読み取る
ブロック化されたイメージを作成します。blockedImage
オブジェクトは、イメージを 1,024 x 1,024 の大きさのブロックから成る 5 行 6 列のグリッド (合計 30 ブロック) に分割します。
bim = blockedImage('tumor_091R.tif');
ブロック化されたイメージから blockedImageDatastore
を作成します。
bimds = blockedImageDatastore(bim);
blockedImageDatastore
からすべてのブロックを読み取ります。オブジェクト関数 readall
は、30 ブロックを含んだ cell 配列を返します。
b = readall(bimds)
b=30×1 cell array
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
{1024x1024x3 uint8}
⋮
すべてのブロックを表示します。
montage(b)
入力引数
bimds
— ブロック化イメージ データストア
blockedImageDatastore
オブジェクト
ブロック化イメージ データストア。blockedImageDatastore
オブジェクトとして指定します。
出力引数
b
— ブロック化イメージ データストアからのデータ
cell 配列
blockedImageDatastore
からのデータ。長さが ReadSize
のブロック データの cell 配列として返されます。
バージョン履歴
R2021a で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)