CN105468985B - 秘密图像分割保护方法 - Google Patents

秘密图像分割保护方法 Download PDF

Info

Publication number
CN105468985B
CN105468985B CN201510864202.5A CN201510864202A CN105468985B CN 105468985 B CN105468985 B CN 105468985B CN 201510864202 A CN201510864202 A CN 201510864202A CN 105468985 B CN105468985 B CN 105468985B
Authority
CN
China
Prior art keywords
image
picture
shadow
secret
matrix
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510864202.5A
Other languages
English (en)
Other versions
CN105468985A (zh
Inventor
刘忆宁
赵曦
钟婍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guilin University of Electronic Technology
Original Assignee
Guilin University of Electronic Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guilin University of Electronic Technology filed Critical Guilin University of Electronic Technology
Priority to CN201510864202.5A priority Critical patent/CN105468985B/zh
Publication of CN105468985A publication Critical patent/CN105468985A/zh
Application granted granted Critical
Publication of CN105468985B publication Critical patent/CN105468985B/zh
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Technology Law (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种秘密图像分割保护方法。当一张图片因为含有秘密需要保护,为了避免存放在某一个地方造成泄漏(遗失或被窃),图片拥有者可以将原图片彻底销毁,销毁之前将其分成3份影子图片,单独从每份影子图片中都无法看到原图片内容,需要恢复原图片时,只需要其中的任意两份影子图片就可以无失真地恢复出原图片。本发明可以很好的保护个人的图片隐私或其它方面的图像秘密,即使不慎丢失秘密图像的影子图片,也不会丢失任何信息,起到很好的保密作用。

Description

秘密图像分割保护方法
技术领域
本发明涉及信息安全技术领域,具体涉及一种秘密图像分割保护方法。
背景技术
便携式照相设备的普及给我们的生活带来了极大的便利,特别是当这些照相设备与通信设备的结合,比如智能手机,使我们可以随时随地拍照记录重要场景并分享到社交网络。但是一些图像的分享可能会给我们的生活带来很大的麻烦,比如医疗图像,工程设计图纸,甚至是军事卫星图像,它们有的涉及个人隐私、商业机密、甚至是国家安全,一旦泄露后果不堪设想。目前的图像加密方法可以解决这一问题,但它们大都操作复杂,而且用户需要记住下对应的解密密钥。随着用户保密文件增多,用户需要记住的密钥也就随之增加,换句话说,为了保证秘密文件的安全,用户还需要一个好的密钥管理方法。
发明内容
本发明提供一种不需要加密的图片保护方法。当一张图片因为含有秘密需要保护,为了避免存放在某一个地方造成泄漏(遗失或被窃),图片拥有者可以将原图片彻底销毁,销毁之前将其分成3份影子图片,单独从每份影子图片中都无法看到原图片内容,需要恢复原图片时,只需要其中的任意两份影子图片就可以无失真地恢复出原图片。本发明可以很好的保护个人的图片隐私或其它方面的图像秘密,即使不慎丢失秘密图像的影子图片,也不会丢失任何信息,起到很好的保密作用。
本发明的技术方案包括矩阵分解部分、影子图像生成部分以及秘密图像合成部分。
一.矩阵分解部分:
从数字图片上来说,图片的本质就是一个矩阵。
第一步:首先选择一张秘密图像S,定义这个秘密图像S的灰度级图像矩阵为Sm×n,把它的灰度值shk分成两个等量的灰度值ahk和bhk,即shk=ahk||bhk;其中:shk占8bits,ahk和bhk分别都占4bits;ahk∈[0,15];bhk∈[0,15];1≤h≤m,1≤k≤n,m和n是自然数,||表示合成。
第二步:构建A和B两个矩阵,它们的维度和Sm×n的维度相同,ahk和bhk分别是矩阵A和矩阵B的元素。
二.影子图像生成部分:
第一步:为了实现秘密图像的无失真恢复,根据图像像素值的特点(像素值在0-255之间),随机生成一个素数p,而p的最大值不能超过255。此外根据在伽罗华域中的拉格朗日插值算法,系数ahk、bhk和使用者选择的参数xi不能比所选择的随机素数p大。对于秘密图像S的像素值,构造一个公共的函数fhk(x)=(ahk+bhkx)modp;其中:16﹤p﹤255,p≥ahk,p≥bhk
第二步:从函数fhk(x)中获取三个不同像素值影子图像S1、S2和S3,S1={fhk(x1)},S2={fhk(x2)},S3={fhk(x3)};x1,x2,x3∈GF(p)。
第三步:把原来的秘密图像销毁掉,并且把从秘密图像分离出来的三个影子图像分别保存在电脑上、手机上或者云端。
三.秘密图像合成部分:
使用者要想恢复出原始的秘密图像,必须要在之前分解出的三个影子图像中随机选两个出来。
第一步:从保存的影子图像中任意选出两张影子图像Si和Sj;i,j∈{1,2,3}。
第二步:构建恢复函数:
第三步::用a′hk和b′hk进行合成操作,得到s′hk=a′hk||b′hk,在S'中保存每个像素S′hk,最后这个新的秘密图像S'就被生成出来。
具体实施方式
下面通过一个具体的实施例来描述本发明以及获得的效果。
一.矩阵分解:
对于一个4×4的秘密图像矩阵S,我们把它用二进制的形式表示出来:
接下来把灰度值shk分成两个相等的灰度值ahk和bhk,即shk=ahk||bhk,最后我们成功的把矩阵A和矩阵B从秘密图像矩阵S中分离出来:
二.影子图像生成:
构造公共函数:
f11(x)=13mod17;
f12(x)=(10+x)mod17;
f13(x)=(15+5x)mod17;
fhk(x)=(ahk+bhkx)mod17;
f44(x)=(2+4x)mod17;
1≤h≤4;1≤k≤4;ahk∈A;bhk∈B。
接下来计算并生成影子图像:
三.秘密图像合成:
选择两个影子图像S1和S2,并且对它们进行合成操作:
a′11=[16×13+2×13]mod17=13mod17;
a′12=[16×12+2×11]mod17=10mod17;
a′hk=[16×fhk(2)+2×fhk(1)]mod17;
a′44=[16×10+2×6]mod17=2mod17;
b′11=[16×13+13]mod17=0mod17;
b′12=[16×11+12]mod17=1mod17;
b′hk=[16×fhk(1)+fhk(2)]mod17;
b′44=[16×6+10]mod17=4mod17;
fhk(1)∈S1;fhk(2)∈S2;即:
最后,秘密图像被生成:

Claims (2)

1.一种秘密图像分割保护方法,所述方法包括图像矩阵分解步骤和影子图像生成步骤;所述图像矩阵分解步骤包括:
(1)定义秘密图像S的灰度级图像矩阵为Sm×n,灰度值为shk,并把shk分成两个等量的灰度值ahk和bhk,即shk=ahk||bhk;其中:shk占8bits,ahk和bhk分别都占4bits;ahk∈[0,15];bhk∈[0,15];1≤h≤m;1≤k≤n;m和n是自然数;符号||表示合成;
(2)构建A和B两个矩阵,它们的维度和Sm×n的维度相同,ahk和bhk分别是矩阵A和矩阵B的元素;
所述影子图像生成步骤包括:
(1)根据图像像素值的特点随机生成一个素数p,构造一个公共的函数fhk(x)=(ahk+bhkx)mod p;其中:16﹤p﹤255;p≥ahk,p≥bhk
(2)从函数fhk(x)中获取三个不同像素值影子图像S1、S2和S3,S1={fhk(x1)},S2={fhk(x2)},S3={fhk(x3)};x1,x2,x3∈GF(p);
(3)销毁原来的秘密图像,并且把从秘密图像分离出来的三张影子图像S1、S2和S3分别保存在不同的存储端。
2.根据权利要求1所述的方法,所述方法还包括图像合成步骤,所述图像合成步骤包括:
(1)从保存的影子图像中任意选出两张影子图像Si和Sj;i,j∈{1,2,3};
(2)构建恢复函数:
(3)用a′hk和b′hk进行合成操作,得到s′hk=a′hk||b′hk;在S′中保存每个像素S′hk,生成新的秘密图像S′。
CN201510864202.5A 2015-12-01 2015-12-01 秘密图像分割保护方法 Expired - Fee Related CN105468985B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510864202.5A CN105468985B (zh) 2015-12-01 2015-12-01 秘密图像分割保护方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510864202.5A CN105468985B (zh) 2015-12-01 2015-12-01 秘密图像分割保护方法

Publications (2)

Publication Number Publication Date
CN105468985A CN105468985A (zh) 2016-04-06
CN105468985B true CN105468985B (zh) 2018-07-03

Family

ID=55606670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510864202.5A Expired - Fee Related CN105468985B (zh) 2015-12-01 2015-12-01 秘密图像分割保护方法

Country Status (1)

Country Link
CN (1) CN105468985B (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2238168A1 (es) * 2003-12-10 2005-08-16 Consejo Sup. Investig. Cientificas Procedimiento y dispositivo para dividir de forma secreta, compartir y recuperar imagenes.
CN102426690A (zh) * 2011-07-30 2012-04-25 成都信息工程学院 一种数字图像秘密分享及恢复方法
CN103226802A (zh) * 2013-03-26 2013-07-31 中南大学 基于混沌加密的医学图像共享方法
CN103414839A (zh) * 2013-07-25 2013-11-27 太原科技大学 一种分级-分组的秘密图像共享方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2238168A1 (es) * 2003-12-10 2005-08-16 Consejo Sup. Investig. Cientificas Procedimiento y dispositivo para dividir de forma secreta, compartir y recuperar imagenes.
CN102426690A (zh) * 2011-07-30 2012-04-25 成都信息工程学院 一种数字图像秘密分享及恢复方法
CN103226802A (zh) * 2013-03-26 2013-07-31 中南大学 基于混沌加密的医学图像共享方法
CN103414839A (zh) * 2013-07-25 2013-11-27 太原科技大学 一种分级-分组的秘密图像共享方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于拉格朗日插值多项式的彩色图像分存方案;陈桂强等;《计算机测量与控制》;20080725;第16卷(第7期);全文 *

Also Published As

Publication number Publication date
CN105468985A (zh) 2016-04-06

Similar Documents

Publication Publication Date Title
Wu et al. A user-friendly secret image sharing scheme with reversible steganography based on cellular automata
CN105426709B (zh) 基于jpeg图像信息隐藏的私密信息通信方法与系统
Zheng et al. Lossless data hiding algorithm for encrypted images with high capacity
Bansod et al. Modified BPCS steganography using Hybrid cryptography for improving data embedding capacity
Chanu et al. A survey paper on secret image sharing schemes
CN107392970B (zh) 一种基于位平面和高维混沌系统的数字图像加密方法
CN103226802A (zh) 基于混沌加密的医学图像共享方法
Ou et al. Reversible AMBTC-based secret sharing scheme with abilities of two decryptions
CN105468985B (zh) 秘密图像分割保护方法
Deshmukh et al. Multi-share crypt-stego authentication system
Abed A proposed encoding and hiding text in an image by using fractal image compression
Jarali et al. Unique LSB compression data hiding method
Hu et al. Reversible secret image sharing with steganography and dynamic embedding
Liu et al. A novel image protection scheme using bit-plane compression and secret sharing
Kester et al. A hybrid image cryptographic and spatial digital watermarking encryption technique for security and authentication of digital images
Salehi et al. An investigation on image secret sharing
Ulutas et al. Secret image sharing with reversible capabilities
CN114612317B (zh) 一种用于对抗均值滤波的秘密图像分享方法和系统
Chandra et al. Secure transmission of data using image steganography
Rao et al. Visual cryptography for image privacy protection using diverse image media
Chang et al. Secret image sharing with reversible steganography
Das et al. A Two layer secure image encryption technique
Chouksey et al. Enhanced Visual Cryptography for Color Images using Error Diffusion based AES Encryption.
Bala et al. Security enhancement using a modified AES algorithm
Rahangdale et al. A Survey on Secure Data in Encrypted Images

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180703