ヘルプ センターヘルプ センター
randomPatchExtractionDatastore からインデックスで指定されたデータを読み取る
randomPatchExtractionDatastore
data = readByIndex(patchds,ind)
[data,info] = readByIndex(patchds,ind)
data = readByIndex(patchds,ind) は、ランダム パッチ抽出データストア patchds から観測値のサブセットを返します。目的の観測値はインデックス ind で指定されます。
data
patchds
ind
[data,info] = readByIndex(patchds,ind) は、メタデータを含む観測値に関する情報も、info に返します。
info
すべて折りたたむ
ランダム パッチ抽出データストア。randomPatchExtractionDatastore オブジェクトとして指定します。
観測値のインデックス。正の整数のベクトルとして指定します。
データストアからの観測値。length(ind) 行数を含む table として返されます。
length(ind)
読み取りデータに関する情報。構造体配列として返されます。構造体配列には次のフィールドを含むことができます。
RandomPatchRectangles
ImageIndices
InputImageFilename
ResponseImageFilename
R2018b で導入
randomPatchExtractionDatastore | read | readall | partitionByIndex
read
readall
partitionByIndex
次の 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