Professional Documents
Culture Documents
30
.
T.M. Shah,Professor/Chair Department of Mathematics, Air
University,Islamabad,Pakistan(email:dr.tasneem@mail.au.edu.pk )
Mahwish Bano, Assistant professor, Air University, Islamabad,
Pakistan (email: mahwish@mail.au.edu.pk)
S. Malik, Assistant professor,Air University,Islamabad,
Pakistan(email:malikshary@yahoo.com)
IJENS
31
IJENS
32
MarkRandom (integer image_startX, integer image_startY, integer image_endX, integer imageEndY, integer randomFunctionSeed,
binary binaryText): Locations
1. {
2. Locations randomMarkedLocations
3. binTextLength = binaryText. getLength()
4. initializeRANDOM(randomFunctionSeed, binaryTextLength, image_endX image_startX * image_endY image_startY, )
5. integer ranNum = nextRANDOM()
6. image_startX + newX = MOD(ranNum, image_endX image_startX)
7. image_startY + newY = DIV(ranNum, image_endX image_startX)
8 randomMarkedLocations.add(newX, newY)
9. return randomMarkedLocations
10. }
Fig. 2 Algorithm for Random Location Marking
IJENS
(x-1,y-1)
(x-1,y)
(x-1,y+1)
(x,y-1)
(x,y)
(x,y+1)
(x+1,y-1)
(x+1,y)
(x+1,y+1)
33
IJENS
34
TABLE 1
RESULTS OF EMBEDDING USING DIFFERENT METHODS
Method
Image Size
Message Size
Capacity (bits
False
Artifacts
RMS
PSNR
4 LSB Method
Lees Method [2]
Maliks Method [1]
Proposed Method
(bytes)
9480x3
9480x3
9480x3
9480x3
(bytes)
14220
14298
10604
14270
per pixel)
50%
51%
41%
51%
Contour
Yes
No
No
No
Yes
Yes
No
No
3.52
3.15
2.18
2.50
40.63
41.88
43.10
42.30
IJENS
35
IJENS