how to read two specific data from a folder?
조회 수: 1 (최근 30일)
이전 댓글 표시
dear all,
I want to read two images from a folder and draw their histogram.
I wondered if you wouid help me
댓글 수: 0
답변 (1개)
KALYAN ACHARJYA
2020년 10월 1일
편집: KALYAN ACHARJYA
2020년 10월 1일
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
KALYAN ACHARJYA
2020년 10월 1일
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);
참고 항목
카테고리
Help Center 및 File Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!