how to write a matlab code to convert hexformat into decimal format of a colour image.The image resolution is 320X430.Please help me....
显示 更早的评论
Thanks
5 个评论
Image Analyst
2012-9-6
What does this have to do with an image? How is your number in either format? Numbers are all in binary, unless you print them out as a character string to a file or the command window or somehow convert them to a string in another way. For example, 10 in decimal is A in hex but, no matter how you display it (as decimal or hex), in the computer it's 1010 (binary). Please give an example.
Tinkul
2012-9-7
Image Analyst
2012-9-7
I don't know what that kit is. Do you have the numbers in a variable? If so, tell us what
whos yourVariableName
reports back in the command window. And tell us what
sprintf('%d ', yourVariableName);
does.
Tinkul
2012-9-7
Image Analyst
2012-9-7
But you didn't do what I asked. Are those letters in a string variable? Can you do "whos" on it?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!