MATLAB Visualizations in ThingSpeak
Ältere Kommentare anzeigen
Hi,
My question is related to this example - https://www.mathworks.com/help/thingspeak/create-heatmap-overlay-image.html
It used an image stored in the web load it using the following command
picture = imread('https://www.mathworks.com/help/examples/thingspeak/win64/CreateHeatmapOverlayImageTSExample_02.png');
What is the most convenient way to host a custom image to use the imread() command. Can anyone explain it with steps.
3 Kommentare
Walter Roberson
am 16 Aug. 2020
Could you explain more about what you mean about "host a custom image" ?
If you mean that you want to be able set up an internet-accessible image that people can access, then that is not a MATLAB question. There are a lot of free web-hosting sites around.
Nipuna
am 16 Aug. 2020
Walter Roberson
am 17 Aug. 2020
It is possible to imread() a photo from Google Photos. However, the way to get the correct URL is obscure; the test I just did, the secret URL was over 800 characters of pretty random characters like P8PeurrnqmOMvBwVWkia-jeJQL6HPYz8boUvfvQ3GE
Antworten (1)
Vinod
am 17 Aug. 2020
1 Stimme
You can upload your files into your MATLAB Drive for sharing. It will require the user to log in to MATLAB Drive to access it. MATLAB can also save files into DropBox and read file out of DropBox programmatically using a dropbox token.
If you are looking for an alternative only for images - one that does not require a login, there are many options out there.
2 Kommentare
Nipuna
am 17 Aug. 2020
Vinod
am 17 Aug. 2020
I've used Imgur in the past successfully. The key there is to post the image, then right click on the image in the browser and select "copy image url" and use the image url in MATLAB. See:
img = imread('https://i.imgur.com/IEkjCYz.jpg');
imshow(img);
Communitys
Weitere Antworten in ThingSpeak Community
Kategorien
Mehr zu ThingSpeak 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!