CN102609894A - Synthetic method for mosaic image and device thereof - Google Patents

Synthetic method for mosaic image and device thereof Download PDF

Info

Publication number
CN102609894A
CN102609894A CN201210010563XA CN201210010563A CN102609894A CN 102609894 A CN102609894 A CN 102609894A CN 201210010563X A CN201210010563X A CN 201210010563XA CN 201210010563 A CN201210010563 A CN 201210010563A CN 102609894 A CN102609894 A CN 102609894A
Authority
CN
China
Prior art keywords
image
mosaic
master
feature vector
secondary mosaic
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.)
Granted
Application number
CN201210010563XA
Other languages
Chinese (zh)
Other versions
CN102609894B (en
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.)
Jinan University
University of Jinan
Original Assignee
Jinan 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 Jinan University filed Critical Jinan University
Priority to CN201210010563.XA priority Critical patent/CN102609894B/en
Publication of CN102609894A publication Critical patent/CN102609894A/en
Application granted granted Critical
Publication of CN102609894B publication Critical patent/CN102609894B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention relates to the technical field related to the field of information safety and signal treatment and particularly relates to a synthetic method for a mosaic image and a device thereof. The synthetic method comprises the following steps: selecting a plurality of original images as an image library in advance; selecting one original image from the image library as a main image; if no secondary mosaic image exists, selecting one original image from the image library as the secondary mosaic image and embedding the secondary mosaic image into the main image so as to obtain the main image after being embedded; and otherwise, replacing the main image after being planted by the secondary mosaic image and embedding the secondary mosaic image into the main image. According to the synthetic method provided by the invention, the problem of hiding and transferring of more information is solved. A multilayer mosaic image can be utilized to realize the hiding of multilayer information as well as the hiding and transferring of more information. The multilayer mosaic image has a potential application value in a series of applications, such as information hiding, image retrieval, computer art, philosophy, computer simulation, scene conversion, image transferring, and the like.

Description

A kind of synthetic method of mosaic image and device thereof
Technical field
The present invention relates to the synthetic method and the device thereof of information security and signal Processing field correlative technology field, particularly a kind of mosaic image.
 
