watermark op• 資料種類:image2d → phash
• 呼叫: import fullseye as fs; fs.ledger.watermark_extract(image, n_bits: 'int', wavelet: 'str' = 'haar', level: 'int' = 1) -> 'np.ndarray'(要直接呼叫實作,import imgforensics; imgforensics.watermark_extract(image, n_bits: 'int', wavelet: 'str' = 'haar', level: 'int' = 1) -> 'np.ndarray';從台帳取用則 opsimgforensics.get("watermark_extract"))
浮水印的盲提取。回傳一維 bool(phash 詞彙)。
只是以相同的 DWT / 區塊劃分讀取中頻帶係數對的大小。既不需要原影像也不需要金鑰 —— 這是完整性的標記而非保密,因為沒有金鑰,誰都能抹掉,誰都能寫入。不能用於主張所有權。
由於回傳的是 phash 詞彙,與嵌入的位元串的一致程度可以直接用 hash_distance 計數(BER = hash_distance(sent, got) / n_bits)。詞彙對齊正是為此。
必須有 PyWavelets(ImportError)。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者、年份)與用途見上面的族使用指南。
• image_forensics_audit — py -3.11 examples/image_forensics_audit.py
phash 作為輸入)hash_distance · watermark_embed · watermark_capacity
watermark)watermark_embed · watermark_capacity
*Provenance: imgforensics.py — IMGFORENSICS 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.