CN104077739A - Color image quick encryption method - Google Patents

Color image quick encryption method Download PDF

Info

Publication number
CN104077739A
CN104077739A CN201410313967.5A CN201410313967A CN104077739A CN 104077739 A CN104077739 A CN 104077739A CN 201410313967 A CN201410313967 A CN 201410313967A CN 104077739 A CN104077739 A CN 104077739A
Authority
CN
China
Prior art keywords
image
formula
encryption
gray
locate
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.)
Pending
Application number
CN201410313967.5A
Other languages
Chinese (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.)
Suzhou University
Original Assignee
Suzhou University
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 Suzhou University filed Critical Suzhou University
Priority to CN201410313967.5A priority Critical patent/CN104077739A/en
Publication of CN104077739A publication Critical patent/CN104077739A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Transmission Control (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The invention discloses a color image quick encryption method implemented on the basis of Arnold transform. The method includes the steps that an image is chunked according to the size of the image before encryption, then positions and gray levels of three primary color components of an image pixel are scrambled at the same time by means of Arnold transform to achieve encryption of the color image, and inverse transformation is carried out on transform in the preceding steps to decrypt the encrypted image. Through improvement of the prior art, the encryption effect is improved, encryption efficiency is improved, and the application range is widened.

Description

Coloured image fast encrypt method
Technical field
The present invention relates to a kind of digital signal encryption method, be specifically related to a kind of coloured image fast encrypt method.
Background technology
Coloured image, as a chief component of multi-medium data, in order to ensure its security in transmitting procedure, carry out reliable encryption.Current many cryptographic algorithm only limit to bianry image or gray level image.Color image data is compared with general text data, the degree of correlation of data message amount greatly and between data is high, ciphering process should consider that the change of subjective visual effect considers the change of correlativity between objective data again, and the operand of encryption is large, consuming time many; The color image encryption of transmission is required to have real-time, therefore the research of encryption efficiency is seemed to particularly important.
In recent years, a lot of articles have proposed the image encryption algorithm based on chaos system or hyperchaotic system, but they more the security of encrypting as: the aspects such as key space, pixel interdependence are improved and are analyzed, and have conventionally all ignored the efficiency of encryption system.In fact, because the generation of chaos sequence itself just needs considerable time, even if encrypt in only need scramble one time, total time also long.
Arnold conversion is simple owing to encrypting, without producing ciphering sequence, thus be a kind of conventional digital image inverse transformation encryption, but there is following shortcoming in it:
(1) conversion of the Arnold scramble of low-dimensional can not change the gray distribution features of pixel, and security is lower, and cipher round results is undesirable, and the Time Dependent encryption period of encrypting and deciphering, and speed is subject to the restriction in cycle;
(2) the intensity profile characteristic that can change pixel when the Arnold of higher-dimension converts, security is good, but the iteration cycle of the Arnold scramble of higher-dimension conversion is longer, and deciphering efficiency is low;
(3) shape of Arnold transfer pair image has requirement, and Arnold transform operation is only applicable to square formation, and this has also restricted the usable range of encryption system greatly.
Summary of the invention
Goal of the invention of the present invention is to provide a kind of coloured image fast encrypt method, by cipher round results that prior art has been improved, has improved encryption efficiency, has expanded the scope of application.
To achieve the above object of the invention, the technical solution used in the present invention is: a kind of coloured image fast encrypt method, based on Arnold, conversion realizes, and it is characterized in that, comprises the steps:
1) according to picture size, image is carried out to piecemeal processing;
2) utilize Arnold conversion simultaneously the position to three of image pixel primary color components and gray scale carry out scramble, complete the encryption of coloured image;
3) to step 2) in conversion carry out inverse transformation, complete the deciphering to encrypted image.
In technique scheme, in described step 1), establish length and the wide wm of being respectively and the wn of image, , image is divided into N piece, the size of every block of image is , wherein, , expression is got smallest positive integral, when encryption according to block encryption of order, if the curtailment wn of last piece supplies length wn with encrypted adjacent image.
In technique scheme, described step 2) in, the sampled data of establishing coloured image is a three-dimensional matrix w , w( x, y, 1), w( x, y, 2) and w( x, y, 3) denotation coordination be ( x,y) locate the gray-scale value of three primary color components of pixel, w '( x, y, 1), w '( x, y, 2) and w '( x, y, 3) represent the gray-scale value after changing, coordinate be ( x,y) locate pixel three primary color components value change after move to coordinate ( x ', y ') locate, as the formula (1):
(1)
In formula (1), position ( x,y) with ( x ', y ') between relation change according to formula (2); Gray-scale value wwith w 'between relation change according to formula (3):
(2)
(3)。
In technique scheme, in described step 3), when deciphering, coordinate be ( x ', y ') locate pixel three primary color components value change after move to coordinate place ( x,y) locate, as the formula (4), decrypting process is an inverse process of encrypting, and does not rely on transformation period,
(4)
In formula (4), ( x ', y ') with ( x,y) between position relationship carry out inverse conversion according to formula (5); Gray-scale value w 'with wbetween relation carry out inverse conversion according to formula (6):
(5)
(6)。
Because technique scheme is used, the present invention compared with prior art has following advantages:
1. the present invention adopts the method for block encryption, makes the shape of image no longer be confined to square, thereby has expanded the scope of application.
2. the present invention changes position and the gray-scale value of image pixel simultaneously, has improved the security of encrypting, and has improved cipher round results.
3. the present invention adopts improved inverse transformation to make decrypting process not rely on transformation period, thereby has improved deciphering efficiency.
Brief description of the drawings
Fig. 1 is process flow diagram of the present invention in embodiment mono-.
Fig. 2 is the design sketch that in embodiment bis-, a square-shaped image is encrypted and is deciphered.
Fig. 3 is cipher round results comparison diagram in embodiment bis-.
Fig. 4 is the intensity profile characteristic schematic diagram of image before and after encrypting in embodiment bis-.
Fig. 5 is the encryption and decryption schematic diagram to rectangle diagram picture in embodiment bis-.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described:
Embodiment mono-: shown in Figure 1, a kind of coloured image fast encrypt method, based on Arnold, conversion realizes, and comprises the steps:
1) according to picture size, image being carried out to piecemeal processes;
2) utilize Arnold conversion simultaneously the position to three of image pixel primary color components and gray scale carry out scramble, complete the encryption of coloured image;
3) conversion in step (2) is carried out to inverse transformation, complete the deciphering to encrypted image.
In the present embodiment, in described step 1), establish length and the wide wm of being respectively and the wn of image, , image is divided into N piece, the size of every block of image is , wherein, , expression is got smallest positive integral, when encryption according to block encryption of order, if the curtailment wn of last piece supplies length wn with encrypted adjacent image.
In described step (2), the sampled data of establishing coloured image is a three-dimensional matrix w , w( x, y, 1), w( x, y, 2) and w( x, y, 3) denotation coordination be ( x,y) locate the gray-scale value of three primary color components of pixel. w '( x, y, 1), w '( x, y, 2) and w '( x, y, 3) represent change after gray-scale value.Coordinate be ( x,y) locate pixel three primary color components value change after move to coordinate ( x ', y ') locate.As the formula (1):
(1)
In formula (1), position ( x,y) with ( x ', y ') between relation change according to formula (2); Gray-scale value wwith w 'between relation change according to formula (3):
(2)
(3)。
In described step (3), when deciphering, coordinate be ( x ', y ') locate pixel three primary color components value change after move to coordinate place ( x,y) locate, as the formula (4), decrypting process is an inverse process of encrypting, and does not rely on transformation period,
(4)
In formula (4), ( x ', y ') with ( x,y) between position relationship carry out inverse conversion according to formula (5); Gray-scale value w 'with wbetween relation carry out inverse conversion according to formula (6):
(5)
(6)。
Embodiment bis-: shown in Figure 2, the coloured image of one 256 × 256 is encrypted and decryption processing to wherein (a) and (b) be respectively the image after encryption and decryption, the encryption and decryption 0.703000s that takes time altogether, compared with prior art, most effectively improve more than 80 times.
Shown in Figure 3, adopt diverse ways to be encrypted to same width coloured image, wherein, (a) be original image; (b) be the image of encrypting based on after Arnold transformation conversion, this conversion can only change the position of pixel, can not change the gray-scale value of pixel; (c) be the image of encrypting based on after three-dimensional Arnold conversion, this conversion has only changed the gray-scale value of pixel, and the profile of original image is left in subregion; (d) image of encrypting for technical solution of the present invention, COLOR COMPOSITION THROUGH DISTRIBUTION is even, intuitively respond well.
Shown in Figure 4, the intensity profile characteristic of the red component of expression coloured image, in figure, transverse axis is gray level, and transformation range is 0~255, and the longitudinal axis is number of pixels corresponding to each gray level.Wherein, (a) be the intensity profile of original image; (b) be the intensity profile of image after Arnold transformation transposition encryption; (c) be the intensity profile of image after three-dimensional Arnold transposition encryption; (d) be the intensity profile of technical solution of the present invention encrypted image.Can find out, (b) intensity profile of figure is the same with original image, so image does not change intensity profile characteristic after Arnold transformation transposition encryption.
Shown in Figure 5, the rectangle colorful image of 414 × 187 is encrypted and decryption processing, wherein, (a) be original image; (b) be the image after encrypting; (c) be the image after deciphering, encryption and decryption are 0.766000s consuming time altogether, and the image that visible technical solution of the present invention is encrypted is not subject to the restriction of shape.