Background technology
Information hiding is a kind of method that solves information security that proposes in information security and the signal Processing field.It reaches data integrity that confirms this media information or the purpose of transmitting secret information through being hidden in secret information in the ostensible media information.
Information Hiding Techniques is divided into Steganography and digital watermarking, and the research of Information Hiding Techniques at present mainly concentrates in the research of digital watermark technology.Digital watermarking algorithm experienced from the spatial domain watermarking algorithm to the transform domain watermarking algorithm, from non-blind watermarking algorithm to blind watermarking algorithm, the image watermark algorithm is to development courses such as audio frequency and video and text watermarking algorithm.Therefore, how Information Hiding Techniques has carried out very extensively to the research aspect image encryption and the identification, yet, to hide how and the research of transmitting aspect the more information deep not enough.
Summary of the invention
The present invention provides a kind of synthetic method and device thereof of mosaic image, in image, hides and transmit the technical matters of quantity of information deficiency to solve prior art.
The technical scheme that adopts is following:
A kind of synthetic method of mosaic image comprises:
Step 1 is chosen several original images in advance as image library;
Step 2 is taken out a width of cloth original image as master image from image library;
Step 3 if also there is not secondary mosaic image, is then taken out a width of cloth original image as secondary mosaic image from image library, implant master image to secondary mosaic image and obtain implanting the back master image; Otherwise replace secondary mosaic image implanting the back master image, implant master image to secondary mosaic image and obtain implanting the back master image;
Step 4, if also have original image in the image library, then execution in step 2, otherwise finish.
Further, in the said step 3, obtaining secondary mosaic image implantation master image implanting afterwards, the concrete grammar of master image comprises:
The color feature vector that extracts secondary mosaic image is as first color feature vector; The color feature vector of each position of first color feature vector and master image is compared, choose the position corresponding as the replacement position with the highest color feature vector of the first color feature vector similarity;
The image in the replacement position in the master image cut apart obtain cutting apart the back image;
Secondary mosaic image is replaced with cutting apart the back image, and carried out the amalgamation of image, obtain implanting the back master image.
Further, be specially said cut apart the image in the replacement position in the master image:
Be divided into a plurality of zones to master image, repeated segmentation is carried out up to the segmentation degree that satisfies master image as the replacement zone to replacing the zone in the zone of confirming to replace the place, position, obtains cutting apart rear region, and the image of cutting apart in the rear region is image after cutting apart.
Preferably, the segmentation degree of said master image is according to the resolution setting of master image.
Further:
In the said step 3: if from image library, take out a width of cloth original image as secondary mosaic image, then secondary mosaic image is:
The compressed image of original image perhaps changes the image after the original image resolution;
If replace secondary mosaic image implanting the back master image, then secondary mosaic image is:
Image after implanting the compressed image of back master image or changing implantation back master image resolution.
A kind of synthesizer of mosaic image comprises:
Image library: be used to store several original images of choosing in advance;
Master image is chosen the unit: be used for taking out a width of cloth original image as master image from image library;
Secondary mosaic is implanted the unit: be used for, if also there is not secondary mosaic image, then from image library, take out a width of cloth original image as secondary mosaic image, implant master image to secondary mosaic image and obtain implanting the back master image; Otherwise replace secondary mosaic image implanting the back master image, implant master image to secondary mosaic image and obtain implanting the back master image;
The image library detecting unit is used for the detected image storehouse, and calls master image successively and choose unit and secondary mosaic implantation unit, in image library, does not have original image.
Further, said secondary mosaic is implanted the unit and is comprised:
Secondary mosaic is chosen the unit: if also there is not secondary mosaic image, then from image library, take out a width of cloth original image as secondary mosaic image, otherwise replace secondary mosaic image implanting the back master image;
Implant the unit: the color feature vector that is used to extract secondary mosaic image is as first color feature vector; The color feature vector of each position of first color feature vector and master image is compared, choose the position corresponding as the replacement position with the highest color feature vector of the first color feature vector similarity; The image in the replacement position in the master image cut apart obtain cutting apart the back image; Secondary mosaic image is replaced with cutting apart the back image, and carried out the amalgamation of image.
Patent of the present invention has solved hiding and problem of transmission of more information.Utilize the multilayer mosaic image can realize that not only multi-layer information is hiding, and can realize hiding and transmission of more information.The multilayer mosaic image has potential using value in a series of application such as Information hiding, image retrieval, computer art, philosophy, computer simulation, scene change and image transmission.The multilayer mosaic image has potential using value in a series of application such as Information hiding, image retrieval, computer art, philosophy, computer simulation, scene change and image transmission.
Description of drawings
Fig. 1 is the process flow diagram of the embodiment of the invention;
Fig. 2 is the system construction drawing of the embodiment of the invention;
Fig. 3 is the multilayer mosaic synoptic diagram of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is done further detailed explanation.
As shown in Figure 1, the embodiment of the invention is a kind of mosaic image synthetic method, comprising:
Step 110 is chosen several original images in advance as image library;
Step 120 is taken out a width of cloth original image as master image from image library;
Step 130 if also there is not secondary mosaic image, is then taken out a width of cloth original image as secondary mosaic image from image library, implant master image to secondary mosaic image and obtain implanting the back master image; Otherwise replace secondary mosaic image implanting the back master image, implant master image to secondary mosaic image and obtain implanting the back master image;
Step 140, if also have original image in the image library, then execution in step 120, otherwise finish.
Image is chosen and is needed certain sequence, chooses the image information of image for needing to hide as secondary mosaic, promptly is hidden into secondary mosaic image in the master image.As shown in Figure 3, mosaic image is hidden the secondary mosaic image in the one-level image, hides three grades of mosaic images in the secondary mosaic image, and the rest may be inferred.In the mosaic of upper level image, implant secondary mosaic image, keep the information of secondary mosaic image relatively stable.
A certain position at mosaic image hides specific image, and the simplest method is exactly at hiding specific image simultaneously, implants a large amount of similar secondary mosaic images, and these a large amount of secondary mosaic images can obtain through the image retrieval to picture library.
The secondary mosaic (partly or entirely) of mosaic image is made up of image, and image can be latent that write, watermark or visible, can be local or whole.Therefore, utilize the multilayer mosaic image can realize that multi-layer information is hiding, also can realize hiding and transmission of more information.
The space environment of secondary mosaic image (partly or entirely) such as resolution can be different with other levels.In order to realize that better great deal of information is hidden and transmission, when secondary mosaic image is implanted, can change the distribution of each tomographic image resolution; Perhaps image is implanted in compression, and when extracting, obtains reduction.
When implanting specific secondary mosaic image, need to extract this mosaic image color character value, so that realize coupling with the color of master image.In order to hide specific image at ad-hoc location, need the mosaic color characteristic parameter of ad-hoc location be migrated in the specific mosaic image that needs to hide, the migration of color can use existing multiple color of image migrating technology to be achieved.
For this reason, in the step 130, implant the following substep that comprises that master image obtains implanting the back master image to secondary mosaic image:
The color feature vector that extracts secondary mosaic image is as first color feature vector; The color feature vector of each position of first color feature vector and master image is compared, choose the position corresponding as the replacement position with the highest color feature vector of the first color feature vector similarity;
Master image is divided into a plurality of zones; The zone of confirming place, replacement position is as the replacement zone; Carry out repeated segmentation up to the segmentation degree that satisfies master image to replacing the zone; Obtain cutting apart rear region, cut apart according to certain procedure and cut apart, as earlier image being divided into two; The little figure that will contain anchor point again is divided into two;, the image of cutting apart in the rear region is image after cutting apart, the segmentation degree of master image is based on the resolution setting of master image;
Secondary mosaic image is replaced with cutting apart the back image, and the rule when cutting apart is carried out the amalgamation of image, thus accomplished secondary mosaic image hidingly obtain implanting the back master image.
Be illustrated in figure 2 as the system construction drawing of the embodiment of the invention, comprise:
Image library 210: be used to store several original images of choosing in advance;
Master image is chosen unit 220: be used for taking out a width of cloth original image as master image from image library;
Secondary mosaic is implanted unit 230: comprising:
Secondary mosaic is chosen unit 231: if also there is not secondary mosaic image, then from image library, take out a width of cloth original image as secondary mosaic image, otherwise replace secondary mosaic image implanting the back master image;
Implant unit 232: the color feature vector that is used to extract secondary mosaic image is as first color feature vector; The color feature vector of each position of first color feature vector and master image is compared, choose the position corresponding as the replacement position with the highest color feature vector of the first color feature vector similarity; The image in the replacement position in the master image cut apart obtain cutting apart the back image; Secondary mosaic image is replaced with cutting apart the back image, and carried out the amalgamation of image.
Image library detecting unit 240 is used for detected image storehouse 210, and calls master image successively and choose unit 220 and secondary mosaic implantation unit 230, in image library 210, does not have original image.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.Any modification of within spirit of the present invention and principle, being done, be equal to replacement, improvement etc., all within protection scope of the present invention.

