
计 算 机 研 究 与 发 展
DOI
:
10.7544∕issn1000G1239.2021.20200172
JournalofCom
p
uterResearchandDevelo
p
ment 58
(
6
):
1340 1350
,
2021
收稿日期
:
2020
-
03
-
17
;
修回日期
:
2020
-
07
-
24
基金项目
:
国家自然科学基金项目
(
61872303
,
U1936113
);
四川省科技厅科技创新人才计划项目
(
2018RZ0143
)
Thisworkwassu
pp
ortedb
y
the NationalNaturalScienceFoundationofChina
(
61872303
,
U1936113
)
andtheScienceand
Technolo
gy
InnovationTalentsPro
g
ramofSichuanScienceandTechnolo
gy
De
p
artment
(
2018RZ0143
)
.
通信作者
:
陈帆
(
fchen@ sw
j
tu.edu.cn
)
基于预测误差自适应编码的图像加密可逆数据隐藏
杨 尧 林
1
和 红 杰
1
陈
帆
1
原 长 琦
2
1
(
西南交通大学信息科学与技术学院
成都
611756
)
2
(
北京电子技术应用研究所
北京
100091
)
(
y
l
y
an
g
wr@foxmail.com
)
ReversibleDataHidin
g
ofIma
g
eEncr
yp
tionBasedonPredictionErrorAda
p
tive
Codin
g
Yan
g
Yaolin
1
,
HeHon
gj
ie
1
,
ChenFan
1
,
andYuanChan
gq
i
2
1
(
Colle
g
eo
f
In
f
ormationScienceandTechnolo
gy
,
SouthwestJiaoton
g
Universit
y
,
Chen
g
du
611756
)
2
(
Bei
j
in
g
Instituteo
f
ElectronicsTechnolo
gy
andA
pp
lication
,
Bei
j
in
g
100091
)
Abstract Forthesecurit
yp
roblemofexistin
g
schemesintheima
g
eencr
yp
tion
,
andthe
p
roblemof
lowcom
p
ressiondueto
p
oorcodin
g
,
this
p
a
p
er
p
ro
p
osesareversibledatahidin
g
al
g
orithmofima
g
e
encr
yp
tionbased on
p
rediction errorada
p
tivecodin
g
.Intheima
g
eencr
yp
tion sta
g
e
,
anima
g
e
encr
yp
tional
g
orithm based onerror maintenanceisdesi
g
ned.First
,
block scramblin
g
and
p
ixel
modulationencr
yp
tionare
p
erformedon3×3ima
g
eblocks
,
andthennonGcenter
p
ixelsare
g
rou
p
ed
andscrambledaccordin
g
tothecentral
p
ixelvalueoftheima
g
eblock.Inthedataembeddin
g
sta
g
e
,
ada
p
tivecodin
g
is based on the
p
rediction error distribution oftheima
g
e
,
after markin
g
and
classif
y
in
g
the
p
ixels withthecodin
g
table
,
andthecodin
g
tableandadditionaldataarehidden
to
g
etherintheencr
yp
tedima
g
eto
g
enerateamarkedencr
yp
tedima
g
e.Theex
p
erimentalresultsshow
that
g
rou
p
scramblin
g
o
p
erationintheencr
yp
tion
p
haseincreasesthenumberofei
g
envaluedifference
blocksbetweentheori
g
inalima
g
eandtheencr
yp
tedima
g
e
,
makesitdifficulttodeterminethe
corres
p
ondencebetweentheima
g
eblocksintheima
g
ebeforeandafterencr
yp
tion
,
im
p
rovesthe
securit
y
oftheencr
yp
tedima
g
e
,
andkee
p
stheoverall
p
redictionerrordistributionoftheima
g
e.
Com
p
aredwithstateGofGtheGartal
g
orithms
,
theavera
g
eembeddin
g
ratecanbeim
p
rovedb
y
morethan
0.49b
pp
,
theadditionaldatacanbeextractedlosslessl
y
andtheori
g
inalima
g
ecanberestored.
Ke
y
words reversibledatahidin
g
;
errormaintenanceencr
yp
tion
;
g
rou
p
scramblin
g
;
ada
p
tivecodin
g
;
p
rivac
yp
rotection
摘
要
针对现有算法中加密图像存在安全隐患
,
及选用编码不 佳导致 图像压 缩率较 低的问 题
,
提出了
一种基于预测误差自适应编码的图像加密可逆数据隐藏算法
.
图像加密阶段
,
设计了一种基于误差维持
的图像加密算法
,
首先对
3×3
的图像块做块间置乱和像素调制加密
,
然后根据 图像块 中心像 素值将 非
中心像素分组置乱
.
数据嵌入阶段
,
根据图 像自身 预测误 差分布 自适应 编码
,
使用编 码表对 像素进 行标
记分类后
,
将编码表与附 加 数 据 共 同 隐 藏 在 加密 图像 中生 成携 密加 密图 像
.
实 验 结 果表 明
:
加 密 阶 段
评论