CN101729733B - Method and device for processing image by rendering digital photo with characters - Google Patents

Method and device for processing image by rendering digital photo with characters Download PDF

Info

Publication number
CN101729733B
CN101729733B CN2008101705733A CN200810170573A CN101729733B CN 101729733 B CN101729733 B CN 101729733B CN 2008101705733 A CN2008101705733 A CN 2008101705733A CN 200810170573 A CN200810170573 A CN 200810170573A CN 101729733 B CN101729733 B CN 101729733B
Authority
CN
China
Prior art keywords
literal
digital photo
color
text file
present
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.)
Expired - Fee Related
Application number
CN2008101705733A
Other languages
Chinese (zh)
Other versions
CN101729733A (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.)
Altek Corp
Original Assignee
Altek Corp
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 Altek Corp filed Critical Altek Corp
Priority to CN2008101705733A priority Critical patent/CN101729733B/en
Publication of CN101729733A publication Critical patent/CN101729733A/en
Application granted granted Critical
Publication of CN101729733B publication Critical patent/CN101729733B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The present invention relates to a method for processing an image by using characters to represent a digital photo, comprising the following steps: selecting a digital photo; selecting a character file which contains a plurality of characters which are arranged in preset rows and preset columns; dividing the digital photo into a plurality of small photo blocks which correspond to the number of the characters contained in the character file according to the number of the characters contained in the character file; calculating the average color value of each small photo block to obtain the average color of each small photo block; appointing the color of each character as the average color of each small photo block to chromatically process each character; and outputting the chromatically processed character to render the color and the pattern of the digital photo in the character arranging way.

Description

