how to write a matlab code to convert hexformat into decimal format of a colour image.The image resolution is 320X430.Please help me....
Ältere Kommentare anzeigen
Thanks
5 Kommentare
Image Analyst
am 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
am 7 Sep. 2012
Image Analyst
am 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
am 7 Sep. 2012
Image Analyst
am 7 Sep. 2012
But you didn't do what I asked. Are those letters in a string variable? Can you do "whos" on it?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!