Professional Documents
Culture Documents
O Imread ('C:/Users/hp/Documents/lg2017110/kitten - JPG') Imshow (O)
O Imread ('C:/Users/hp/Documents/lg2017110/kitten - JPG') Imshow (O)
o=imread('C:\Users\hp\Documents\lg2017110\kitten.jpg');
>> imshow(o)
y=imagesc(o)
imgtool(o)
navigate
inspect pixel values
display image info
crop
measure
t=imfinfo('C:\Users\hp\Documents\lg2017110\kitten.jpg')
t=
Filename: 'C:\Users\hp\Documents\lg2017110\kitten.jpg'
FileSize: 187807
Format: 'jpg'
FormatVersion: ''
Width: 883
Height: 665
BitDepth: 24
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {}
[h,map]=rgb2ind(o,256);
>> imshow(h)
w=rgb2gray(o);
>> imshow(w)
>>
imcrop(o);
imcrop(o,[30,100,70,59]);