display image informations via gui using imfinfo
Show older comments
hello , i am tried to show (display) the informations of images wich i load them and applicate a defferents tests of denoising, i used a push-button and text-edit , button to display informations, so, for exemple i need to show the width:
function push-button_Callback(hObject, eventdata, handles) global image
info=imfinfo('image');
the-width=info.Width;
set(handles.text-edit,'string',the-width);
nothing appears and i get this errors
??? Error using ==> imfinfo at 96 Unable to open file "image" for reading.
Error in ==> app>info_Callback at 1741 info=imfinfo('image');
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> app at 42 gui_mainfcn(gui_State, varargin{:});
Error in ==> @(hObject,eventdata)app('info_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
Accepted Answer
More Answers (1)
matlab22
on 16 May 2014
0 votes
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!