how to write a matlab code to convert hexformat into decimal format of a colour image.The image resolution is 320X430.Please help me....
Show older comments
Thanks
5 Comments
Image Analyst
on 6 Sep 2012
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
on 7 Sep 2012
Image Analyst
on 7 Sep 2012
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
on 7 Sep 2012
Image Analyst
on 7 Sep 2012
But you didn't do what I asked. Are those letters in a string variable? Can you do "whos" on it?
Accepted Answer
More Answers (0)
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!