conv_stego20.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:steganalysis_with_CNN_and_SRM 作者: rcouturier 项目源码 文件源码
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...)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号