フィルターのクリア

Convert Grayscale image to XYZ file..

6 ビュー (過去 30 日間)
George
George 2013 年 4 月 11 日
回答済み: Image Analyst 2019 年 4 月 18 日
How i can convert a GrayScale image to XYZ file ?

回答 (2 件)

Image Analyst
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 件のコメント
George
George 2013 年 6 月 5 日
編集済み: George 2013 年 6 月 5 日
Look at variable editor-points 'X' it stop to 255 not at 358 and 'Y' it stop to 255 not at 537. That's my problem. Thanks
HOSUNG LEE
HOSUNG LEE 2019 年 4 月 18 日
how can I get the Z coordinate form this code?

サインインしてコメントする。


Image Analyst
Image Analyst 2019 年 4 月 18 日
See my attached code. It produces a CSV text file with x,y,gray level.

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by