intersecting image with plane
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
andi shahaj
le 17 Mai 2017
Modifié(e) : John D'Errico
le 17 Mai 2017
I have used the "surf" function to turn a grayscale image into a surface where xy are the original xy coordinate of the image and z is the light intensity at that image. I want to find the curve where this surface intersects with a plane z=(some number). Ideally a function for this curve would be best, but the coordinates of all the pixels would work too. Anybody have an idea of how I can do this?
0 commentaires
Réponse acceptée
John D'Errico
le 17 Mai 2017
Modifié(e) : John D'Errico
le 17 Mai 2017
So you want to compute a level curve? Why would you not just use a contour plot to do that? If you want the curve itself as a polygonal path in the (x,y) plane, then:
help contourc
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots 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!