Convert Grayscale image to XYZ file..
1 view (last 30 days)
Show older comments
How i can convert a GrayScale image to XYZ file ?
0 Comments
Answers (2)
Image Analyst
on 11 Apr 2013
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 Comments
Image Analyst
on 18 Apr 2019
See my attached code. It produces a CSV text file with x,y,gray level.
0 Comments
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!