Convert Grayscale image to XYZ file..
2 次查看(过去 30 天)
显示 更早的评论
How i can convert a GrayScale image to XYZ file ?
0 个评论
回答(2 个)
Image Analyst
2013-4-11
You have row, columns, and at every (row, column) (= (y, x)) location you have a gray level. What are you referring to as "Z"? What does your Z represent? Gray level? If so, then the image array is already what you want. Or were you looking to display the image with surf()?
6 个评论
Image Analyst
2019-4-18
See my attached code. It produces a CSV text file with x,y,gray level.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!