Invention content
Non-image digital information is printed into the technical issues of being transmitted on a pictures for solution is above-mentioned, the present invention carriesA kind of digital information conversion method and device have been supplied, can realize following purpose:
(1) by video or other need the digital information that multiframe or multiple pages could be presented, including novel, textbookDeng printing to and be transmitted and read on a pictures;
(2) include the picture of above-mentioned digital content, there can be high-resolution photographic camera to obtain simultaneously by mobile phone etc.Identify content therein;
It (3), may be by shadows such as light, camera shrewdness components accuracies because photographic camera is when reading pixel map informationIt rings, will produce certain reading error, therefore when digital content is printed to a pictures, certain fault-tolerant machine can be providedSystem.
To solve the above problems, the first aspect of the present invention provides a kind of digital information conversion method, the number letterBreath is non-image digital information, is included the following steps:
The non-image digital information is converted into an at least width pixel map, wherein pre- in the non-image digital informationIf the data of size correspond to the color value for being expressed as at least one pixel in the pixel map;
The pixel map is showed optically, wherein the resolution ratio of the presentation of the pixel map is more than human eyeResolution capability.
Further, the data of the default size are the data of 24 bits, and value range is between 0-767.
Further, the resolution ratio that the pixel map is presented is not less than 1200 by the number of pixels that per inch possesses.
Further, according to the value model of each value of the data for presetting size described in the non-image digital informationIt encloses, determines the number for needing the corresponding at least one pixel indicated.
Further, the non-image digital information is digitized coding to be converted into an at least width pixelFigure, wherein the data of the default size pass through each value that the digital coding is formed, and are converted into successively correspondingAt least one pixel with different pixels color value, then shows according to the sequence of the digital coding successivelyCome.
Further, the method further includes:
Reconvert is at the width pixel map after the non-image digital information increases redundancy;
Or before being converted into the width pixel map, the non-image digital information is indicated with redundant sub-pixels, then againIt is converted into the width pixel map;
Or above two mode is implemented simultaneously.
Further, after the non-image digital information increases redundancy reconvert at the superfluous of the width pixel mapRemaining information includes being repeated as many times the non-image digital information before conversion;Redundancy is used before being converted into the width pixel mapPixel indicates that the redundant sub-pixels of the non-image digital information are:The information that can be indicated with 1 pixel is with 2 or multiple identicalPixel indicate.
Further, the pixel map showed may be used one of under type such as and indicate information:
Each pixel independently transmits digital information;
Adjacent pixel square formation transmits digital information as a whole;
Or digital information is transmitted as a whole by the pel array that certain way arranges.
Another aspect of the present invention additionally provides a kind of digital information restoring method, and the digital information is non-image numberWord information, includes the following steps:
A pixel map is obtained with optics photographic means, wherein the color value of at least one pixel is institute in the pixel mapThe corresponding of the data for presetting size in non-image digital information is stated to indicate;
Color value and location information according at least to pixel in the pixel map restore the non-image digital information,
The resolution ratio that the wherein described pixel map is presented is more than the resolution capability of human eye.
Further, the data of the default size are the data of 24 bits, and value range is between 0-767.
Further, the resolution ratio that the pixel map is presented is not less than 1200 by the number of pixels that per inch possesses.
Further, the method further includes:
Error correction is carried out to the non-image digital information;
Or pixel map is converted into non-image digital information using redundant sub-pixels;
Or above two mode is implemented simultaneously.
Further, the redundant sub-pixels are that one or many duplicate data of the non-image digital information are obtainedPixel, described the step of pixel map is converted to non-image digital information using redundant sub-pixels, further comprise:By redundant sub-pixelsAnd the data after the reduction of nonredundancy pixel carry out retaining the non-image digital information expressed by average data after being averaged.
Further, the pixel map that obtains optically includes:In the way of the photo-optics in mobile deviceIt obtains, the photo-optical Image Acquisition density is not less than the number of pixels 400 that per inch is possessed.
Further, the pixel map that obtains optically includes:The pixel map is amplified and is then carried outIt takes pictures.
Further, the method further includes:
The type for identifying the non-image digital information of reduction executes corresponding processing according to the type.
An additional aspect of the present invention additionally provides a kind of digital information conversion equipment, and the digital information is non-image numberWord information, including:
Digital information conversion module, for the non-image digital information to be converted into an at least width pixel map, wherein instituteThe data for stating default size in non-image digital information correspond to the color value for being expressed as at least one pixel in the pixel map;
Module is presented in pixel map, for the pixel map to be showed optically,
The resolution ratio that the wherein described pixel map is presented is more than the resolution capability of human eye.
Further, described device further includes:
First redundant module, for after the non-image digital information increases redundancy reconvert at described at least oneWidth pixel map;And/or
Second redundant module, for when being converted into an at least width pixel map, the non-figure to be indicated with redundant sub-pixelsAs digital information.
An additional aspect of the present invention provides a kind of digital information reduction apparatus, and the digital information indicates non-image numberWord information, including:
Pixel map acquisition module, for obtaining a pixel map with optics photographic means, wherein at least one in the pixel mapThe color value of a pixel is the corresponding expression for the data that size is preset in the non-image digital information;
Digital information recovery module restores institute for the color value and location information according at least to pixel in the pixel mapNon-image digital information is stated,
The resolution ratio that the wherein described pixel map is presented is more than the resolution capability of human eye.
Further, described device is photographic camera or the mobile device with photographic camera.
Further, described device further includes:
Correction module, for carrying out error correction to the non-image digital information;And/or
Redundancy recovery module, for pixel map to be converted to non-image digital information using redundant sub-pixels.
An additional aspect of the present invention additionally provides a kind of electronic equipment, including:
Memory and one or more processors;
Wherein, the memory is connect with one or more of processor communications, and being stored in the memory can quiltThe instruction that one or more of processors execute, described instruction is executed by one or more of processors, so that described oneA or multiple processors can realize method as elucidated before.
An additional aspect of the present invention additionally provides a kind of computer readable storage medium, the computer-readable storage mediumComputer executable instructions are stored in matter, the computer executable instructions are square as elucidated before to realize after being performedMethod.
In conclusion the present invention provides a kind of conversion of digital information and restoring method and corresponding device, the numberWord information is non-image digital information, the method includes:The non-image digital information is converted into an at least width pixel map,Wherein, the data correspondence that size is preset in the non-image digital information is expressed as at least one of pixel map pixelColor value;The pixel map is showed optically;Above-mentioned pixel map is obtained with optics photographic means;According at least to instituteThe size and location information for stating pixel color value restores the non-image digital information;The printing or display of the wherein described pixel mapResolution ratio be more than human eye resolution capability.
The above-mentioned technical proposal of the present invention has following beneficial technique effect:
(1) it is not necessarily to download that the more complex content such as video, novel, music can be obtained, saves bandwidth resources and speedIt is unrestricted, it is convenient to obtain in real time;
(2) by acquisition of information Integrated Simulation to mobile phone or other mobile devices, by mobile phone or other mobile devicesHigh-resolution camera, the non-image digital information that acquisition is printed on paper or otherwise presented is not necessarily to additional dedicatedEquipment can be downloaded with mobile phone or other mobile devices;
(3) by non-image digital information papery mode or other electronically present, propagate it is at low cost, applicability is wide.
Specific implementation mode
In order to make the objectives, technical solutions and advantages of the present invention clearer, With reference to embodiment and joinAccording to attached drawing, the present invention is described in more detail.It should be understood that these descriptions are merely illustrative, and it is not intended to limit this hairBright range.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid this is unnecessarily obscuredThe concept of invention.
The content that is shown of video of word, image and continuous multiple frames image composition, be by the acquisition of human eye byAcquired in people, for example be printed upon paper-made advertising, books or be shown in film on electronic media, TV etc..Due to point of human eyeResolution is limited, and the resolution ratio for improving printing or display unlimitedly is not necessarily to.For example, someone calculated,Minimum resolution distance under the sighting distance of 25cm is not 0.1mm.Higher resolution ratio, for example, will display content more smaller than 0.1mm,It cannot be captured by human eye.Therefore, there are certain limits for the content that can be shown on unit area.Therefore, Wo MenwuOne novel is compressed in video human-readable on the scraps of paper of a very little, can not to have larger data amount by one by methodPrint matter browses on a small scraps of paper for everybody.Fiche can also be realized print to one section of video in some senseOn one pictures.For example, using fiche technology, all picture frames in one section of video are reduced frame by frame and print to oneOn film, the purpose on a sheet of paper by video printing can also be realized.However, fiche, is the production for simulating the calculating epochObject, the printing and reading of film are required for special equipment, and fiche is simply to contract to original imageIt is small, larger information loss can be caused in micro process and reading process.Fiche is only applicable to analog imageAcquisition and diminution.Fiche technology directly can not carry out compression processing to digital content.And the year extremely universal in digitlizationGeneration, how by digitized content, including text, text+image blend, computer installation procedure, music, the image after codingOr video data, and other computer datas in addition to music, video, image, text, it prints on a sheet of paper, orIt is shown on the page of electronic curtain, is that the prior art does not solve the problems, such as fully.
For the ease of the propagation of information, it would be desirable to which a kind of new technology, the technology can realize following purpose:
(1) by video or other need the digital information that multiframe or multiple pages could be presented, including novel, textbookDeng printing to and be transmitted and read on a pictures;
(2) include the picture of above-mentioned digital content, there can be high-resolution photographic camera to obtain simultaneously by mobile phone etc.Identify content therein;
It (3), may be by shadows such as light, camera shrewdness components accuracies because photographic camera is when reading pixel map informationIt rings, will produce certain reading error, therefore when digital content is printed to a pictures, certain fault-tolerant machine can be providedSystem.
In the present invention, the mode of non-image digital content image is showed, purpose is not configured to the sight of human eyeIt surveys, in other words, the content not instead of image itself which really transmits, in order to more easily by number as much as possibleIt is visible that word content is converted into human eye acquired in other daily common equipment such as mobile phone, then by these common equipmentForm.A kind of common form by digital information image conversion is Quick Response Code.But the purpose of the present invention is different from existing Quick Response Code.One main usage of Quick Response Code is to be presented brief text (such as URL) or identity information coding in quick response code formIn image, information content is no more than the information content that human eye can identify in the image of same area, accordingly even when with relatively low pointThe camera of resolution can also quickly and accurately identify the content of Quick Response Code.It is generally believed that the pixel density of an image is in every EnglishWhen very little possessed number of pixels is more than 300 or more, the limit that human eye can be differentiated is had reached.In our inventionIn, in order to which on the area of certain size, more information content that transfer ratio human eye can be read use figure as high as possibleAs printing or display resolution.For this purpose, we are by minimum printing or display, rate is set as the pixel that per inch is possessed respectivelyNumber (Pixel Per Inch) is not less than 1200 (1200PPI).Existing printing or display technology have been able to realizePixel density even higher 1200PPI.
The first aspect of the invention is to provide a kind of digital information conversion method, and the digital information is non-image numberInformation, as shown in Figure 1, including the following steps:(1) the non-image digital information is converted into an at least width pixel map, whereinThe data that size is preset in the non-image digital information correspond to the color for being expressed as at least one of pixel map pixelValue;(2) pixel map is printed or is shown optically;The resolution ratio of printing or the display of the wherein described pixel mapMore than the resolution capability of human eye.
Non-image digital information described here includes but is not limited to:Text, text and image blend, application program, peacePacket, multi-medium data are filled, using data and other computers storage data, after the multi-medium data includes music, codingImage or video data etc..Particularly, in the present invention, the image after coding or video data are not considered as image digitizationContent is showed in the way of image them by the technology of the present invention because they are the transition forms of original imageWhen, not its original image presented, but the data after the coding of image conversion presentation.
In above-mentioned steps (1), non-image digital information is indicated first with color value, is then converted into a width pixel map.The pixel color value is the combination of the value or value of each color separated under RGB and CMYK patterns.By taking RGB patterns as an example, rgb colorPattern is a kind of color standard of industrial quarters, be by red (R), green (G), blue (B) three Color Channels variation and itMutual superposition obtain miscellaneous color, RGB is the color for representing three channels of red, green, blue.Assuming thatEach the color value in channel is indicated with 8 bits, theoretically, if the color recognition ability of camera is accurate enough, fromThe data of 24 bits can be identified in one pixel.And CMYK is also referred to as printing color pattern, represents four in printingKind color, C represent cyan (Cyan), and M represents carmetta (Magenta), and Y represents yellow (Yellow), and K represents black(Black).As RGB patterns, CMYK patterns also have channel, and are 4, each one of C, M, Y, K.Each channel colors of CMYKAnd dependent, the practical distinguishable number of colours that can be generated is ten thousand kinds of 100 × 100 × 100=100, theoretically, if cameraColor recognition ability it is accurate enough, then can identify the data of 19 bits from a CMYK pixel.With skillThe color recognition capability of the progress of art, the following camera can be further improved, the bit that a pixel can expressNumber can be more.In one embodiment of the invention, it according to the value range of non-image digital information, determines and needs how manyPixel indicates.By taking RGB patterns as an example, if value range can use the numberical range of 3 0-255 between, with 1 pixelIt indicates, because 1 pixel includes tri- kinds of colors of RGB, as shown in table 1 below, each pixel value has one-to-one mappingRelationship, the value range that 1 pixel determines is between 0-767 (256*3=768).Further, the institute in the step (1)The data for stating default size are the data of 24 bits, and value range is between 0-767.After the value for determining pixel, according to pixelPixel is included or being printed upon on the surface of certain material on electronic curtain by value.General non-image digital information quantity is more,Digital information can be so digitized to each value after coding, and (value is made of 3*8=24 bits, and value range isBetween 0-767), it is converted into the corresponding pixel with different colours value successively, and show successively.The mode presented successivelyCan be line by line, any scheduled shape such as square, circle.As described above, in order on the area of certain size, transfer ratioMore information content that human eye can be read use image as high as possible and resolution ratio are presented.For this purpose, minimum is in by weNow rate is set as the number of pixels (Pixel Per Inch) that per inch is possessed and is not less than 1200 (1200PPI) respectively.
As shown in Figure 1, one section of video information is passed through digital coding, all values of digital coding are converted into successivelyPixel with different colours value, and show successively, form rambling pixel map shown in FIG. 1.By pixelInformation restore, the pixel map will be reduced into before video data.
Table 1
Because photographic camera when reading pixel map information, may be influenced, meeting by light, camera shrewdness components accuracy etc.Certain reading error is generated, therefore when digital content is printed to a pixel map, certain fault tolerant mechanism can be provided.A kind of method be after the non-image digital information increases redundancy reconvert at the piece image.Simplest modeExactly say data repeated several times.Camera carries out duplicate data when restoring initial data (data) certainRetain a data after processing, for example multiple data are averaged.Alternatively, when being converted into the piece image, redundancy is usedPixel indicates the non-image digital information.For example, the information that can be indicated originally with 1 pixel, with 2 or multiple identicalPixel indicates.Alternatively, two kinds of fault-tolerant measures are implemented simultaneously.
The pixel map is printed or is shown including diversified forms optically in the step (2), for example, willThe pixel map is printed upon on a body surface, is either projected with projection pattern or is presented in a manner of electronic curtain.
In another aspect of the present invention, a kind of digital information restoring method is provided, is showed with the mode of pixel mapNon-image digital content is used for acquired in photographic camera and decodes.Camera needs to obtain each picture in the pixel mapElement color value, each pixel with respect to entire image position.The information before image conversion is recovered successively according to these information.As shown in Fig. 2, the restoring method specifically comprises the following steps:(1) optics photographic means are used to obtain a pixel map, wherein describedThe color value of at least one of pixel map pixel is the corresponding expression for the data that size is preset in the non-image digital information;(2) the non-image digital information is restored according at least to the size and location information of the color value of pixel in the pixel map;ItsDescribed in pixel map printing or display resolution ratio be more than human eye resolution capability.
Because photographic camera when reading pixel map information, may be influenced, meeting by light, camera shrewdness components accuracy etc.Certain reading error is generated, to ensure that the non-image digital information obtained after reduction process reduces compared with the information before conversionError further includes an error correction step in the reduction process, specifically includes:Error correction is carried out to the non-image digital information;OrPixel map is converted to non-image digital information by person using redundant sub-pixels;Or two kinds of error corrections are implemented simultaneously.The redundancyPixel is the obtained pixel of one or many duplicate data of the non-image digital information, described to utilize redundant sub-pixels by pictureSketch map is converted to the step of non-image digital information and further comprises:By the data after redundant sub-pixels and the reduction of nonredundancy pixelRetain the non-image digital information expressed by average data after carrying out averagely.
The step of obtaining a pixel map optically in the step (1) is the photo-optics side in utilization mobile deviceFormula obtains, and the photo-optical Image Acquisition density is not less than the number of pixels 400 that per inch is possessed.It is digital at present to shineThere are mainly two types of the image sensors that camera uses:One is CCD (conjunction of charge lotus root) devices;Another kind is CMOS (complementary metalsOxide conductor) device.In order to successfully restore the information for being converted into image, the optically detecting resolution ratio of digital cameraThe resolution ratio that image shows or prints must be not less than.Such as:If the resolution ratio of the pixel printed is 1200PPI, thatAcquisition resolution just must be over 1200PPI or even 2400PPI or more.For example, one print by 1200PPI inHold, if expressing a useful information with 4 pixels, the chromatic value of this 4 pixels is identical.It can essentially expressInformation pixels be 300PPI (i.e. 4 pixels ought a use).The pixel printed may be used under type such as and indicate to believeBreath:(1) each pixel independently transmits digital information;(2) (with pixel box formation, this sentences 4 pixels to four adjacent pixelsFor, can also be 9 pixels, 16 pixels etc.) digital information is transmitted as a whole;(3) the four of certain way arrangement are pressedA pixel (in the form of pel array, such as row, perpendicular row, L-shaped, T shapes etc., for this sentences 4 pixels, it can also be arbitrarily moreThe combination of a pixel) digital information is transmitted as a whole.
In one embodiment, digital camera is also equipped with optical amplifier ability, in photograph, is put to target imageGreatly, more clearly to take the Pixel Information of minimum particle size.
After information acquisition apparatus has restored the data before conversion using optical camera, it can be taken according to data content as followsFurther action:
Judge that the data recovered as computer program, then install computer program;
Judge that the data recovered as a first or several songs, then play music;
Judge that the data recovered mix content as text or text image, then opens in text or text+imageHold;
The data recovered are judged as coded picture data, then image solution are carried out to the non-image digital informationCode is simultaneously presented;
The data recovered are judged as encoded video data, then video solution are carried out to the non-image digital informationCode simultaneously plays;
No matter that data, the data can be preserved.
Another aspect of the present invention is to provide the digital information conversion equipment of above-mentioned digital information conversion method, such as Fig. 3Shown, the digital information is non-image digital information, including:Digital information conversion module is used for the non-image numberInformation is converted into an at least width pixel map, wherein the data correspondence that size is preset in the non-image digital information is expressed as instituteState the color value of at least one of pixel map pixel;Module is presented in pixel map, for being in by the pixel map opticallyReveal and, wherein the resolution ratio that the pixel map is presented is more than the resolution capability of human eye.
Further, described device further includes:
First redundant module, for after the non-image digital information increases redundancy reconvert at described at least oneWidth pixel map;And/or
Second redundant module, for when being converted into an at least width pixel map, the non-figure to be indicated with redundant sub-pixelsAs digital information.
An additional aspect of the present invention is to provide the digital information reduction apparatus based on the digital information restoring method, such asShown in Fig. 4, the digital information indicates non-image digital information, including:Pixel map acquisition module, for using optics photographic meansObtain a pixel map, wherein the color value of at least one of described pixel map pixel is pre- in the non-image digital informationIf the corresponding of the data of size indicates;Digital information recovery module, for the color value according at least to pixel in the pixel mapSize and location information restore the non-image digital information, wherein the resolution ratio that the pixel map is presented is more than point of human eyeDistinguish ability.Described device is photographic camera or the mobile device with photographic camera.
An additional aspect of the present invention additionally provides a kind of electronic equipment, including:
Memory and one or more processors;
Wherein, the memory is connect with one or more of processor communications, and being stored in the memory can quiltThe instruction that one or more of processors execute, described instruction is executed by one or more of processors, so that described oneA or multiple processors can realize method as elucidated before.
The last one aspect of the present invention additionally provides a kind of computer readable storage medium, the computer-readable storageBe stored with computer executable instructions in medium, the computer executable instructions be performed after realizing as elucidated beforeMethod.
Different according to the content for printing or showing, the present invention has the following typical application:
Video printing on paper media:Video content is digitized coding, increases fault tolerant mechanism, with image conversionMode print on papery poster, be used for advertisement and publicity.Reader, which opens, has high-resolution camera on mobile phone, collectIt is printed upon the image conversion video content of papery poster, error correction, decoding is digitized, restores the video content of normal format, soAfter play.
Word printing on paper media:By word (or word+image) content of the longer length such as novel, teaching material intoDigitized is encoded to increase fault tolerant mechanism, be printed on paper material in a manner of image conversion.Reader opens to be had on mobile phoneHigh-resolution camera collects the content being printed upon on paper material, is digitized error correction, decoding, restores normal formatWord (or word+image) content, then present, for readers ' reading.
Music download is carried out by papery:Music content is digitized and is encoded to increase fault tolerant mechanism, with image conversionMode print on paper material.Reader, which opens, has high-resolution camera on mobile phone, collect and be printed upon paper materialOn content, be digitized error correction, decoding, restore the music content of normal format, for mobile phone play.
APP downloads are carried out by papery:APP installation kits are digitized and are encoded to increase fault tolerant mechanism, with image conversionMode print on paper material.Reader, which opens, has high-resolution camera on mobile phone, collect and be printed upon paper materialOn content, be digitized error correction, decoding, restore the APP installation kit contents of normal format, for mobile phone install.
In conclusion according to the conversion of above-mentioned digital information provided by the invention, restoring method and its corresponding conversion, going backOriginal device, electronic equipment and its computer readable storage medium, the conversion and restoring method include:By the non-image numberInformation is converted into an at least width pixel map, wherein the data correspondence that size is preset in the non-image digital information is expressed as instituteState the color value of at least one of pixel map pixel;The pixel map is showed optically;With photo-optics sideFormula obtains above-mentioned pixel map;According at least to the size and location information reduction non-image number letter of the pixel color valueBreath;The resolution ratio of printing or the display of the wherein described pixel map is more than the resolution capability of human eye.The present invention can realize to be had as followsBeneficial effect:Can obtain the more complex content such as video, novel, music without downloading, save bandwidth resources and speed not byLimitation, it is convenient to obtain in real time;By on acquisition of information Integrated Simulation to mobile phone or other mobile devices, pass through mobile phone or other movementsHigh-resolution camera in equipment acquires the non-image digital information for printing on paper or otherwise presenting, and is not necessarily to volumeOuter special equipment can be downloaded with mobile phone or other mobile devices;By non-image digital information papery mode or other electronicsMode is presented, and propagation is at low cost, applicability is wide.
It should be understood that the above-mentioned specific implementation mode of the present invention is used only for exemplary illustration or explains the present invention'sPrinciple, but not to limit the present invention.Therefore, that is done without departing from the spirit and scope of the present invention is anyModification, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.In addition, appended claims purport of the present inventionCovering the whole variations fallen into attached claim scope and boundary or this range and the equivalent form on boundary and is repairingChange example.