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!