Convert xlsx to jpg

2 Ansichten (letzte 30 Tage)
Abbass SAYEGH
Abbass SAYEGH am 26 Jun. 2020
Kommentiert: Image Analyst am 29 Jun. 2020
Hello everyone,
I work on a project matlab for my company and i need help.
I want to know if it's possible on matlab to convert an xlsx file to image ?
if it's possibe, how can i do that.
Thank you!

Antworten (1)

Image Analyst
Image Analyst am 26 Jun. 2020
Yes. Try readmatrix
myImage = readmatrix('my image.xlsx');
imshow(myImage);
If that doesn't work, try xlsread() or attach your workbook.
  5 Kommentare
Abbass SAYEGH
Abbass SAYEGH am 29 Jun. 2020
Hello everyone,
In my picture i want to display the values of : R, G, and B.
When i have my picture, i want to display theses values maybe on the picture or on the terminal
Can someone help me ?
Thanks!
Image Analyst
Image Analyst am 29 Jun. 2020
right after you call imshow(), call impixelinfo()
hp = impixelinfo;
If you want to reposition it, you can use
hp.Units = 'normalized';
hp.Position = [x, y, .2, .03]; % All values in the range 0-1.

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by