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
shadow
secret
picture
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.)
Active
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
Active 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 秘密图像分割保护方法 Active 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 Active 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. Adopting secret sharing for reversible data hiding in encrypted images
CN104052658B (zh) 一种基于社交网络的隐私保护系统及方法
Zheng et al. Lossless data hiding algorithm for encrypted images with high capacity
KR101829267B1 (ko) 암호문의 크기가 감소되는 동형 암호화 방법
CN107392970B (zh) 一种基于位平面和高维混沌系统的数字图像加密方法
CN112040086B (zh) 一种图像加密、解密方法及装置、设备和可读存储介质
Chanu et al. A survey paper on secret image sharing schemes
CN104657494A (zh) 一种网站数据库访问方法
CN105447404A (zh) 一种云存储中图像隐私保护的方法及系统
CN104660705A (zh) 一种网站数据库后台处理方法
CN107484161A (zh) 一种基于移动自组网络的信息高效推送与安全分享方法
CN110460442B (zh) 一种基于格的密钥封装方法
CN105468985B (zh) 秘密图像分割保护方法
CN104660704B (zh) 一种网站用户数据处理方法
Geethanjali et al. Enhanced data encryption in IOT using ECC cryptography and LSB steganography
Deshmukh et al. Multi-share crypt-stego authentication system
Kandar et al. Variable length key based visual cryptography scheme for color image using random number
Ranjan et al. Advanced system to protect and shared cloud storage data using multilayer steganography and cryptography
Vichare et al. Data security using authenticated encryption and decryption algorithm for Android phones
Ebrahim et al. Hybrid model for cloud data security using steganography
Liu et al. A novel image protection scheme using bit-plane compression and secret sharing
Thakkar et al. Video steganography using encrypted payload for satellite communication
Kester et al. A hybrid image cryptographic and spatial digital watermarking encryption technique for security and authentication of digital images
Rao et al. Visual cryptography for image privacy protection using diverse image media
Parihar et al. Efficient Single Secret Image Sharing in Resource-Constrained Environment using Counting-Based Secret Sharing over Cloud

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