ヘルプ センターヘルプ センター
pixelLabelImageDatastore からのインデックスで指定されたデータの読み取り
pixelLabelImageDatastore
data = readByIndex(pximds,ind)
[data,info] = readByIndex(pximds,ind)
data = readByIndex(pximds,ind) は、ピクセル ラベル イメージのデータストア pximds から観測値のサブセットを返します。目的の観測値はインデックス ind で指定されます。
data
pximds
ind
[data,info] = readByIndex(pximds,ind) は、メタデータを含む観測値に関する情報も、info に返します。
info
すべて折りたたむ
ピクセル ラベル イメージのデータストア。pixelLabelImageDatastore オブジェクトとして指定します。
観測値のインデックス。正の整数のベクトルとして指定します。
データストアからの観測値。length(ind) 行数を含む table として返されます。
length(ind)
読み取りデータに関する情報。構造体配列として返されます。構造体配列には次のフィールドを含むことができます。
Filename
FileSize
合計ファイル サイズ (バイト単位)。MAT ファイルの場合、FileSize はファイル内のキーと値のペアの総数になります。
R2018a で導入
pixelLabelImageDatastore | partitionByIndex | readall | read
partitionByIndex
readall
read
次の 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:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office