From: Sowmya on
Hi,
By using uigetfile() i m getting the browser window.. but how to give the image i selected as input to imread() function?
From: ImageAnalyst on
On Apr 26, 1:21 am, "Sowmya " <sowmya_...(a)yahoo.com> wrote:
> Hi,
>    By using uigetfile() i m getting the browser window.. but how to give the image i selected as input to imread() function?
---------------------------------------------
[baseFileName, folder] = uigetfile({'*.*'}, 'Select image file');
if baseFileName ~= 0
fullFileName = fullfile(folder, baseFileName);
imageArray = imread(fullFileName);
end