CN104954773A - Coding and decoding method through color overlay - Google Patents

Coding and decoding method through color overlay Download PDF

Info

Publication number
CN104954773A
CN104954773A CN201410125051.7A CN201410125051A CN104954773A CN 104954773 A CN104954773 A CN 104954773A CN 201410125051 A CN201410125051 A CN 201410125051A CN 104954773 A CN104954773 A CN 104954773A
Authority
CN
China
Prior art keywords
coordinate
coding
chrominance signal
demal
color
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
CN201410125051.7A
Other languages
Chinese (zh)
Other versions
CN104954773B (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.)
Nanning Fulian Fugui Precision Industrial Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201410125051.7A priority Critical patent/CN104954773B/en
Publication of CN104954773A publication Critical patent/CN104954773A/en
Application granted granted Critical
Publication of CN104954773B publication Critical patent/CN104954773B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

The invention provides a coding and decoding method through color overlay. The method comprises the steps that a color signal is received; color coordinates and overlay fractal codes corresponding to the color signal are confirmed; coordinate decomposition is performed on the received color signal according to the confirmed color coordinates so that the coordinate values of each pixel of the color signal are obtained; all the coordinate values of the color signal are parsed according to the confirmed overlay fractal codes so that the intensity code corresponding to each coordinate value is obtained; and all the intensity codes are digitalized so that corresponding digitalized codes are obtained. Communication signal coding and decoding can be realized through the color coordinates and the color intensity by utilizing the overlay technology.

Description