Claims (4)

1. a coloured image fast encrypt method, based on Arnold, conversion realizes, and it is characterized in that, comprises the steps:
1) according to picture size, image is carried out to piecemeal processing;
2) utilize Arnold conversion simultaneously the position to three of image pixel primary color components and gray scale carry out scramble, complete the encryption of coloured image;
3) to step 2) in conversion carry out inverse transformation, complete the deciphering to encrypted image.
2. a kind of coloured image fast encrypt method according to claim 1, is characterized in that: in described step 1), establish length and the wide wm of being respectively and the wn of image, , image is divided into N piece, the size of every block of image is , wherein, , expression is got smallest positive integral.
3. a kind of coloured image fast encrypt method according to claim 1, is characterized in that: described step 2) in, the sampled data of establishing coloured image is a three-dimensional matrix w , w( x, y, 1), w( x, y, 2) and w( x, y, 3) denotation coordination be ( x,y) locate the gray-scale value of three primary color components of pixel, w '( x, y, 1), w '( x, y, 2) and w '( x, y, 3) represent the gray-scale value after changing, coordinate be ( x,y) locate pixel three primary color components value change after move to coordinate ( x ', y ') locate, as the formula (1):
(1)
In formula (1), position ( x,y) with ( x ', y ') between relation change according to formula (2); Gray-scale value wwith w 'between relation change according to formula (3):
(2)
(3)。
4. a kind of coloured image fast encrypt method according to claim 1, is characterized in that:, in described step 3), when deciphering, coordinate be ( x ', y ') locate pixel three primary color components value change after move to coordinate place ( x,y) locate, as the formula (4),
(4)
In formula (4), ( x ', y ') with ( x,y) between position relationship carry out inverse conversion according to formula (5); Gray-scale value w 'with wbetween relation carry out inverse conversion according to formula (6):
(5)
(6)。
CN201410313967.5A 2014-07-03 2014-07-03 Color image quick encryption method Pending CN104077739A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410313967.5A CN104077739A (en) 2014-07-03 2014-07-03 Color image quick encryption method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410313967.5A CN104077739A (en) 2014-07-03 2014-07-03 Color image quick encryption method

