Professional Documents
Culture Documents
'C:\Users\Prakhar\Desktop\indexed23.tif'
'10-Feb-2015 11:49:04'
88566
'GIF'
'89a'
1
1
344
327
8
'indexed'
'GIF89a'
1
0
[256x3 double]
'no'
0
'DoNotspecify'
2] imfinfo('wall.jpg')
ans =
Filename:
FileModDate:
FileSize:
Format:
FormatVersion:
Width:
Height:
BitDepth:
ColorType:
FormatSignature:
NumberOfSamples:
CodingMethod:
CodingProcess:
Comment:
Orientation:
XResolution:
'C:\Users\Prakhar\Desktop\wall.jpg'
'20-Oct-2008 13:52:28'
184719
'jpg'
''
1024
768
24
'truecolor'
''
3
'Huffman'
'Sequential'
{}
1
72
YResolution:
ResolutionUnit:
Software:
DateTime:
YCbCrPositioning:
DigitalCamera:
ExifThumbnail:
72
'Inch'
'Adobe Photoshop CS2 Windows'
'2008:02:13 02:25:14'
'Centered'
[1x1 struct]
[1x1 struct]
Now, to know pixel information- we use command :g the image in figure windows.
size()
Eg.:-
>> size(f)
ans =
768
1024
impixel(w,220,40)
eg.:
ans =
162
162
162
IMAGE ARITHMETIC:-
use command :-
immultiply(image,pixelva
* multiplying with large pixel value will increase brightness in high amount .
.
eg. multiplying with 50 pixel value will make it a white image.
d] to divide an image we use comand :- imdivide(image,pixel value)
or
imdivide(image 1,image 2)