How can I use Delaunay Triangulation on points of an existing image, avoiding creating a separate graph?

1 回表示 (過去 30 日間)
I would like to use delaunay triangulation on extracted fingerprint minutiae image, not a separate graph showing delaunay triangulation. I have searched on Matlab's answer database and have only been able to find a similar question asked in 2010, however an answer was never provided http://www.mathworks.com/matlabcentral/newsreader/view_thread/296361#795895
Plotting over an image background as referenced by http://www.peteryu.ca/tutorials/matlab/plot_over_image_background, however this does not seem like a good solution for what I am trying to accomplish with delaunay triangulation over points of an existing image.
The relevant code within Matlab's R2015 version, displaying two separate figures is as follows:
%Show extracted minutiae within fingerprint
imshow(fpMinutiaePoints);title('Extracted Minutiae');
%Delaunay Triangulation for output minutiae points
DBT = delaunayTriangulation(minutiae_x, minutiae_y);
figure
triplot(DBT);
% Display the Vertex and Triangle labels on the plot
hold on
numtri = size(DBT,1);
trilabels = arrayfun(@(x) {sprintf('T%d', x)}, (1:numtri)');
Htl = text(ic(:,1), ic(:,2), trilabels, 'FontWeight', 'bold','HorizontalAlignment', 'center', 'Color', 'red');
hold off
I would like to combine these two figure outputs to be able to show the delaunay triangulation within the existing fpMinutiaePoints image and not a separate graph.
Any recommendation from those with experience in this area would be appreciated. Thank you.

回答 (2 件)

Walter Roberson
Walter Roberson 2015 年 7 月 17 日
Replace the
figure
with
hold on

Mohammad Bhat
Mohammad Bhat 2017 年 11 月 25 日
How can I get Adjacency matrix or Graph from Delaunay Triangulation??

カテゴリ

Help Center および File ExchangeDelaunay Triangulation についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by