how to convert image to 32-bit-data

Hi I use Matlab to convert image to hex ,I can get the fig 1(8 bit data)however ,I can't genetate the data like fig2(32 bit data) . Can you please give me some advises on how to deal with it or give me a example.
fig 2
fig 1

4 件のコメント

Rik
Rik 2018 年 11 月 7 日
So you want to print a list of values to a txt file? Like fprintf(fid,'0x%06X\n') ?
Zhiyuan Wang
Zhiyuan Wang 2018 年 11 月 7 日
no .%06 or %08,is not the solution,I tried it ,but failed ,it's not work.You can see the result in the below picture.
Rik
Rik 2018 年 11 月 7 日
You're not making it easy for other people to help you. We can do a lot with Matlab, but mind reading is not yet supported. You'll have to explain what your goal is, what your input data is and how your output should look. I have no idea how you are converting a list of values in something that looks like a C syntax to an image on your screen. If you don't explain these things I can only provide very basic help.
Zhiyuan Wang
Zhiyuan Wang 2018 年 11 月 9 日
編集済み: Zhiyuan Wang 2018 年 11 月 9 日
The Matlab's input is image and I hope the output are the 32 bits data,I mean convert images to 32 bits data by matlab.The 32 bits data likes the fig2 shows. @Rik Wisselink.Then I can use the 32 bits data in Xilinx zc706 evaluation board,and the 32 bits data can be recognized by the zc706 board and display the image in screen.

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

 採用された回答

Zhiyuan Wang
Zhiyuan Wang 2018 年 11 月 7 日

0 投票

Thanks .perhaps it's a wrong direction.I should modify my program rather than entangled in convert image to he by Matlab

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeConvert Image Type についてさらに検索

製品

リリース

R2016a

質問済み:

2018 年 11 月 7 日

編集済み:

2018 年 11 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by