bwselect3
バイナリ ボリュームのオブジェクトを選択
構文
説明
例
ボリューム内のオブジェクトの検索
ボリュームを読み込んで名前を V
に変更します。
load mristack;
V = mristack;
ボリューム内の一連の点を定義します。
C = [126 87 11]; R = [34 120 20]; P = [20 2 12];
指定した点と交差するオブジェクトを含むボリュームを返します。
J = bwselect3(V,C,R,P);
入力引数
V
— バイナリ ボリューム
3 次元数値配列 | 3 次元 logical 配列
バイナリ ボリューム。3 次元数値配列または 3 次元 logical 配列として指定します。
データ型: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
| logical
c
— オブジェクトの列インデックス
数値スカラー | 数値ベクトル
p
— オブジェクトの平面インデックス
数値スカラー | 数値ベクトル
n
— 連結性
26
(既定値) | 6
| 18
連結性。次のいずれかの値を指定します。
連結性
値 | 連結性 |
---|---|
6 | 6 連結オブジェクト (面 - 面) |
18 | 18 連結オブジェクト (面 - 面、辺 - 辺) |
26 | 26 連結オブジェクト (面 - 面、辺 - 辺、および頂点 - 頂点) |
データ型: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
xi
— ボクセルの x 座標
数値スカラー | 数値ベクトル
ワールド座標系におけるボクセルの x 座標。数値スカラーまたは数値ベクトルとして指定します。
データ型: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
yi
— ボクセルの y 座標
数値スカラー | 数値ベクトル
ワールド座標系におけるボクセルの y 座標。数値スカラーまたは数値ベクトルとして指定します。
データ型: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
zi
— ボクセルの z 座標
数値スカラー | 数値ベクトル
ワールド座標系におけるボクセルの z 座標。数値スカラーまたは数値ベクトルとして指定します。
データ型: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
出力引数
バージョン履歴
R2017b で導入
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)