The image treatment method and the device that present digital photo with literal
Technical field
The present invention relates to a kind of image treatment method and device, refer to a kind of image treatment method and device that presents digital photo with literal especially.
Background technology
Because digital processing technology is flourish, and then drives releasing one after another of a large amount of digitlization associated electrical products.In numerous digital products, digital photographing apparatus is the electronic product that welcome by the general common people always, its provide the digitlization camera function allow especially the general common people more convenient operation take pictures and the fast browsing result that takes pictures.
And present digital camera arrangement is in order to provide the different effects of taking pictures, for example can provide the different contextual model of taking pictures selective, also or the digital photo that provides system feature operation in back to come to obtain taking pictures carries out image editing, for example can cut out etc. adjustment, photograph that digital photo adds frame, image parameter.
Yet the present editor of digital photo all is to focus on that beautifying of photograph itself compile processing, still lacks the appreciation effect of amusement interest.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of and presents the image treatment method and the device of digital photo with literal, and it can be handled the image information in the digital photo by chromatography, show and export in the text file with special pattern.
Moreover, digital camera product now, except than take the photo quality of coming whether, whether camera itself has become the consumer to choose camera whether another index with other additional functionality.The present invention proposes a kind of can allowing and takes the effect that the photo that comes improves and plays, and the user can specify a photo and select one group of literal (text file), and the built-in program of camera is promptly used these literal and formed the content of photo originally.The special efficacy that the present invention produced is simple, can bring the user extra enjoyment, and then the person of boosting consumption buys the desire of camera.
In order to solve the problems of the technologies described above, according to a kind of scheme of the present invention, provide a kind of and present the image treatment method of digital photo with literal, it comprises the following steps: at first, a selected digital photo; Then, a selected text file, it has a plurality of literal that are arranged in a predetermined line number and columns; Then, according to the number of words of selected text file, this digital photo is divided into a plurality of thumbnails corresponding to the number of words of this literal file, the line number of described thumbnail and columns are corresponding one by one with the line number and the columns of described text file; Next, calculate the color average of each thumbnail, to obtain the average color of each thumbnail; And then, specify the color of each literal to be average color, handle with the chromatography of carrying out each literal corresponding to each thumbnail; At last, export the literal after described these chromatographys, and then present the color and the pattern of this digital photo in the mode of character arranging.
In order to solve the problems of the technologies described above, according to another kind of scheme of the present invention, provide a kind of and present the image processor of digital photo with literal, it comprises: a control module, a storage module, an image processing module, a chromatography module, an and display module.Wherein, this storage module is coupled to this control module, and this storage module has the photograph database that a text file database and that stores a plurality of text files stores at least one digital photo, and wherein each text file has a plurality of literal that are arranged in a predetermined line number and columns.This image processing module is controlled by this control module, with so that selected digital photo is divided into a plurality of thumbnails corresponding to the number of words of this literal file, and to obtain the average color of each thumbnail, the line number of described thumbnail and columns are corresponding one by one with the line number and the columns of described text file in order to the color average that calculates each thumbnail.This chromatography module is controlled by this control module, is the average color corresponding to each thumbnail in order to the color of specifying each literal, handles with the chromatography of carrying out each literal.This display module is controlled by this control module, in order to exporting the literal after described these chromatographys, and then presents the color and the pattern of this digital photo in the mode of character arranging.
Therefore by above-mentioned execution mode, the present invention can present the whole content of digital photo by the lattice point of a plurality of arrangements in the text file, and its presentation mode is with the feature of the text file figure that provided itself, mode can allow digital photo show with the entertaining entertainment effect whereby, can have individual unique digital photo display effect and interest to satisfy the user.
Reach technology, means and the effect that predetermined purpose is taked in order further to understand the present invention, see also following about detailed description of the present invention and accompanying drawing, believe purpose of the present invention, feature and characteristics, go deep into and concrete understanding when getting one thus, yet appended accompanying drawing only provides reference and explanation usefulness, is not to be used for the present invention is limited.
Description of drawings
Fig. 1 presents the functional block diagram of the image processor of digital photo for a preferred embodiment of the present invention with literal;
Fig. 2 is wherein a kind of arrangement schematic diagram of text file of the present invention;
Fig. 3 presents the flow chart of the image treatment method of digital photo for a preferred embodiment of the present invention with literal;
Fig. 4 carries out schematic diagram before the image processing for the present invention to digital photo; And
Fig. 5 carries out schematic diagram after the image processing for the present invention to digital photo.
[main element description of reference numerals]
Control module 10
Storage module 20 photograph databases 201
Lteral data storehouse 203
Image processing module 30
Chromatography module 40
Display module 50
Embodiment
The invention enables the image information (as image color and image contour) of digital photo can apply mechanically to another text file, and this text file present the image information of digital photo with a plurality of lattice points of clathrate arrangement mode.
In order more to clearly demonstrate technical characterictic of the present invention, next please refer to Fig. 1, this embodiment presents the functional block diagram of the image processor of digital photo with literal for the present invention.The described image processor of present embodiment can present different visual effects by another style by digital photo, mainly be that digital photo is sheathed with a text file, and the figure that provides by text file itself demonstrates digital photo.The image processor of present embodiment includes: a control module 10, a storage module 20, an image processing module 30, a chromatography module 40 and a display module 50.
Wherein, control module 10 couples with storage module 20, image processing module 30, chromatography module 40 and display module 50 respectively, and is used for controlling the working resource that handling procedure between each module and each module of coordinated allocation are used.Control module 10 is generally by the matched combined of hardware and software and finishes aforementioned work, and for example present embodiment can be implemented by having the little process chip of programmable firmware (firmware) and the relevant peripheral circuit of implanting (as operating and controlling interface) of arranging in pairs or groups simultaneously.
More include photograph database 201 and text file database 203 in this storage module 20, wherein photograph database 201 is to be used for the store digital photograph.In other words, this storage module 20 has the photograph database 201 that a text file database 203 and that stores a plurality of text files stores at least one digital photo, wherein each text file has and a plurality ofly is arranged in a predetermined line number and the literal of columns, and the source of this digital photo can be to take pictures to obtain or obtain by other electronic installation (as computer).
In addition, text file database 203 stores the file of a plurality of text files, the enforcement aspect of text file can (wherein the number of words of the number of words of each row and each row be all identical as the illustrating of Fig. 2, and described these literal each interval one preset distances), text file only does that to illustrate not be to be used for limiting the scope of the invention herein, text file still can have other to implement aspect, and the text file of present embodiment is defined by being constituted with a plurality of lattice point that clathrate is arranged.Therefore present embodiment can calculate the line number of this literal file and the information such as number of words of every row automatically when reading text file.
Image processing module 30 is used for receiving the control of control module 10, can be divided into a plurality of lattice points that clathrate is arranged to digital photo, and respectively the image information in these lattice points is carried out image processing, so that the brightness of the pixel of each lattice point and color can obtain evenly in the digital photo, so digital photo each lattice point after through image processing all only can present with a color.In other words, this image processing module 30 is controlled by this control module 10, with so that selected digital photo is divided into a plurality of thumbnails corresponding to the number of words of this literal file, and to obtain the average color of each thumbnail, the number of words of wherein said these literal is multiplied by columns by line number and gets in order to the color average that calculates each thumbnail.
Chromatography module 40 is according to the control of control module 10, be used for and fill out the position of institute's corresponding lattice point in the text file through the color of each lattice point in the digital photo after the image processing, that is the figure of each lattice point in the text file after coloring in presents with the color in the digital photo institute corresponding lattice point.In other words, this chromatography module 40 is controlled by this control module 10, is the average color corresponding to each thumbnail in order to the color of specifying each literal, handles with the chromatography of carrying out each literal.
Display module 50 has been used to provide Presentation Function according to the control of control module 10, can be used to the result of show image processing module 30 and chromatography module 40.In other words, this display module 50 is controlled by this control module 10, in order to exporting the literal after described these chromatographys, and then presents the color and the pattern of this digital photo in the mode of character arranging.In addition, the literal after described these chromatographys is output as an image format or a webpage (HTML) form, to be presented on the screen (display module 50).
This control module 10 is for the coordination of each module control, is to allow the user choose earlier a text file with the number of words of judging every row and line number altogether when operation from this literal document data bank 203.Then from photograph database 201, choose a digital photo and it is carried out lattice point division and image processing (calculating the average color of each thumbnail) for this image processing module 30.Chromatography module 40 can be with corresponding lattice point position in the so far selected text file of each lattice point color cover in the digital photo after the image processing.And this control module 10 is to show relevant display message by display module 50 in this implementation.
Next please continue to consult Fig. 3, it presents the flow chart of the image treatment method of digital photo for a preferred embodiment of the present invention with literal, and the related description that can consult Fig. 1 in the lump, and execution in step is as follows:
Step S301 is: a selected digital photo.
Step S303 is: a selected text file, it has an a plurality of line number of being scheduled to and literal of columns of being arranged in.
Step S305 is: according to the number of words of selected text file, this digital photo is divided into a plurality of thumbnails corresponding to the number of words of this literal file.
Step S307 is: calculate the color average of each thumbnail, to obtain the average color of each thumbnail.
Step S309 is: specify the color of each literal to be the average color corresponding to each thumbnail, handle with the chromatography of carrying out each literal.
Step S311 is: export the literal after described these chromatographys, and then present the color and the pattern of this digital photo in the mode of character arranging.
Further selected text file is judged its whether identification smoothly among the step S303 in the 3rd figure, whether the number of words of every row is identical in this selected text file of present embodiment identification; Belong to cognizable if then represent this selected text file, then selected if not text file is just belonged to by identification can not identification, and must choose another text file again.
Step S305 in Fig. 3, how many lattice points how selected digital photo will be divided into, present embodiment with text file selected among the step S303 as the basis, for example selected text file is when forming a plurality of lattice point of clathrate arrangement with n * m unit, and this selected digital photo then is to divide with n * m unit to form a plurality of lattice points that clathrate is arranged equally.
Step S309 in Fig. 3, because digital photo is divided into a plurality of lattice points that have same array format with text file, therefore each lattice point in digital photo all can correspond to corresponding each lattice point in the text file, each lattice point in the text file is all represented its position by a coordinate figure simultaneously, and therefore the color of taking out when each lattice point from digital photo can correctly be filled out in the corresponding lattice point position by the coordinate figure of each lattice point in the text file.
Therefore for the explanation of earlier figures 1 and Fig. 3, when can further understanding being arranged to this case, and in order to make technical characterstic of the present invention more clear, next lift an example explanation, and see also Fig. 4 and Fig. 5, wherein Fig. 4 carries out schematic diagram before the image processing for the present invention to digital photo, and Fig. 5 carries out schematic diagram after the image processing for the present invention to digital photo.The color of each lattice point is a chromatography to as the text file among Fig. 2 among Fig. 4, and this chromatography after the result be presented among Fig. 5.Therefore, by processing of the present invention, for script Fig. 4 clearly digital photo can be processed into and have " readable high " as figure and reach the character arranging of " having color " and presented.
In addition, the present invention also can import many group digital photos simultaneously and many group text files carry out above-mentioned image processing, for example: can select the digital photo of different expressions according to above-mentioned many group different story of a play or opera that text file comprised (as connecting drama), to reach the effect of entertaining.
In sum, previous embodiment provided presents the image treatment method and the device of digital photo with literal, provide the user to represent digital photo originally by another individual style, make that digital photo no longer is stiff and not tool variation, but be full of the appreciation effect of entertaining amusement.
Moreover embodiment provided by the present invention also can be incorporated into it in digital camera arrangement and to implement to use, so that the user can present the result that the takes pictures mode by previous embodiment and store; In addition for the ordinary skill in the art, its processing of dividing form also can be with reference to the lattice point arrangement mode in the selected text file for selected digital photo, how to divide and can decide in its sole discretion, and should correspond to that lattice point in the text file to its definition each lattice point behind the digital photo division form by the user.
But; the above; only be the detailed description and the accompanying drawing of one the specific embodiment of the best of the present invention; but feature of the present invention is not limited thereto; be not that all scopes of the present invention should be as the criterion with claim, all embodiment that meets the spirit variation similar with it of claim of the present invention in order to restriction the present invention; all should be contained in the category of the present invention, in the field of the present invention any those of ordinary skill can think easily and variation or revise all can be encompassed within the scope of patent protection of this case.

