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
  1 件のコメント
hp
hp 2017 年 6 月 5 日
Thank you so much.....

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDatabase Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by