ヘルプ センターヘルプ センター
imagemodel
このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
イメージ オブジェクトからのイメージ モデル オブジェクト
imgmodel = getimagemodel(himage)
例
imgmodel = getimagemodel(himage) は、イメージ himage に関連付けられたイメージ モデル オブジェクトを返します。himage に関連付けられたイメージ モデル オブジェクトがない場合、関数 getimagemodel はイメージ モデル オブジェクトを作成します。
imgmodel
himage
getimagemodel
すべて折りたたむ
イメージをワークスペースに読み取ります。
h = imshow('bag.png');
このイメージと関連付けられたイメージ モデルを取得します。
imgmodel = getimagemodel(h)
imgmodel = IMAGEMODEL object accessing an image with these properties: ClassType: 'uint8' DisplayRange: [0 255] ImageHeight: 250 ImageType: 'intensity' ImageWidth: 189 MinIntensity: 0 MaxIntensity: 255
ターゲット イメージ。イメージ オブジェクトのハンドルまたはイメージ オブジェクトのハンドルの配列として指定します。
イメージ モデル。imagemodel オブジェクトとして返されます。himage がイメージ オブジェクトのハンドルの配列である場合、imgmodel はイメージ モデルの配列です。
R2006a より前に導入
imagemodel | imattributes | imhandles
imattributes
imhandles
次の 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