intersecting image with plane
조회 수: 2 (최근 30일)
이전 댓글 표시
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
채택된 답변
John D'Errico
2017년 5월 17일
편집: John D'Errico
2017년 5월 17일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!