Script image.m
Download Script image.m
%----------------------------------------------------------
%DATA PROPERTIES n.3 M.file:image.m
%----------------------------------------------------------
%%
% An image of size 960x1280x3 and class uint8
%
[x1]=imread('Owl.png');

n1=size(x1) %n1 has size 1x3 and class double

% info1 is an array of size 1x1, class struct with 38 fields
info1=imfinfo('Owl','png')
%
% IMAGE(x1) displays array x1 as an image
image(x1)
%
%Remove axis ticks and numbers
axis off
%square pixels are requested
axis image
%----------------------------------------------------------
Back