CN105138296B - The method and apparatus of virtual spectators' head portrait mosaic - Google Patents
The method and apparatus of virtual spectators' head portrait mosaic Download PDFInfo
- Publication number
- CN105138296B CN105138296B CN201510424598.1A CN201510424598A CN105138296B CN 105138296 B CN105138296 B CN 105138296B CN 201510424598 A CN201510424598 A CN 201510424598A CN 105138296 B CN105138296 B CN 105138296B
- Authority
- CN
- China
- Prior art keywords
- virtual
- head portrait
- spectators
- word
- auditorium
- 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
Links
Landscapes
- Pinball Game Machines (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of method and apparatus of virtual spectators' head portrait mosaic, belong to virtual spectators' head portrait process field.The method includes:Pre-set word to be shown;The word is divided into N number of point, determines the position coordinates of N number of point on the screen, the N is the natural number more than 1;N number of virtual spectators' head portrait is obtained from virtual auditorium;N number of virtual spectators' head portrait is included to be combined into the word on N number of point.Described device includes:Setup module, processing module, acquisition module and assembling mould-block.The present invention is realized is combined into word using virtual spectators' head portrait in virtual auditorium, enhances the display effect of word, improves the interest of text importing.
Description
Technical field
The present invention relates to image processing field, more particularly to a kind of method and apparatus of virtual spectators' head portrait mosaic.
Background technology
Image typically refers to the general name of various figures and image, is all pictures with visual effect.Image is the mankind
Most common information carrier in social activities.Image can be divided into two major class according to the difference of recording mode:Analog image and number
Image.Analog image can record image luminance information, such as simulate by the strong and weak variation of certain physical quantity such as light, electricity etc.
Television image.Digital picture is then the data that are stored with computer to record the luminance information of each point on image.
At present, the processing done in a computer to image common are:Movement, rotation, scaling and the distortion of image become
Shape etc. can carry out image output etc. with different resolution ratio.
Invention content
The present invention provides a kind of method and apparatus of virtual spectators' head portrait mosaic, are spelled with realizing using virtual spectators' head portrait
Into word, enhance the display effect of word.The technical solution is as follows:
In a first aspect, the present invention provides a kind of method of virtual spectators' head portrait mosaic, the method includes:
Pre-set word to be shown;
The position of the text importing and the size of the word are arbitrarily determined on the screen;
The word is divided into N number of point, determines the position coordinates of N number of point on the screen, the N is more than 1
Natural number;
N number of virtual spectators' head portrait is obtained from virtual auditorium;
N number of virtual spectators' head portrait is included to be combined into the word on N number of point.
Wherein, it before obtaining N number of virtual spectators' head portrait from virtual auditorium, further includes:
Virtual auditorium is generated on the screen, and one is shown in each virtual seat in the virtual auditorium virtually
Spectators' head portrait, the number of the virtual seat are more than or equal to the N.
Wherein, the size all same of each virtual spectators' head portrait in the virtual auditorium.
Wherein, N number of virtual spectators' head portrait is obtained from virtual auditorium, including:
N number of virtual spectators' head portrait is obtained from the virtual auditorium at random, alternatively, according to default rule from the void
Intend choosing N number of virtual spectators' head portrait in auditorium.
Second aspect, the present invention provides a kind of device of virtual spectators' head portrait mosaic, described device includes:
Setup module, for pre-setting word to be shown;
Determining module, for arbitrarily determining the size of the position of the text importing and the word on the screen;
Processing module for the word to be divided into N number of point, determines the position coordinates of N number of point on the screen, institute
It is the natural number more than 1 to state N;
Acquisition module, for obtaining N number of virtual spectators' head portrait from virtual auditorium;
Assembling mould-block, for including N number of virtual spectators' head portrait to be combined into the word on N number of point.
Wherein, described device further includes:
Display module, for generating virtual auditorium on the screen, each virtual seat in the virtual auditorium
One virtual spectators' head portrait of upper display, the number of the virtual seat are more than or equal to the N.
Wherein, the size all same of each virtual spectators' head portrait in the virtual auditorium.
Wherein, the acquisition module is used for:
N number of virtual spectators' head portrait is obtained from the virtual auditorium at random, alternatively, according to default rule from the void
Intend choosing N number of virtual spectators' head portrait in auditorium.
The advantageous effect that technical solution provided by the invention is brought is:By pre-setting word to be shown, by described in
Word is divided into N number of point, determines the position coordinates of N number of point on the screen, and the N is the natural number more than 1, is seen from virtual
Many seats obtain N number of virtual spectators' head portrait, and N number of virtual spectators' head portrait is included to be combined into the word on N number of point, real
Show and be combined into word using virtual spectators' head portrait in virtual auditorium, enhanced the display effect of word, improve text importing
Interest.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the method flow diagram for virtual spectators' head portrait mosaic that one embodiment of the invention provides;
Fig. 2 is the method flow diagram for virtual spectators' head portrait mosaic that another embodiment of the present invention provides;
Fig. 3 is the effect diagram for virtual spectators' head portrait mosaic that another embodiment of the present invention provides;
Fig. 4 is the structure drawing of device for virtual spectators' head portrait mosaic that another embodiment of the present invention provides;
Fig. 5 is the structure drawing of device for virtual spectators' head portrait mosaic that another embodiment of the present invention provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Referring to Fig. 1, one embodiment of the invention provides a kind of method of virtual spectators' head portrait mosaic, and this method includes:
101:Pre-set word to be shown;
102:This article stroke is divided into N number of point, determines the position coordinates of N number of point on the screen, which is oneself more than 1
So number;
103:N number of virtual spectators' head portrait is obtained from virtual auditorium;
104:N number of virtual spectators' head portrait is included to be combined into the word on N number of point.
In the present embodiment, optionally, this method further includes:
The position of the text importing and the size of the word are determined on the screen.
In the present embodiment, optionally, before obtaining N number of virtual spectators' head portrait from virtual auditorium, further include:
Virtual auditorium is generated on the screen, and one is shown in each virtual seat in the virtual auditorium virtually
Spectators' head portrait, the number of the virtual seat are more than or equal to the N.
In the present embodiment, optionally, the size all same of each virtual spectators' head portrait in the virtual auditorium.
In the present embodiment, optionally, N number of virtual spectators' head portrait is obtained from virtual auditorium, including:
N number of virtual spectators' head portrait is obtained from the virtual auditorium at random, alternatively, according to default rule from the void
Intend choosing N number of virtual spectators' head portrait in auditorium.
The above method provided in this embodiment by pre-setting word to be shown, the word is divided into N number of
Point determines the position coordinates of N number of point on the screen, and the N is the natural number more than 1, and N number of void is obtained from virtual auditorium
Intend spectators' head portrait, N number of virtual spectators' head portrait is included to be combined into the word on N number of point, is realized using virtual
Virtual spectators' head portrait in auditorium is combined into word, enhances the display effect of word, improves the interest of text importing.
Referring to Fig. 2, another embodiment of the present invention provides a kind of method of virtual spectators' head portrait mosaic, and this method includes:
201:Pre-set word to be shown;
In the present embodiment, optionally, which is one or more.Wherein, which includes but not limited to:Number,
Letter, Chinese character or various characters and additional character etc., the present embodiment is not specifically limited this.
202:The position of the text importing and the size of the word are determined on the screen;
Wherein, the position of text importing can be arbitrary, such as screen top, lower section, the upper left corner, the lower right corner or screen center
Deng.The size of word does not also limit.
203:This article stroke is divided into N number of point;
For example, word " parent " wherein the first stroke point can be divided into a point, second horizontal stroke can be divided into 7 points etc.
Deng.
204:Determine the position coordinates of N number of point on the screen, which is the natural number more than 1;
205:Virtual auditorium is generated on the screen, and one is shown in each virtual seat in the virtual auditorium
Virtual spectators' head portrait;
Wherein, the number of the virtual seat is more than or equal to the N, and each virtual sight in the virtual auditorium
The size all same of many head portraits.The virtual spectators can be the virtual spectators under various applications, for example, wechat spectators, spectators QQ
Spectators etc. various social softwares etc..If the cause not of uniform size of the original virtual spectators' head portrait obtained, can contract
Processing is put, so that the size of virtual spectators' head portrait is consistent in virtual auditorium, ensure that display effect true to nature.
Wherein, the size of virtual spectators' head portrait can be pre-set, such as 20 × 20 pixels in virtual auditorium, this reality
Example is applied to be not specifically limited this.
206:N number of virtual spectators' head portrait is obtained from the virtual auditorium at random, alternatively, according to default rule from the void
Intend choosing N number of virtual spectators' head portrait in auditorium;
Wherein, which can be arranged as required to, and the present embodiment is not specifically limited this.
207:N number of virtual spectators' head portrait is included to be combined into the word on N number of point.
Wherein, the sequence that N number of virtual spectators' head portrait is put on word does not limit, and can be arranged as required to the sequence,
It can also put, not limit herein at random.
For example, with reference to Fig. 3, the effect diagram of virtual spectators' head portrait mosaic provided for another embodiment of the present invention.Its
In, the figure of top is the virtual auditorium shown on the screen, including multiple virtual seats, is shown in each virtual seat
One virtual spectators' head portrait.The figure of lower section is the word being combined into several the virtual spectators' head portraits obtained from virtual auditorium
" happy new year ", wherein each stroke in each word includes at least virtual spectators' head portrait.It can be seen from the figure that
The word of needs is combined by several virtual spectators' head portraits, compared with showing word with lines merely, enhances the display of word
Effect improves interest, enhances the experience of user.
The above method provided in this embodiment by pre-setting word to be shown, the word is divided into N number of
Point determines the position coordinates of N number of point on the screen, and the N is the natural number more than 1, and N number of void is obtained from virtual auditorium
Intend spectators' head portrait, N number of virtual spectators' head portrait is included to be combined into the word on N number of point, is realized using virtual
Virtual spectators' head portrait in auditorium is combined into word, enhances the display effect of word, improves the interest of text importing.
Referring to Fig. 4, another embodiment of the present invention provides a kind of device of virtual spectators' head portrait mosaic, which includes:
Setup module 401, for pre-setting word to be shown;
Processing module 402 for this article stroke to be divided into N number of point, determines the position coordinates of N number of point on the screen, the N
To be more than 1 natural number;
Acquisition module 403, for obtaining N number of virtual spectators' head portrait from virtual auditorium;
Assembling mould-block 404, for including N number of virtual spectators' head portrait to be combined into the word on N number of point.
In the present embodiment, optionally, which further includes:
Determining module, for determining the size of the position of the text importing and the word on the screen.
Referring to Fig. 5, in the present embodiment, optionally, which further includes:
Display module 405, for generating virtual auditorium on the screen, each virtual seat in the virtual auditorium
Virtual spectators' head portrait is shown on position, the number of the virtual seat is more than or equal to the N.
In the present embodiment, optionally, the size all same of each virtual spectators' head portrait in the virtual auditorium.
In the present embodiment, optionally, which is used for:
N number of virtual spectators' head portrait is obtained from the virtual auditorium at random, alternatively, according to default rule from the void
Intend choosing N number of virtual spectators' head portrait in auditorium.
Above device provided in this embodiment can perform the method provided in any of the above-described embodiment of the method, detailed process
See the description in embodiment of the method, do not repeat herein.
Above device provided in this embodiment by pre-setting word to be shown, the word is divided into N number of
Point determines the position coordinates of N number of point on the screen, and the N is the natural number more than 1, and N number of void is obtained from virtual auditorium
Intend spectators' head portrait, N number of virtual spectators' head portrait is included to be combined into the word on N number of point, is realized using virtual
Virtual spectators' head portrait in auditorium is combined into word, enhances the display effect of word, improves the interest of text importing.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Claims (8)
- A kind of 1. method of virtual spectators' head portrait mosaic, which is characterized in that the method includes:Pre-set word to be shown;The position of the text importing and the size of the word are arbitrarily determined on the screen;The word is divided into N number of point, determines the position coordinates of N number of point on the screen, the N is the nature more than 1 Number;N number of virtual spectators' head portrait is obtained from virtual auditorium;N number of virtual spectators' head portrait is included to be combined into the word on N number of point.
- 2. according to the method described in claim 1, it is characterized in that, before obtaining N number of virtual spectators' head portrait from virtual auditorium, It further includes:Virtual auditorium is generated on the screen, and a virtual spectators are shown in each virtual seat in the virtual auditorium Head portrait, the number of the virtual seat are more than or equal to the N.
- 3. according to the method described in claim 2, it is characterized in that, each virtual spectators' head portrait in the virtual auditorium Size all same.
- 4. according to the method described in claim 2, it is characterized in that, obtain N number of virtual spectators' head portrait, packet from virtual auditorium It includes:N number of virtual spectators' head portrait is obtained from the virtual auditorium at random, alternatively, according to default rule from the virtual sight N number of virtual spectators' head portrait is chosen in many seats.
- 5. a kind of device of virtual spectators' head portrait mosaic, which is characterized in that described device includes:Setup module, for pre-setting word to be shown;Determining module, for arbitrarily determining the size of the position of the text importing and the word on the screen;Processing module for the word to be divided into N number of point, determines the position coordinates of N number of point on the screen, the N To be more than 1 natural number;Acquisition module, for obtaining N number of virtual spectators' head portrait from virtual auditorium;Assembling mould-block, for including N number of virtual spectators' head portrait to be combined into the word on N number of point.
- 6. device according to claim 5, which is characterized in that described device further includes:Display module for generating virtual auditorium on the screen, is shown in each virtual seat in the virtual auditorium Show virtual spectators' head portrait, the number of the virtual seat is more than or equal to the N.
- 7. device according to claim 6, which is characterized in that each virtual spectators' head portrait in the virtual auditorium Size all same.
- 8. device according to claim 6, which is characterized in that the acquisition module is used for:N number of virtual spectators' head portrait is obtained from the virtual auditorium at random, alternatively, according to default rule from the virtual sight N number of virtual spectators' head portrait is chosen in many seats.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510424598.1A CN105138296B (en) | 2015-07-17 | 2015-07-17 | The method and apparatus of virtual spectators' head portrait mosaic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510424598.1A CN105138296B (en) | 2015-07-17 | 2015-07-17 | The method and apparatus of virtual spectators' head portrait mosaic |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105138296A CN105138296A (en) | 2015-12-09 |
CN105138296B true CN105138296B (en) | 2018-06-19 |
Family
ID=54723656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510424598.1A Expired - Fee Related CN105138296B (en) | 2015-07-17 | 2015-07-17 | The method and apparatus of virtual spectators' head portrait mosaic |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105138296B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110366046A (en) * | 2019-07-25 | 2019-10-22 | 天脉聚源(杭州)传媒科技有限公司 | A kind of virtual auditorium region pattern splicing method, system, device and storage medium |
US11341689B1 (en) | 2020-11-05 | 2022-05-24 | International Business Machines Corporation | Dynamic virtual audience generation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102270086A (en) * | 2010-06-02 | 2011-12-07 | 腾讯科技(深圳)有限公司 | Method for showing contact persons in instant messaging tool and instant messaging client |
CN102663034A (en) * | 2012-03-23 | 2012-09-12 | 北京云图微动科技有限公司 | File composing device and file composing method |
CN102999256A (en) * | 2012-12-11 | 2013-03-27 | 广东欧珀移动通信有限公司 | Method and device for arranging display terminal icons |
CN104504270A (en) * | 2014-12-24 | 2015-04-08 | 天脉聚源(北京)科技有限公司 | Method and device for dynamic allocation of head portrait information |
CN104731855A (en) * | 2014-12-24 | 2015-06-24 | 天脉聚源(北京)科技有限公司 | Method and device for displaying image resources of WeChat friend circle |
-
2015
- 2015-07-17 CN CN201510424598.1A patent/CN105138296B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102270086A (en) * | 2010-06-02 | 2011-12-07 | 腾讯科技(深圳)有限公司 | Method for showing contact persons in instant messaging tool and instant messaging client |
CN102663034A (en) * | 2012-03-23 | 2012-09-12 | 北京云图微动科技有限公司 | File composing device and file composing method |
CN102999256A (en) * | 2012-12-11 | 2013-03-27 | 广东欧珀移动通信有限公司 | Method and device for arranging display terminal icons |
CN104504270A (en) * | 2014-12-24 | 2015-04-08 | 天脉聚源(北京)科技有限公司 | Method and device for dynamic allocation of head portrait information |
CN104731855A (en) * | 2014-12-24 | 2015-06-24 | 天脉聚源(北京)科技有限公司 | Method and device for displaying image resources of WeChat friend circle |
Also Published As
Publication number | Publication date |
---|---|
CN105138296A (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Manovich | Instagram and contemporary image | |
CN105447898A (en) | Method and device for displaying 2D application interface in virtual real device | |
CN103761062B (en) | A kind of method at the corresponding material of two-dimension code area display and mobile terminal | |
CN103996167A (en) | Thumbnail display method and user equipment | |
Ji et al. | Chinese traditional handicraft education using AR content | |
CN105208429A (en) | Method and device for allocating virtual seats | |
CN105138296B (en) | The method and apparatus of virtual spectators' head portrait mosaic | |
CN108961361B (en) | Method and system for generating special effect text image and computer equipment | |
GB2560456A (en) | Billboard containing encoded information | |
CN106445439A (en) | Method for online exhibiting pictures | |
CN113885829B (en) | Sound effect display method and terminal equipment | |
CN105430473A (en) | Method and device for displaying head portrait of supporter | |
US9542094B2 (en) | Method and apparatus for providing layout based on handwriting input | |
US9886784B2 (en) | Systems and methods for rendering a mosaic image featuring persons and associated messages | |
Schofield et al. | Augmenting cultural experience: Evaluating the use of augmented reality technology to enhance the visitor experience at a historic site | |
CN108737907A (en) | A kind of method and device generating subtitle | |
Tatić et al. | Universal electronic guide for museum exhibitions | |
Kuchelmeister et al. | The Amnesia Atlas. An immersive SenseCam interface as memory-prosthesis | |
CN108063936B (en) | Method and device for realizing augmented reality AR and computer readable storage medium | |
CN111652986A (en) | Stage effect presentation method and device, electronic equipment and storage medium | |
CN105208430A (en) | Method and device for displaying virtual audiences | |
CN105430513A (en) | Method and device for displaying voting information | |
Kramar et al. | Peculiarities of Augmented Reality Usage in a Mobile Application: the Case of the Ivan Puluj Digital Museum. | |
CN105430515A (en) | Method and device for displaying supporter head portraits | |
CN105160625A (en) | Method and device for splicing character with images |
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 | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Method and device of virtual audience's head image spelling Effective date of registration: 20210104 Granted publication date: 20180619 Pledgee: Inner Mongolia Huipu Energy Co.,Ltd. Pledgor: Tvmining (BEIJING) Technology Co., Ltd. Registration number: Y2020990001518 |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180619 Termination date: 20210717 |