Claims (7)

1. the synthetic method of a mosaic image is characterized in that, comprising:
Step 1 is chosen several original images in advance as image library;
Step 2 is taken out a width of cloth original image as master image from image library;
Step 3 if there is not secondary mosaic image, is then taken out a width of cloth original image as secondary mosaic image from image library, implant master image to secondary mosaic image and obtain implanting the back master image; Otherwise replace secondary mosaic image implanting the back master image, implant master image to secondary mosaic image and obtain implanting the back master image;
Step 4, if also have original image in the image library, then execution in step 2, otherwise finish.
2. the synthetic method of mosaic image according to claim 1 is characterized in that, in the said step 3, obtaining secondary mosaic image implantation master image implanting afterwards, the concrete grammar of master image comprises:
The color feature vector that extracts secondary mosaic image is as first color feature vector; The color feature vector of each position of first color feature vector and master image is compared, choose the position corresponding as the replacement position with the highest color feature vector of the first color feature vector similarity;
The image in the replacement position in the master image cut apart obtain cutting apart the back image;
Secondary mosaic image is replaced with cutting apart the back image, and carried out the amalgamation of image, obtain implanting the back master image.
3. the synthetic method of mosaic image according to claim 2 is characterized in that, be specially said cut apart the image in the replacement position in the master image:
Be divided into a plurality of zones to master image, repeated segmentation is carried out up to the segmentation degree that satisfies master image as the replacement zone to replacing the zone in the zone of confirming to replace the place, position, obtains cutting apart rear region, and the image of cutting apart in the rear region is image after cutting apart.
4. the synthetic method of mosaic image according to claim 3 is characterized in that, the segmentation degree of said master image is according to the resolution setting of master image.
5. the synthetic method of mosaic image according to claim 1 is characterized in that:
In the said step 3: if from image library, take out a width of cloth original image as secondary mosaic image, then secondary mosaic image is:
The compressed image of original image perhaps changes the image after the original image resolution;
If replace secondary mosaic image implanting the back master image, then secondary mosaic image is:
Image after implanting the compressed image of back master image or changing implantation back master image resolution.
6. the synthesizer of a mosaic image is characterized in that, comprising:
Image library: be used to store several original images of choosing in advance;
Master image is chosen the unit: be used for taking out a width of cloth original image as master image from image library;
Secondary mosaic is implanted the unit: be used for, if also there is not secondary mosaic image, then from image library, take out a width of cloth original image as secondary mosaic image, implant master image to secondary mosaic image and obtain implanting the back master image; Otherwise replace secondary mosaic image implanting the back master image, implant master image to secondary mosaic image and obtain implanting the back master image;
The image library detecting unit is used for the detected image storehouse, and calls master image successively and choose unit and secondary mosaic implantation unit, in image library, does not have original image.
7. the synthesizer of mosaic image according to claim 6 is characterized in that, said secondary mosaic is implanted the unit and comprised:
Secondary mosaic is chosen the unit: if also there is not secondary mosaic image, then from image library, take out a width of cloth original image as secondary mosaic image, otherwise replace secondary mosaic image implanting the back master image;
Implant the unit: the color feature vector that is used to extract secondary mosaic image is as first color feature vector; The color feature vector of each position of first color feature vector and master image is compared, choose the position corresponding as the replacement position with the highest color feature vector of the first color feature vector similarity; The image in the replacement position in the master image cut apart obtain cutting apart the back image; Secondary mosaic image is replaced with cutting apart the back image, and carried out the amalgamation of image.
CN201210010563.XA 2012-01-14 2012-01-14 Synthetic method for mosaic image and device thereof Expired - Fee Related CN102609894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210010563.XA CN102609894B (en) 2012-01-14 2012-01-14 Synthetic method for mosaic image and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210010563.XA CN102609894B (en) 2012-01-14 2012-01-14 Synthetic method for mosaic image and device thereof