Color overlaid decoding method
Technical field
The present invention relates to a kind of decoding method, especially relate to a kind of color overlaid decoding method.
Background technology
Past, considerable modulation tech has been invented in information transmission in order to communication signal, such as AM(Amplitude Modulation, amplitude modulation), FM(Frequency Modulation, frequency modulation), FSK(Frequency-shift Keying, frequency shift keying), QAM(Quadrature Amplitude Modulation, quadrature amplitude modulation), OFDM(Orthogonal Frequency Division Multiplexing, OFDM) etc.Mainly the amplitude of electromagnetic signal is adjusted the object reaching communication in time-domain and frequency-domain.In addition, comprise a lot of pixels in light wave (color) signal, each pixel shows different colors, can be used for transmitting a large amount of information, but this kind of communication modulation mode is not also fully developed.
Summary of the invention
In view of above content, be necessary to provide a kind of color overlaid decoding method, superimposing technique can be used to realize the encoding and decoding of communication signal by chromaticity coordinates and colouring intensity.
The cataloged procedure of described color overlaid decoding method comprises step: determine to carry out to communication information the chromaticity coordinates that will use of encoding; Determine to carry out to communication information the superposition demal that will use of encoding; According to the digital coding of this communication information, each coordinate for each pixel of chrominance signal is chosen and is superposed demal accordingly, forms the intensity coding of each coordinate; The intensity coding of each coordinate is superposed, obtains each coordinate figure of each pixel of chrominance signal; And according to the color that the coordinate figure of each pixel represents in chromaticity coordinates, generate chrominance signal.
The decode procedure of described color overlaid decoding method comprises step: receive a chrominance signal; Determine chromaticity coordinates that this chrominance signal is corresponding and superpose demal; According to the chromaticity coordinates determined, the chrominance signal received is carried out coordinate decomposition, obtains the coordinate figure of this each pixel of chrominance signal; According to the superposition demal determined, each coordinate figure of this chrominance signal is resolved, obtains the intensity coding that each coordinate figure is corresponding; And each intensity coding is carried out digitlization, obtain corresponding digital coding.
Compared to prior art, described color overlaid decoding method, the amount of information that the chrominance signal obtained after coding comprises compares digitized signal to be increased greatly, and this chrominance signal is using light as transmission medium, provides a kind of selection newly of the mode of intelligence transmission in communication network.
Accompanying drawing explanation
Fig. 1 is the flow chart of the decode procedure of color overlaid decoding method of the present invention preferred embodiment.
Fig. 2 is the flow chart of the cataloged procedure of color overlaid decoding method of the present invention preferred embodiment.
Fig. 3 is the schematic diagram of RGB chromaticity coordinates.
Fig. 4 is the schematic diagram of the chrominance signal of a kind of simple RGB tri-mixture of colours.
Fig. 5 is the schematic diagram superposed the intensity coding of the R coordinate of each pixel of chrominance signal.
Fig. 6 is the another kind of manifestation mode of Fig. 1.
Main element symbol description
Transducer 10
Filter 20
Display 30
Chrominance signal 100
Chromaticity coordinates 102
R coordinate figure 104
G coordinate figure 106
B coordinate figure 108
Superposition demal 110
Intensity coding 112、114、116
Digital coding 118、120、122
Communication information 124
Following embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
The color overlaid decoding method of one embodiment of the present invention is by chromaticity coordinates and colouring intensity and use superimposing technique to realize the encoding and decoding of communication signal.Communication signal after this coding, using light as transmission medium, provides a kind of selection newly of the mode of intelligence transmission in communication network.
Consulting shown in Fig. 1, is the flow chart of the decode procedure of color overlaid decoding method of the present invention preferred embodiment.
Step S10, utilizes transducer 10 to receive a chrominance signal.In the present embodiment, described chrominance signal is that the communication information that will express carries out encoding obtaining according to a kind of chromaticity coordinates and predetermined superposition demal.Described chrominance signal is a color matrices comprising multiple pixel, and each matrix dot (i.e. each pixel) represents different communication informations by different colors.The color of each matrix dot obtains by carrying out colouring intensity superposition according to superposition demal in chromaticity coordinates.
Specific coding process following (consulting shown in Fig. 2):
First determine to encode the chromaticity coordinates (step S202) that will use to this communication information.Color space has different coordinate describing modes, and now conventional chromaticity coordinates has XYZ, RGB, LUV etc., and had chromaticity coordinates, can determine a point on a chromaticity diagram, this Precise Representation goes out a kind of color.In the present embodiment, RGB(RGB is selected) chromaticity coordinates (consulting shown in Fig. 3) is described for example.In RGB chromaticity coordinates, often kind of color all can represent with three variablees: the intensity (i.e. B coordinate figure) of red intensity (i.e. R coordinate figure), green intensity (i.e. G coordinate figure) and blueness.
Carry out according to RGB chromaticity coordinates the chrominance signal obtained of encoding, only use red, green, blue three kinds of colors, in each pixel, make them according to the mixing of different ratios (colouring intensity), present different colors.Consulting shown in Fig. 4, is the chrominance signal schematic diagram of a kind of simple RGB tri-mixture of colours.Wherein red, green, blue three look all only has 0 and 150 two kind of colouring intensity, and these three kinds of colors mix with wherein any one colouring intensity respectively in each pixel.
Then determine to encode the superposition demal (step S204) that will use to this communication information.Described superposition demal is the digital collection of one group of disassembled identification, and the digital summation of wherein norator set is not equal to any one numeral in set, and the summation of any two subclass is unequal.Such as 1,2,4,8,16,32 ..., 1,3,5,7,17,34 ... etc..Choose arbitrarily y (wherein 0≤y≤i) from i numeral of one group of superposition demal { n (i) }, an intensity coding can be formed.And all numerals in intensity coding are added, the numerical value obtained can be used for representing a coordinate figure in chromaticity coordinates.In the present embodiment, the bit of each the digital corresponding digital coding in superposition demal, such as, superpose demal { four binary digits of the corresponding digital coding 1111 of four numerals 1,2,4,8 difference in 1,2,4,8}.Therefore, namely the intensity coding be made up of y superposition demal may correspond to a digital coding, expresses a kind of communication information.
According to the digital coding of this communication information, each coordinate (R coordinate, G coordinate, B coordinate) for each pixel of chrominance signal is chosen and is superposed demal accordingly, forms the intensity coding (step S206) of each coordinate.Such as, { 1,2,8 three numeral is chosen in 1,2,4,8}, intensity coding { 1,2, the 8} of composition R coordinate from superposition demal.
Again the intensity coding of each coordinate is superposed, obtain each coordinate figure (step S208) of each pixel of chrominance signal.Consulting shown in Fig. 5, is the schematic diagram superposed the intensity coding of the R coordinate of each pixel of chrominance signal.Wherein, the intensity coding of the R coordinate of the first pixel be 2,4,8,16}, the R coordinate figure obtaining the first pixel after superposition is 2+4+8+16=30(and red color intensity is 30); The intensity coding of the R coordinate of the second pixel be 1,2,8}, the R coordinate figure obtaining the second pixel after superposition is 1+2+8=11(and red color intensity is 11), the rest may be inferred.
The last color represented in chromaticity coordinates according to the coordinate figure of each pixel, generates chrominance signal (step S210).
Return Fig. 1, step S12, determine chromaticity coordinates that this chrominance signal is corresponding and superpose demal, namely determine that this chrominance signal carries out encoding obtaining according to which kind of chromaticity coordinates and what group superposition demal.Such as, determine that the chromaticity coordinates that this chrominance signal is corresponding is RGB chromaticity coordinates, superposition demal is { 1,2,4,8,16,32}.In the database that described chromaticity coordinates and superposition demal and the correspondence relationship information of chrominance signal can be stored in advance in recipient or memory, also can be sent to recipient with this chrominance signal.
Step S14, according to the chromaticity coordinates determined, utilizes filter 20 that the chrominance signal received is carried out coordinate decomposition, obtains the coordinate figure of this each pixel of chrominance signal.Such as, filter 20 decomposites the chromaticity coordinates of the first pixel of this chrominance signal for (R:G:B)=(11,62,19).
Step S16, according to the superposition demal determined, each coordinate figure after each pixel of this chrominance signal being decomposed is resolved, and obtains the intensity coding that each coordinate figure is corresponding.Described parsing is the inverse operation each coordinate figure being carried out to intensity coding superposition, namely calculates each coordinate figure and by what group intensity coding is undertaken superposing obtaining respectively.Such as, the R coordinate figure of above-mentioned first pixel is 11=1+2+8, is that namely R coordinate intensity coding is { 1,2,8} by 1,2,8 three numbers pile up gained in superposition demal; The G coordinate figure of above-mentioned first pixel is 62=2+4+8+16+32, is that namely G coordinate intensity coding is { 2,4,8,16,32} by 2,4,8,16,32 5 numbers pile up gained in superposition demal; The B coordinate figure of above-mentioned first pixel is 19=1+2+16, is that namely B coordinate intensity coding is { 1,2,16} by 1,2,16 3 numbers pile up gained in superposition demal.
Step S18, carries out digitlization by the intensity coding of each coordinate of this each pixel of chrominance signal, obtains corresponding digital coding.Such as, when superposition demal is { n (i) }={ 1, 2, 4, during 8}, the digital coding that intensity coding { } is corresponding is 0000, { digital coding that 1} is corresponding is 0001 to intensity coding, { digital coding that 2} is corresponding is 0010 to intensity coding, intensity coding { 1, the digital coding that 2} is corresponding is 0011, { digital coding that 4} is corresponding is 0100 to intensity coding, intensity coding { 1, the digital coding that 4} is corresponding is 0101, intensity coding { 2, the digital coding that 4} is corresponding is 0110, intensity coding { 1, 2, the digital coding that 4} is corresponding is 0111, { digital coding that 8} is corresponding is 1000 to intensity coding, intensity coding { 1, the digital coding that 8} is corresponding is 1001, intensity coding { 2, the digital coding that 8} is corresponding is 1010, intensity coding { 1, 2, the digital coding that 8} is corresponding is 1011, intensity coding { 4, the digital coding that 8} is corresponding is 1100, intensity coding { 1, 4, the digital coding that 8} is corresponding is 1101, intensity coding { 2, 4, the digital coding that 8} is corresponding is 1110, intensity coding { 1, 2, 4, the digital coding that 8} is corresponding is 1111.
Step S20, according to the digital coding obtained, shows the communication information that this chrominance signal is expressed in display 30.
Consulting shown in Fig. 6, is the another kind of manifestation mode of Fig. 1.After chrominance signal 100 is received (step S10) by transducer 10, determine chromaticity coordinates 102 and the superposition demal 110(step S12 of this chrominance signal 100 correspondence).According to chromaticity coordinates 102, utilize filter 20 that chrominance signal 100 is carried out coordinate decomposition (step S14), obtain the R coordinate figure 104 of each pixel of chrominance signal 100, G coordinate figure 106 and B coordinate figure 108.According to superposition demal 110, R coordinate figure 104, G coordinate figure 106 and B coordinate figure 108 after each pixel being decomposed carry out resolving (step S16) respectively, obtain corresponding intensity coding 112,114,116.Digitlization (step S18) is carried out respectively to intensity coding 112,114,116, obtains digital coding 118,120,122.Digital coding 118,120,122 is combined the communication information 124 that have expressed this pixel and comprise.Finally decoded for each pixel of chrominance signal 100 communication information 124 is carried out showing (step S20) in display 30.
From foregoing, the amount of information that chrominance signal comprises can reach (I^M) ^K kind, wherein I=sum (C (i, y), y=0 ~ i)), i is total number of code in superposition demal, and M is the coordinate number (such as RGB chromaticity coordinates is 3) of chromaticity coordinates, and K is that the matrix of chrominance signal counts (i.e. the number of pixel).And if each matrix dot can only be the digitized signal of 0 or 1, the amount of information comprised can only reach 2^K kind.Therefore, through the communication signal of color overlaid coding, the amount of information comprised can greatly be increased.
Above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not depart from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a color overlaid decoding method, is characterized in that, the method comprising the steps of:
Receive a chrominance signal;
Determine chromaticity coordinates that this chrominance signal is corresponding and superpose demal;
According to the chromaticity coordinates determined, the chrominance signal received is carried out coordinate decomposition, obtains the coordinate figure of this each pixel of chrominance signal;
According to the superposition demal determined, each coordinate figure of this chrominance signal is resolved, obtains the intensity coding that each coordinate figure is corresponding; And
Each intensity coding is carried out digitlization, obtains corresponding digital coding.
2. color overlaid decoding method as claimed in claim 1, it is characterized in that, the method also comprises step:
The communication information of this chrominance signal expression is shown according to the digital coding obtained.
3. color overlaid decoding method as claimed in claim 1, it is characterized in that, described chrominance signal is a color matrices comprising multiple pixel, and each pixel represents different communication informations by different colors.
4. color overlaid decoding method as claimed in claim 1, it is characterized in that, described superposition demal is the digital collection of one group of disassembled identification, and the digital summation of wherein norator set is not equal to any one numeral in set, and the summation of any two subclass is unequal.
5. color overlaid decoding method as claimed in claim 1, is characterized in that, described in the chrominance signal that receives be that the communication information that will express carries out encoding obtaining according to described chromaticity coordinates and superposition demal.
6. color overlaid decoding method as claimed in claim 5, it is characterized in that, the cataloged procedure of described chrominance signal comprises:
Determine to encode the chromaticity coordinates that will use to communication information;
Determine to encode the superposition demal that will use to communication information;
According to the digital coding of this communication information, each coordinate for each pixel of chrominance signal is chosen and is superposed demal accordingly, forms the intensity coding of each coordinate;
The intensity coding of each coordinate is superposed, obtains each coordinate figure of each pixel of chrominance signal; And
According to the color that the coordinate figure of each pixel represents in chromaticity coordinates, generate chrominance signal.
7. color overlaid decoding method as claimed in claim 6, it is characterized in that, the bit of each the digital corresponding digital coding in superposition demal, y is chosen arbitrarily from i numeral of one group of superposition demal, wherein 0≤y≤i, form an intensity coding, all numerals in intensity coding are superimposed, a coordinate figure in the numeric representation chromaticity coordinates obtained.
8. a color overlaid coding method, is characterized in that, the method comprising the steps of:
Determine to carry out to communication information the chromaticity coordinates that will use of encoding;
Determine to carry out to communication information the superposition demal that will use of encoding;
According to the digital coding of this communication information, each coordinate for each pixel of chrominance signal is chosen and is superposed demal accordingly, forms the intensity coding of each coordinate;
The intensity coding of each coordinate is superposed, obtains each coordinate figure of each pixel of chrominance signal; And
According to the color that the coordinate figure of each pixel represents in chromaticity coordinates, generate chrominance signal.
9. color overlaid coding method as claimed in claim 8, it is characterized in that, described superposition demal is the digital collection of one group of disassembled identification, and the digital summation of wherein norator set is not equal to any one numeral in set, and the summation of any two subclass is unequal.
10. color overlaid coding method as claimed in claim 8, it is characterized in that, the bit of each the digital corresponding digital coding in superposition demal, y is chosen arbitrarily from i numeral of one group of superposition demal, wherein 0≤y≤i, form an intensity coding, all numerals in intensity coding are superimposed, a coordinate figure in the numeric representation chromaticity coordinates obtained.
CN201410125051.7A 2014-03-31 2014-03-31 Color overlaid decoding method Expired - Fee Related CN104954773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410125051.7A CN104954773B (en) 2014-03-31 2014-03-31 Color overlaid decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410125051.7A CN104954773B (en) 2014-03-31 2014-03-31 Color overlaid decoding method

