importing an image into a variable from database

조회 수: 2 (최근 30일)
hp
hp 2017년 6월 4일
댓글: hp 2017년 6월 5일
how to browse and import an image into a variable.?

채택된 답변

KSSV
KSSV 2017년 6월 5일
[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개)

카테고리

Help CenterFile Exchange에서 Database Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by