Publications (2)

Publication Number Publication Date
CN102609894A true CN102609894A (en) 2012-07-25
CN102609894B CN102609894B (en) 2014-06-25

Family

ID=46527242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210010563.XA Expired - Fee Related CN102609894B (en) 2012-01-14 2012-01-14 Synthetic method for mosaic image and device thereof

Country Status (1)

Country Link
CN (1) CN102609894B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930289A (en) * 2012-09-28 2013-02-13 清华大学 Method for generating mosaic picture
CN102930521A (en) * 2012-10-15 2013-02-13 上海电机学院 Mosaic image generation method
CN102930569A (en) * 2012-09-28 2013-02-13 清华大学 Generation method for irregular-scale photomosaic
CN104715449A (en) * 2015-03-31 2015-06-17 百度在线网络技术(北京)有限公司 Method and device for generating mosaic image
WO2015123791A1 (en) * 2014-02-18 2015-08-27 Empire Technology Development Llc Composite image generation to remove obscuring objects
CN106469460A (en) * 2015-08-14 2017-03-01 阿里巴巴集团控股有限公司 Method and apparatus and electronic equipment that mosaic image generates
CN114332304A (en) * 2020-09-28 2022-04-12 广州慧睿思通人工智能技术有限公司 Text image synthesis method, text image synthesis device and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
廉士国等: "基于图像库的图像和视频安全传输方案", 《控制与决策》 *
胡华等: "基于图像的马赛克", 《计算机工程与设计》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930569B (en) * 2012-09-28 2015-06-17 清华大学 Generation method for irregular-scale photomosaic
CN102930569A (en) * 2012-09-28 2013-02-13 清华大学 Generation method for irregular-scale photomosaic
CN102930289B (en) * 2012-09-28 2015-05-06 清华大学 Method for generating mosaic picture
CN102930289A (en) * 2012-09-28 2013-02-13 清华大学 Method for generating mosaic picture
CN102930521A (en) * 2012-10-15 2013-02-13 上海电机学院 Mosaic image generation method
WO2015123791A1 (en) * 2014-02-18 2015-08-27 Empire Technology Development Llc Composite image generation to remove obscuring objects
US9406114B2 (en) 2014-02-18 2016-08-02 Empire Technology Development Llc Composite image generation to remove obscuring objects
US9619928B2 (en) 2014-02-18 2017-04-11 Empire Technology Development Llc Composite image generation to remove obscuring objects
US10424098B2 (en) 2014-02-18 2019-09-24 Empire Technology Development Llc Composite image generation to remove obscuring objects
CN104715449A (en) * 2015-03-31 2015-06-17 百度在线网络技术(北京)有限公司 Method and device for generating mosaic image
CN106469460A (en) * 2015-08-14 2017-03-01 阿里巴巴集团控股有限公司 Method and apparatus and electronic equipment that mosaic image generates
CN106469460B (en) * 2015-08-14 2019-07-23 阿里巴巴集团控股有限公司 The method and apparatus and electronic equipment that mosaic image generates
CN114332304A (en) * 2020-09-28 2022-04-12 广州慧睿思通人工智能技术有限公司 Text image synthesis method, text image synthesis device and computer equipment

