ヘルプ センターヘルプ センター
このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
点オブジェクトが空かどうかの判別
isempty(points)
例
isempty(points) は、点オブジェクトが空の場合に true の値を返します。
points
true
すべて折りたたむ
イメージを読み取ります。
I = imread('cameraman.tif');
イメージから KAZE 点を検出します。
points = detectKAZEFeatures(I);
点をチェックします。
if isempty(points) return; end
検出された点から KAZE 特徴を抽出します。
[features,validPoints] = extractFeatures(I,points);
最も強い 10 個の有効な抽出点をプロットし、その向きを表示します。
imshow(I) hold on strongestPoints = selectStrongest(validPoints,10); plot(strongestPoints,'showOrientation',true) hold off
点オブジェクト。特徴点のタイプで説明されている特徴点オブジェクトの 1 つとして指定します。このオブジェクトには、入力イメージで検出された特徴点に関する情報が含まれます。点を取得するには、特徴点のタイプと対になる適切な検出関数を使用します。
R2017b で導入
detectKAZEFeatures
detectBRISKFeatures
detectFASTFeatures
detectMinEigenFeatures
detectHarrisFeatures
detectORBFeatures
detectSIFTFeatures
extractFeatures
matchFeatures
detectSURFFeatures
MSERRegions
SURFPoints
BRISKPoints
KAZEPoints
cornerPoints
ORBPoints
SIFTPoints
次の 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