Convert Grayscale image to XYZ file..
조회 수: 5 (최근 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에서 Modify Image Colors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!