how to write a matlab code to convert hexformat into decimal format of a colour image.The image resolution is 320X430.Please help me....
Mostrar comentarios más antiguos
Thanks
5 comentarios
Image Analyst
el 6 de Sept. de 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
el 7 de Sept. de 2012
Image Analyst
el 7 de Sept. de 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
el 7 de Sept. de 2012
Image Analyst
el 7 de Sept. de 2012
But you didn't do what I asked. Are those letters in a string variable? Can you do "whos" on it?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Convert Image Type en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!