Claims (9)

1. one kind presents the image treatment method of digital photo with literal, it is characterized in that, comprises the following steps:
A selected digital photo;
A selected text file, it has a plurality of literal that are arranged in a predetermined line number and columns;
According to the number of words of selected text file, this digital photo is divided into a plurality of thumbnails corresponding to the number of words of this literal file, the line number of described thumbnail and columns are corresponding one by one with the line number and the columns of described text file;
Calculate the color average of each thumbnail, to obtain the average color of each thumbnail;
Specify the color of each literal to be average color, handle with the chromatography of carrying out each literal corresponding to each thumbnail; And
Export the literal after described these chromatographys, and then present the color and the pattern of this digital photo in the mode of character arranging.
2. the image treatment method that presents digital photo with literal as claimed in claim 1, it is characterized in that: this digital photo is taken pictures by digital camera arrangement and is obtained or obtain by the content that stores in the storage module, and this digital photo is a bitmap file.
3. as claimed in claim 1ly present the image treatment method of digital photo with literal, it is characterized in that: this literal file is selected from a text file database.
4. as claimed in claim 1ly present the image treatment method of digital photo with literal, it is characterized in that: the literal after described these chromatographys is output as an image format or a webpage format, to be presented on the screen.
5. one kind presents the image processor of digital photo with literal, it is characterized in that, comprising:
One control module;
One storage module, it is coupled to this control module, and this storage module has the photograph database that a text file database and that stores a plurality of text files stores at least one digital photo, and wherein each text file has a plurality of literal that are arranged in a predetermined line number and columns;
One image processing module, it is controlled by this control module, with so that selected digital photo is divided into a plurality of thumbnails corresponding to the number of words of this literal file, and in order to calculate the color average of each thumbnail, to obtain the average color of each thumbnail, the line number of described thumbnail and columns are corresponding one by one with the line number and the columns of described text file; And
One chromatography module, it is controlled by this control module, is the average color corresponding to each thumbnail in order to the color of specifying each literal, handles with the chromatography of carrying out each literal.
6. the image processor that presents digital photo with literal as claimed in claim 5, it is characterized in that, further comprise: a display module, it is controlled by this control module, in order to exporting the literal after described these chromatographys, and then present the color and the pattern of this digital photo in the mode of character arranging.
7. as claimed in claim 5ly present the image processor of digital photo with literal, it is characterized in that: this digital photo is taken pictures by digital camera arrangement and is obtained or obtain by the content that stores in the storage module.
8. as claimed in claim 5ly present the image processor of digital photo with literal, it is characterized in that: this literal file is to select from a text file database.
9. as claimed in claim 5ly present the image processor of digital photo with literal, it is characterized in that: the literal after described these chromatographys is output as an image format or a webpage format, to be presented on the screen.
CN2008101705733A 2008-10-23 2008-10-23 Method and device for processing image by rendering digital photo with characters Expired - Fee Related CN101729733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101705733A CN101729733B (en) 2008-10-23 2008-10-23 Method and device for processing image by rendering digital photo with characters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101705733A CN101729733B (en) 2008-10-23 2008-10-23 Method and device for processing image by rendering digital photo with characters

