Blame view

main.py 344 Bytes
b69b6985   Chunk   py module refract...
1
2
__author__ = 'chunk'

c6c61f81   Chunk   staged.
3
4
from mjpeg import *

b69b6985   Chunk   py module refract...
5
6
7
8
from msteg import *
from msteg.steganography import *
from  msteg.steganalysis import *

c6c61f81   Chunk   staged.
9
10
11
12
13
14
15
16
17
18
19
f3test = F4.F4(1)
print f3test.get_key()

ima = Jpeg("res/test3.jpg", key=sample_key)

ciq = ima.coef_arrays[colorMap['Y']]

mpbSteg = MPB.MPB()
tpm = mpbSteg.get_trans_prob_mat(ciq)

print tpm
b69b6985   Chunk   py module refract...
20
21

print sample_key