Publications (2)

Publication Number Publication Date
CN104954773A true CN104954773A (en) 2015-09-30
CN104954773B CN104954773B (en) 2017-04-05

Family

ID=54169072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410125051.7A Expired - Fee Related CN104954773B (en) 2014-03-31 2014-03-31 Color overlaid decoding method

Country Status (1)

Country Link
CN (1) CN104954773B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101233542A (en) * 2005-05-27 2008-07-30 艾利森电话股份有限公司 Weight based image processing
CN101866641A (en) * 2010-03-09 2010-10-20 华映视讯(吴江)有限公司 The color adjustment method of image
CN102496167A (en) * 2011-12-07 2012-06-13 天津理工大学 Pseudo-color coding method for phase modulated digital image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101233542A (en) * 2005-05-27 2008-07-30 艾利森电话股份有限公司 Weight based image processing
CN101233542B (en) * 2005-05-27 2013-01-23 艾利森电话股份有限公司 Weight based image processing
CN101866641A (en) * 2010-03-09 2010-10-20 华映视讯(吴江)有限公司 The color adjustment method of image
CN102496167A (en) * 2011-12-07 2012-06-13 天津理工大学 Pseudo-color coding method for phase modulated digital image

Also Published As

Publication number Publication date
CN104954773B (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN109644176B (en) Non-orthogonal multiple access transmission
Gupta et al. Enhanced least significant bit algorithm for image steganography
US8949610B2 (en) Method for embedding secret message into PNG image
CN107615761A (en) Processes pixel and coding
CN104239927A (en) Colored two-dimension code generating method and decoding method
Thapa et al. Graph-theoretic approaches to two-sender index coding
Adzhemov et al. Model of Effective Color Image Coding Taking into Account the Peculiarities of Colorimetry System
Srinivasan et al. A novel approach for color image, steganography using nubasi and randomized, secret sharing algorithm
MX2022011208A (en) Using video parameter set in video coding.
CN108199823A (en) Chaos video encryption method based on sliding encryption window
TWI536321B (en) Method for coding and decoding by color
CN104954773A (en) Coding and decoding method through color overlay
Imaizumi et al. Multibit embedding algorithm for steganography of palette-based images
Mishra et al. Security of RGB image data by affine hill cipher over SLn (Fq) and Mn (Fq) domains with Arnold transform
Abdullah Text hiding based on hue content in HSV color space
CN103957343A (en) Color error diffusion method
CN101640653B (en) Mobile communication system and method, receiver and transmitter, receiving and transmitting method
CN109784451B (en) Method and device for expanding two-dimensional code coding capacity by using multiple colors
CN115567650B (en) Data management method for boiler intelligent operation monitoring cloud platform
CN112929669B (en) Image encoding and decoding method and device
Munir Comparison of secret color image sharing based on XOR operation in RGB and YCbCr color model
Jiao et al. Image steganography with visual illusion
CN110855990B (en) Image encoding method, image decoding method, computer device, and image processing system
CN111934845B (en) Image encryption method based on DNA coding
CN109326251A (en) Image data compression method and sequence controller

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
TR01 Transfer of patent right

Effective date of registration: 20180226

Address after: 530007 the Guangxi Zhuang Autonomous Region, China Hi tech Zone, the headquarters of the headquarters of the road No. 18, China ASEAN enterprise base, phase 5, No. three plant

Patentee after: NANNING FUGUI PRECISION INDUSTRIAL Co.,Ltd.

Address before: 518109 Guangdong city of Shenzhen province Baoan District Longhua Town Industrial Zone tabulaeformis tenth East Ring Road No. 2 two

Co-patentee before: HON HAI PRECISION INDUSTRY Co.,Ltd.

Patentee before: HONG FU JIN PRECISION INDUSTRY (SHENZHEN) Co.,Ltd.

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

Granted publication date: 20170405

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