Publications (2)

Publication Number Publication Date
CN101729733A CN101729733A (en) 2010-06-09
CN101729733B true CN101729733B (en) 2011-08-03

Family

ID=42449867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101705733A Expired - Fee Related CN101729733B (en) 2008-10-23 2008-10-23 Method and device for processing image by rendering digital photo with characters

Country Status (1)

Country Link
CN (1) CN101729733B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1313004A (en) * 1998-06-23 2001-09-12 夏普公司 Image processor, image processing method, and medium on which image processing program is recorded
JP2007001312A (en) * 2006-07-27 2007-01-11 National Printing Bureau Halftone dots printed matter and method for printing the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1313004A (en) * 1998-06-23 2001-09-12 夏普公司 Image processor, image processing method, and medium on which image processing program is recorded
JP2007001312A (en) * 2006-07-27 2007-01-11 National Printing Bureau Halftone dots printed matter and method for printing the same

Also Published As

Publication number Publication date
CN101729733A (en) 2010-06-09

Similar Documents

Publication Publication Date Title
CN103092612B (en) Realize method and the electronic installation of Android operation system 3D desktop pinup picture
CN104244024B (en) Video cover generation method and device and terminal
CN103634650B (en) A kind of image processing method and system based on intelligent television platform
JP5408208B2 (en) Image display system, image display apparatus and program
CN109358851A (en) Creation method, device and the computer readable storage medium of chart components
US20130314434A1 (en) System and method for image collage editing
CN106796734A (en) For the performance optimization of data visualization
CN106204735B (en) Application method of the Unity3D terrain datas in 11 environment of Direct3D
CN109741425B (en) Banner picture generation method and device, storage medium and computer equipment
CN108924440B (en) Sticker display method, device, terminal and computer-readable storage medium
US9563973B2 (en) Color selector for desktop publishing
CN111223045B (en) Jigsaw method and device and terminal equipment
CN105045587B (en) A kind of picture display method and device
JP7125199B2 (en) Systems, methods and computer program products for plant monitoring
CN108230236B (en) Digital image automatic imposition method and digitally published picture imposition method
US9183215B2 (en) Mosaic display systems and methods for intelligent media search
CN102934064B (en) Theme display method and device thereof
CN107861711B (en) Page adaptation method and device
CN111787240B (en) Video generation method, apparatus and computer readable storage medium
CN114638939A (en) Model generation method, model generation device, electronic device, and readable storage medium
CN114564131A (en) Content publishing method and device, computer equipment and storage medium
CN101729733B (en) Method and device for processing image by rendering digital photo with characters
CN113223187A (en) Advertisement finished product image batch manufacturing method, system, equipment and readable storage medium
CN106998489A (en) A kind of focus is crossed the border searching method and device
CN115188349B (en) Method and system for editing user-defined content of mobile variable traffic information board

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110803

Termination date: 20131023