Publications (1)

Publication Number Publication Date
CN104077739A true CN104077739A (en) 2014-10-01

Family

ID=51598982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410313967.5A Pending CN104077739A (en) 2014-07-03 2014-07-03 Color image quick encryption method

Country Status (1)

Country Link
CN (1) CN104077739A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882029A (en) * 2018-06-29 2018-11-23 银河威尔科技(北京)有限公司 A kind of decryption of video method and apparatus
CN110414448A (en) * 2019-07-31 2019-11-05 北京三快在线科技有限公司 Image processing method, device, electronic equipment and storage medium
CN111030810A (en) * 2019-11-29 2020-04-17 童勤业 Anti-counterfeiting encryption method based on image local random transformation technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662686A (en) * 2009-09-07 2010-03-03 江南大学 DCT domain video watermark treatment method based on texture features
CN101894359A (en) * 2010-07-13 2010-11-24 北京信息科技大学 Image scrambling encryption method
CN103442157A (en) * 2013-09-04 2013-12-11 上海理工大学 Image encryption method based on Arnold transformations and Henon chaotic system
CN103761703A (en) * 2014-01-15 2014-04-30 西安理工大学 Single channel color image encryption method based on GT conversion and chaos

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662686A (en) * 2009-09-07 2010-03-03 江南大学 DCT domain video watermark treatment method based on texture features
CN101894359A (en) * 2010-07-13 2010-11-24 北京信息科技大学 Image scrambling encryption method
CN103442157A (en) * 2013-09-04 2013-12-11 上海理工大学 Image encryption method based on Arnold transformations and Henon chaotic system
CN103761703A (en) * 2014-01-15 2014-04-30 西安理工大学 Single channel color image encryption method based on GT conversion and chaos

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
孙晓龙等: "Arnold变换在非方阵图像置乱中的应用", 《太赫兹科学与电子信息学报》 *
彭静玉: "一种高效的彩色图像加密和解密算法", 《通信技术》 *
彭静玉: "彩色图像置乱方法研究", 《通信技术》 *
梁小勇等: "基于Arnold变换的非正方形图像置乱新算法", 《吕梁学院学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882029A (en) * 2018-06-29 2018-11-23 银河威尔科技(北京)有限公司 A kind of decryption of video method and apparatus
CN108882029B (en) * 2018-06-29 2020-07-31 银河威尔科技(北京)有限公司 Video decryption method and device
CN110414448A (en) * 2019-07-31 2019-11-05 北京三快在线科技有限公司 Image processing method, device, electronic equipment and storage medium
CN111030810A (en) * 2019-11-29 2020-04-17 童勤业 Anti-counterfeiting encryption method based on image local random transformation technology
CN111030810B (en) * 2019-11-29 2022-08-05 童勤业 Anti-counterfeiting encryption method based on image local random transformation technology

