fliptform
空間変換構造体の入力と出力の役割の反転
説明
例
空間変換構造体の反転
空間変換構造体を作成します。
T = maketform('affine', [.5 0 0; .5 2 0; 0 0 1])
T = struct with fields: ndims_in: 2 ndims_out: 2 forward_fcn: @fwd_affine inverse_fcn: @inv_affine tdata: [1×1 struct]
入力と出力の役割を反転させ、新しい空間変換構造体を作成します。
T2 = fliptform(T)
T2 = struct with fields: ndims_in: 2 ndims_out: 2 forward_fcn: @inv_affine inverse_fcn: @fwd_affine tdata: [1×1 struct]
空間変換構造体を反転させた後は、次のステートメントは等価になります。
x = tformfwd([-3 7],T) x = tforminv([-3 7],T2)
x = 2 14 x = 2 14
入力引数
T
— 空間変換
TFORM
空間変換構造体
空間変換。TFORM
空間変換構造体として指定します。
データ型: struct
出力引数
tflip
— 反転した空間変換
TFORM
空間変換構造体
反転した空間変換。TFORM
空間変換構造体として返されます。
拡張機能
スレッドベースの環境
MATLAB® の backgroundPool
を使用してバックグラウンドでコードを実行するか、Parallel Computing Toolbox™ の ThreadPool
を使用してコードを高速化します。
この関数は、スレッドベースの環境を完全にサポートします。詳細については、スレッドベースの環境での MATLAB 関数の実行を参照してください。
バージョン履歴
R2006a より前に導入R2021b: スレッドベース環境のサポート
fliptform
は、スレッドベースの環境をサポートするようになりました。
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)