Professional Documents
Culture Documents
ARDNAMAN Affiliatod
UGC
to JNTUH, Approved (AUTONOMOUS)
by AICTE, Accredited by NAAC with
A++ Grade,
"Collage with Potontial for Excellence" and iSO
Kacharam, Shamshabad, Hyderabad- 5019001:2015
218
Certified
INDEX
Mr/Ms. SARAMP.ELLISRAVANI..
**** Roll Number.KoR&IA04A1
S. Date Title of the Page
No. Experiment Marks Sign. of the
No. Staff
InlzodasMKi
1 121]01l22 |1. READIell4, DIsPLAYING 1-51o ulo
aRITInG, 8AVIN6 AN IMAGE|
i1o 2 2 ARITHMETIC OPERATIONS -10
ON IMAGE
3 1&hol 3 BIT1SE0LERATOns D 1-15
LMAGES
4 251ol 2 |4-TMAGE RESIZNG AND 1-20Jo
LMAGE IKAs&FOKMS
5 u2 5: 3CALG, RATATLNG CHIETINgla-26|
AND EDGE DEIECTLON
VAADHAMAN COLLEGE OF ENGINEERING
(AUTONOMOUS)
Bhamehabad 601 218, Hyderabad,
Date
P'aye No
Exp. No.
Pytwww:
Pydwon pywlas proqrwwwiny damget vas testad by
wido Vaw lhsawwn, and tettnsed tw 1911
I 1 wed hur 1*wee devewpmen
11rTmaye rering
1 Aoftwu duvedopmen
|-prtw worM ow dhIteuu Matrne Uke wihdans, Mac, Ama,co
-s
of h wituly wsed pogramwng loynges t
Pwonis one
Compilw isim
GompwW nisim is akeld of atikaal
enablts întellienu (AI) tha
umpwlers and wystem to deutve meanwgwl ínávmoliow
Arow digstal images vidios Aohuy viswal fwu and tat
,
uukos oY Make
uewrnmendatsons based
-that fnormaw
on
H AI enables omplus tthink, Compwn
VMAn enabesthom
v see, obsne and wndeustamd.
Cowapwl isirn vonrks vwuth the same as hwmwwisim, vnup
wwwms hove av head vstuct -Nuvman
Trvage Hoasehg-
Image presefvg 3v o method to pesbvmad ome oralions
ow ow fwageSn oudix to T AW enhomad tmag t cortuaa
v6ome wePavdw naldvw an t.
t 1 s aype anal presig an whheh iwpwtis aw imags
and rwtpmay be mage o chanauesKis /tealmRes agscatn4
wttwa-thal fmago
Tmage cong bastally duehndes tha vtepstte
tods
1yTnpotw he moge vin hap anfostion
Sty-AnalysVy mapulam -he mag
Can be alt exed fmage y epot-hat
fity Outpur An whsdh emtt
9s based sw fmog amaly's
VARDHAMAN COUEGE OF ENGINEERING
(AUTONOMOUS)
Bhamehatusd 1 218, Hyderabad.
Date 2110alas
Pe No 1 AAl4, DISPLANIdG, WITnG, Anvalh Eng to 1
IMBGE
Mm- T sod, dttploy, voiT ond voe an mogy tw qyen cy weng
Python
unigod tethname
he
ti
The veond augunt an optrnol h a spesty
ven
wwthe imase udhwws be usraser4.Open c ojos
pukons tporvs tug, bet t ase most (wwwnm inude
v2-1MREAD-UlAslGed -1
yow waw
to swe-The w
The &evend angwmunu 9s The smage
is sowed Vctsll
km ns t the îmage
tSavin awImae:
ín [tilenawne,and then ueua
Inpta navme awe vseling
ave-The aikngs viu be vsowed toldes wnde petfed ram
#Rending M Image
# 4nwme = 'D: /3o%< A04A1/4owe aNP
ittm°hapet
Chownels îmg.shape [),
he hesqht,idtn, no-vf
channes n imag
Fprint
dhmend s)
print (1Image da mensivn,
Obsevwaliw
I m a g e dsmenssvms: (1a083)
rnage wídth: sv
swge o f channels:3
Image damensivmsfne wesowed Image: li2080,3)
130
Smage height of the Wesowed Image:
fmage wi ttw t h e wesowed image : 30 s
O
VARDHAMAN COLLEGE OF ENGINEERING
. (AUTONOMOUS)
Shamahabad 501 218, Hyderabad.
Page No. 5
Date 27 42
Exp. No. 4
Result
Hent we pexfmmed he lading, dNsplayng, wittn opeualim
On a fmage wr ponc by wing tython
Hen we genzkalod 4he oulgnal fmMayt wHh u wswel my
Gontwwsn
wow to ulad display
By 40w eapedmeuI hwe dtoaned
he ddmenaios o t h
wfusve am image X auo hao t gat
wwwge
/ulel
VARDHAMAN COLLEGE OF ENGINECRIN
(AUTONOMOUS)
Shamshalbad 501 218, Hyderabad,
Date 1u
Page No.6 KARITIMETIC OrERATIONS ON IMAGUp No .
Theony
(JGke adati, vwekaeWon md bswWse
wwmeo opeankons These
onn be applied 4» the mpt fmages.
wwwpWon, diwisto)
-he povpiies ofhefnpib
be helptul bw enhomtong
opeRoms w
wycs
AdaRWon Imge CVR* add().
Ths
wneion
We Cwn add two Tmaggs by ií
an-he tvoo Tmage
Mrualy adds up gmage pínuls
n6yntan-
cV2-addCmg4, fmy)
o
saeal vsvmv/witaidwon
-lne pnels is ot an
8 u t addAng
"Kemembes,
bvthwimajesvéhwuld be
-addvievawedC).
we ne tv)
e n l 41xe and
dept
&yntan cv2* naddvwelgvted ( 1wmqd, wta, wnga, wa,
1mwwnme).
Shamshabad
-
Mullipkalirn Imagc
nac 2)
cV2 muliply (nsc4,
yntan:-
eN2-dovidel dvcL,drca)
Kyntan
ENGINEERING
VARDHAMAN COLLEGE
OF
(AUTONOMOUS)
Shamshabad -
501 218, Hyderabad.
Date 11
Page No 8
Exp. No 2
Poq1am
i w p n t cVz
wpoiT nwwpy
s np
matplotsb-pylst
As
plb
SmpoiT
"= (o,10)
plt-TcPonams[uae-t size
JPg)
= cv2-imend ('p:/a0s8IAD4 A1/Euna9
m
# Reeiz am Imar
256)
m =
CV2 size (ima 4,(2 56,
# dispy
an
Image
p l t ubplot (a31)
Date 11 1D2
Page No. 1
Exp. No.
fmg3=(v.add (mg4,ima)
pt 4wbptot (2,3)
plt fmsmow (imqa)
pt-1mshmwCfmg )
plt-ste ("smbtraeorw")
|#mulipWcalim of twoimages
lîmga,ímga
Smqs cva muliply
p t wbpt (,3,5)
plt 1m&hov(Smg 5)
p t5 t e ('mwlipiatm")
|+Divefvm of twoimages
Gmgs (Va divide (ímaa, fmaa)
p 4wbplot (2,3,
p.imshow( îmgs)
pti (Vdivisiv"
0bsuoabiow:
(45-666, S0-031
72-631,0- b)
til6-13 139-157, 16296,0