Also Published As

Publication number Publication date
CN102609894B (en) 2014-06-25

Similar Documents

Publication Publication Date Title
CN102609894B (en) Synthetic method for mosaic image and device thereof
Das et al. A novel steganography method for image based on Huffman Encoding
CN101452570B (en) Vector space data digital watermarking method based on grid
CN101582157B (en) Adaptive spatial steganographic method based on adjacent pixel difference
CN102036079A (en) Omni-directional prediction error histogram modification-based reversible image watermarking algorithm
CN101393635B (en) Watermark information embedding, extracting method and processing system
Zamani et al. Robust audio steganography via genetic algorithm
CN103310403B (en) Hand-written feature and digital document visible watermark fusion method
KR101764530B1 (en) A METHOD FOR DATA HIDING BASED ON PIXEL VALUE PREDICTIONS, A METHOD FOR DATA WATERMARKING USING IT, AND AN Apparatus FOR DATA HIDING
CN103955634A (en) Copyright protecting method based on digital watermark technology and aiming at tile remote sensing data
CN102073978B (en) Method and system for identifying and recovering digital images by utilizing irregular region segmentation
CN109671010A (en) It is a kind of based on multiple two-dimensional histograms modification reversible information hide and extracting method
KR101354609B1 (en) Image based data hiding device and method
CN116579908B (en) Method and device for implanting encrypted hidden information into image
CN103310130B (en) Text document embedding algorithm and extracting method
Zamani et al. An artificial-intelligence-based approach for audio steganography
CN108876691B (en) Self-adaptive reversible watermarking method and system
CN102413381A (en) Video watermark based on optical flow method and digital holographic
CN102156956A (en) High robustness watermark method based on singular value decomposition and discrete cosine transform
KR101472495B1 (en) Data hiding device and method for information security
CN103325084A (en) Three-dimensional image fragile watermark method based on joint just noticeable distortion
CN104599226A (en) Large-capacity steganography method
CN102682239A (en) Digital watermark technology based copyright protection method orienting to remote sensing tile data
CN103559677B (en) Based on the adapting to image watermark embedding method of wavelet transformation and visual characteristic
Sahoo et al. Hiding Secret Information in Movie Clip: A Steganographic Approach

Legal Events

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

Granted publication date: 20140625

Termination date: 20200114

CF01 Termination of patent right due to non-payment of annual fee