Similar Documents

Publication Publication Date Title
Zhang The unified image encryption algorithm based on chaos and cubic S-Box
Gao et al. EFR-CSTP: Encryption for face recognition based on the chaos and semi-tensor product theory
Wu et al. Lossless chaotic color image cryptosystem based on DNA encryption and entropy
CN108322622B (en) Color digital image encryption method based on 2D-VMD and eight-dimensional hyper-chaotic system
CN104333446B (en) A kind of novel ultra-light magnitude QTL block cipher implementation method
CN103440613A (en) Color-image encryption method for hyperchaotic Rossler system
CN103455971A (en) Image encryption method combining three-dimensional Arnold transformation with chaotic sequence
CN103442157A (en) Image encryption method based on Arnold transformations and Henon chaotic system
CN112311524B (en) Image encryption method based on new chaotic mapping and compressed sensing
CN103179319A (en) Method for encrypting digital images of double-chaos system
CN104320241B (en) Video secret communication method based on integer field chaos
CN110149200A (en) A kind of color image encrypting method based on dynamic DNA and 4D chaos
Ping et al. An image scrambling algorithm using discrete Henon map
Sun A chaotic image encryption algorithm combining 2D chaotic system and random XOR diffusion
CN107833174A (en) A kind of image encryption method based on Logistic chaos system algorithms
CN104077739A (en) Color image quick encryption method
CN106570814B (en) Hyperchaotic image encryption method
CN104217391B (en) A kind of encryption method of multichannel quantum image
Pandey et al. Particle swarm optimization in cryptanalysis of DES
CN108133447A (en) A kind of chaos encrypting method of coloured image
Zhang Comments on “Color image encryption using Choquet fuzzy integral and hyper chaotic system”
El Abbadi et al. Digital RGB image encryption based on 2D cat map and shadow numbers
Ye A highly secure image encryption scheme using compound chaotic maps
CN104700348A (en) Colorful image self-adaption encrypting method based on high-order chaotic system
Wu A color image encryption algorithm using the fractional-order hyperchaotic systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141001