91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2KB
    文件類型: .py
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-01-06
  • 語言: Python
  • 標(biāo)簽: python??LSBR??

資源簡介

對隱藏的圖片矩陣的隱藏那一層對應(yīng)的二維矩陣進(jìn)行左移四位操作,得到對應(yīng)提取圖像的矩陣,進(jìn)行矩陣轉(zhuǎn)化為對應(yīng)圖片輸出。

資源截圖

代碼片段和文件信息

#Writen?by??Liuchang
from?PIL?import?Image
import?numpy?as?np
import?matplotlib.pyplot?as?plt
import?matplotlib.image?as?mpimg

def?secretCover(count):
????cover?=?Image.open(‘C:/Users/user/Desktop/picture1.bmp‘)
????secret?=?Image.open(‘C:/Users/user/Desktop/picture2.bmp‘)
????secretCopy?=?Image.open(‘C:/Users/user/Desktop/picture2.bmp‘).convert(‘L‘)
????secretMatrix?=?np.array(secretCopy)
????coverMatrix?=?np.array(cover)

????row?col?=?secretMatrix.shape
????for?i?in?range(row?-?1):
?????????for?j?in?range(col?-?1):
?????????????coverMatrix[i?j?count]?=?coverMatrix[i?j?count]?&?240
?????????????secretMatrix[i?j]?=?secretMatrix[i?j]?>>?4
?????????????coverMatrix[i?j?count]?=?coverMatrix[i?j?count]?|?secretMatrix[i?j]
???

評論

共有 條評論