importing an image into a variable from database

 채택된 답변

KSSV
KSSV 2017년 6월 5일

1 개 추천

[filename, pathname] = ...
uigetfile({'*.jpg';'*.png';'*.tif';'*.bmp'},'File Selector'); % Include your extension
I = imread([pathname,filesep,filename]) ; % REad the file
imshow(I) ; % display the file

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기

질문:

hp
2017년 6월 4일

댓글:

hp
2017년 6월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by