How to input the image as input to the GUI.?

조회 수: 1 (최근 30일)
NAVEEN KUMAR
NAVEEN KUMAR 2017년 4월 24일
답변: Walter Roberson 2017년 4월 24일
How to input the image as input to the GUI.?

채택된 답변

Walter Roberson
Walter Roberson 2017년 4월 24일
[filename, pathname] = uigetfile('*.png', 'Select an image?');
if ~ischar(filename); return; end %user cancelled
filepath = fullfile(pathname, filename);
Img = imread(filepath);

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by