How can I use Delaunay Triangulation on points of an existing image, avoiding creating a separate graph?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
Réponses (2)
Mohammad Bhat
le 25 Nov 2017
How can I get Adjacency matrix or Graph from Delaunay Triangulation??
0 commentaires
Voir également
Catégories
En savoir plus sur Delaunay Triangulation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!