フェレ径(イメージ領域)の可視化
Ältere Kommentare anzeigen
二値化画像から取得したフェレ径について、どの部分を計算しているのか確認したいです。
二値化画像に重ね合わせる形で、フェレ径の線分を表示させる方法を教えていただきたいです。
コードは以下の通りです。
I = imread("image.jpg");
% 2値化
level = graythresh (I);
BW = imbinarize(I,level);
BW1 = imfill(BW,'holes'); % オブジェクトの塗り潰し
Label = bwlabel(BW1,4); % ラベリング処理
prop = regionprops(Label,'MaxferetProperties'); % フェレ径情報の取得
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu イメージのセグメンテーション finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
