how to read two specific data from a folder?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
dear all,
I want to read two images from a folder and draw their histogram.
I wondered if you wouid help me
0 Commenti
Risposte (1)
KALYAN ACHARJYA
il 1 Ott 2020
Modificato: KALYAN ACHARJYA
il 1 Ott 2020
If both images are in current working directory, please mention the image names only(with extension like png,jpg)
im1=imread('Image 1 Path');
im2=imread('Image 2 Path');
figure,imhist(im1);
figure,imhist(im2);
4 Commenti
KALYAN ACHARJYA
il 1 Ott 2020
No need of separation, complete path of the images folder
im1=imread('Image_1_location_Path');
im2=imread('Image_2_location_Path');
figure,imhist(im1);
figure,imhist(im2);
Vedere anche
Categorie
Scopri di più su Read, Write, and Modify Image in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!