def read_pgm(filename):
img1 = cv2.imread(filename, cv2.CV_LOAD_IMAGE_GRAYSCALE)
h, w = img1.shape[:2]
vis0 = np.zeros((h,w), np.float32)
vis0[:h, :w] = img1
return vis0
#This method is used to read cover and stego images.
#We consider that stego images can be steganographied with differents keys (in practice this seems to be inefficient...)
conv_stego20.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录