CN109064526A - A kind of method and device generating picture mosaic - Google Patents
A kind of method and device generating picture mosaic Download PDFInfo
- Publication number
- CN109064526A CN109064526A CN201810581862.6A CN201810581862A CN109064526A CN 109064526 A CN109064526 A CN 109064526A CN 201810581862 A CN201810581862 A CN 201810581862A CN 109064526 A CN109064526 A CN 109064526A
- Authority
- CN
- China
- Prior art keywords
- picture
- target photo
- primary election
- characteristic information
- puzzle template
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
This application discloses a kind of method and devices for generating picture mosaic, this method comprises: filtering out the primary election picture including the characteristic information from picture library when electronic equipment receives the characteristic information of screening picture;The Target Photo for meeting default screening conditions is selected from the primary election picture;According to the corresponding relationship of preset puzzle template and characteristic information, puzzle template corresponding with the characteristic information is determined;Spliced the Target Photo to obtain picture mosaic according to the puzzle template.Solve that picture mosaic process is complicated for operation in the prior art and takes a long time technical problem.
Description
Technical field
This application involves technical field of image processing more particularly to a kind of method and devices for generating picture mosaic.
Background technique
As the function of electronic equipment is more and more, picture can not only be shot, moreover it is possible to by sharing software for shooting
Picture is shared with others, and shares software and be usually all provided with the number for sharing picture, i.e., the number of pictures shared every time is limited,
When people need to share a large amount of picture, the demand for not being able to satisfy the whole pictures of sharing by sharing software, currently, sharing
When a large amount of picture, people manually pick out the picture to be shared from picture library first, and pass through hand in picture mosaic software
The plurality of pictures selected is spliced in a template by dynamic dilatory picture, is obtained picture mosaic, is then shared institute on sharing software
State picture mosaic.This method includes a large amount of picture in picture library, in the process for selecting picture manually when selecting the picture to be shared
In, it needs to analyse and compare to picture, and splice the plurality of pictures selected by manually drawing picture, because
This, picture mosaic process is complicated for operation and takes a long time.
Summary of the invention
The application provides a kind of method and device for generating picture mosaic, complicated for operation to solve picture mosaic process in the prior art
And the technical issues of taking a long time.
In a first aspect, the application provides a kind of method for generating picture mosaic, this method comprises: when electronic equipment receives screening
When the characteristic information of picture, the primary election picture including the characteristic information is filtered out from picture library;From the primary election picture
Select the Target Photo for meeting default screening conditions;According to the corresponding relationship of preset puzzle template and characteristic information, determine
Puzzle template corresponding with the characteristic information out;The Target Photo is spliced according to the puzzle template and is spelled
Figure.
In scheme provided by the embodiments of the present application, electronic equipment selects primary election by screening the characteristic information Automatic sieve of picture
Picture automatically selects out Target Photo further according to default screening conditions, and according to it of preset puzzle template and characteristic information
Between corresponding relationship automatically determine corresponding puzzle template, spliced the Target Photo to obtain picture mosaic.Pass through two
The automatic screening of secondary picture, selects Target Photo, the problem that the picture quality selected can not only be avoided not high, additionally it is possible to
The time that picture is selected is reduced, the experience effect of user is improved.
Optionally, the characteristic information includes: the position of picture shooting, included object or picture shooting in picture
Time.
Optionally, the default screening conditions include: the primary election picture pixel in the first preset range, Huo Zhesuo
The light exposure of primary election picture is stated in the second preset range.
Optionally, electronic equipment is selected from the primary election picture meets the Target Photos of default screening conditions and includes:
Determine the pixel and/or light exposure of the primary election picture;Judge whether the pixel of each Zhang Suoshu primary election picture is default first
In range or whether the light exposure of the primary election picture is in the second preset range;If being in, it is determined that the primary election picture
The Target Photo, and the Target Photo is chosen.
In scheme provided by the embodiments of the present application, electronic equipment passes through the pixel or light exposure for judging primary election picture, comes true
Set the goal picture, and avoid the target image selected causes picture unintelligible since pixel is too low, or due to light exposure mistake
It is big or too small, cause picture excessive lightness or darkness, and then influence the quality of picture.
Optionally, the Target Photo is spliced to obtain picture mosaic to include: base by electronic equipment according to the puzzle template
The Target Photo is assigned in the picture box of the puzzle template in preset allocation strategy, wherein each picture
Frame corresponds to a Target Photo;According to the size of the corresponding Target Photo of the size adjusting of the picture box;Institute
It states and Target Photo progress splicing is obtained into picture mosaic on puzzle template.
In scheme provided by the embodiments of the present application, electronic equipment is distributed the Target Photo by preset allocation strategy
Target Photo progress automatic Mosaic is handled to obtain into the picture box of the puzzle template, and on the puzzle template
Picture mosaic.Splice the consumed time to reduce Target Photo, improves the experience effect of user.
Optionally, the preset allocation strategy include: be allocated according to the format of picture, according to picture shooting when
Between be allocated or be randomly assigned picture.
Second aspect, the embodiment of the present application provide a kind of device for generating picture mosaic, comprising:
Screening unit, for being filtered out from picture library including the spy when receiving the characteristic information of screening picture
The primary election picture of reference breath;
Selecting unit, for selecting the Target Photo for meeting default screening conditions from the primary election picture;
Determination unit is determined and the feature for the corresponding relationship according to preset puzzle template and characteristic information
The corresponding puzzle template of information;
Jigsaw puzzle units, for being spliced the Target Photo to obtain picture mosaic according to the puzzle template.
Optionally, the characteristic information includes: the position of picture shooting, included object or picture shooting in picture
Time.
Optionally, the default screening conditions include: the primary election picture pixel in the first preset range, Huo Zhesuo
The light exposure of primary election picture is stated in the second preset range.
Optionally, the selecting unit is specifically used for: determining the pixel and/or light exposure of the primary election picture;Judgement is every
Whether the pixel of one primary election picture is in the first preset range or whether the light exposure of the primary election picture is second
In preset range;If, it is determined that the primary election picture is the Target Photo, and the Target Photo is chosen.
Optionally, the jigsaw puzzle units are specifically used for: the Target Photo being assigned to institute based on preset allocation strategy
It states in the picture box of puzzle template, wherein each corresponding Target Photo of the picture box;According to the picture box
The size of the corresponding Target Photo of size adjusting;Target Photo progress splicing is obtained on the puzzle template
To picture mosaic.
Optionally, the preset allocation strategy include: be allocated according to the format of picture, according to picture shooting when
Between be allocated or be randomly assigned picture.
The third aspect, the embodiment of the present application also provide a kind of electronic equipment, comprising:
Memory, for storing computer instruction;
Processor is connect with the memory, for executing the computer instruction in the memory, to execute as above
State method described in first aspect.
Fourth aspect, the embodiment of the present application also provide a kind of computer readable storage medium, in the readable storage medium storing program for executing
It is stored with computer instruction, when described instruction is run on computers, so that computer is executed as described in above-mentioned first aspect
Method.
Detailed description of the invention
Fig. 1 is a kind of flow chart for the method for generating picture mosaic provided by the embodiment of the present application;
Fig. 2 is provided the schematic diagram for generating picture mosaic by the embodiment of the present application;
Fig. 3 provides a kind of structure chart of device for generating picture mosaic by the embodiment of the present application;
Fig. 4 is the structure chart of a kind of electronic equipment provided by the embodiment of the present application.
Specific embodiment
The application provides a kind of method, apparatus, electronic equipment and computer storage medium for generating picture mosaic, existing to solve
There is the technical issues of process of picture mosaic in technology takes a long time.
In scheme provided by the embodiments of the present application, electronic equipment selects target by automatic screening twice from picture library
Picture, and pass through the corresponding relationship of preset puzzle template and characteristic information, puzzle template is automatically determined, according to the spelling
Artwork plate is spliced the Target Photo to obtain picture mosaic.To improve the efficiency of picture screening, reduce picture mosaic process
Time.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical scheme
It is described in detail, it should be understood that the specific features in the embodiment of the present application and embodiment are to the detailed of technical scheme
Thin explanation, rather than the restriction to technical scheme, in the absence of conflict, the embodiment of the present application and embodiment
In technical characteristic can be combined with each other.
Referring to FIG. 1, the embodiment of the present application provides a kind of method for generating picture mosaic, the treatment process of this method is as follows.
Step 101, it when electronic equipment receives the characteristic information of screening picture, filters out from picture library including described
The primary election picture of characteristic information.
The specific characteristic information may include: that the position of picture shooting, object or picture included in picture are clapped
The temporal information taken the photograph.When including a large amount of picture in the picture library of electronic equipment, the position of every picture shooting may be different, every
The time of picture shooting is also identical or every picture included by object may also be different, therefore, electronic equipment can root
According to specific object included by the position of specific picture shooting, the time of specific picture shooting or picture from picture library
In the picture filtered out with specific shooting location information, specific time shooting picture or including the figure of special object
Piece.
It, will be on the basis of this feature information in picture when electronic equipment receives the specific characteristic information of user's selection
The picture including this feature information is filtered out in library, and using the picture filtered out as primary election picture.
Specifically primary election picture is filtered out from picture library according to the position of picture shooting with electronic equipment to illustrate.
If electronic equipment receive screening picture characteristic information be picture shooting position be Shanghai, i.e., be from picture library
All pictures in Shanghai shooting are picked out, since electronic equipment has GPS positioning function, when electronic equipment is taken pictures, are led to
It crosses GPS positioning function to be positioned, when picture is saved, electronic equipment is using the location information on the picture shooting ground as figure
A part of piece information is saved;Therefore, when carrying out the screening of primary election picture according to the position of picture shooting, electronic equipment root
According to the location information of picture shooting filtered out from picture library it is all Shanghai shooting pictures, and using the picture filtered out as
Primary election picture.Certainly on the basis of screening picture using the position of picture shooting, other screening conditions can be also added, so that sieve
The picture selected more meets the demand of user.
Step 102, electronic equipment selects the Target Photo for meeting default screening conditions from the primary election picture.
In the embodiment of the present application: in order to filter out the picture for meeting clarity condition, which be can be
For the pixel of the primary election picture in the first preset range, or in order to filter out the picture of brightness uniformity, this presets screening item
Part can be the light exposure of the primary election picture in the second preset range.
Specific electronic equipment is selected from the primary election picture to be met the Target Photos of default screening conditions and includes:
Firstly, electronic equipment determines the pixel and/or light exposure of the primary election picture.
Secondly, electronic equipment judge the pixel of each Zhang Suoshu primary election picture whether in the first preset range, Huo Zhesuo
The light exposure of primary election picture is stated whether in the second preset range;If, it is determined that the primary election picture is the Target Photo,
And the Target Photo is chosen.
The first preset range related with pixel is store in the database of electronic equipment, when the pixel of picture is first
When preset range, which can clearly be presented the object in picture, at the same store in the database of electronic equipment with
Related second preset range of light exposure, when the light exposure of picture is in the second preset range, the brightness of the photo is relatively uniform.
For example, if the first preset range [Xmin, Xmax], the second preset range is [Ymin, Ymax], primary election picture has N, electricity
Sub- equipment determines the pixel and/or light exposure of the primary election picture respectively, and judge every primary election picture pixel whether
In [Xmin, Xmax] in, if the pixel of the primary election picture is in [Xmin, Xmax] in range, then the primary election picture will be selected as mesh
It marks on a map piece;Or judge the light exposure of every primary election picture whether in [Ymin, Ymax], if the pixel of the primary election picture exists
[Ymin, Ymax] in range, then the primary election picture will be selected as Target Photo.
Step 103, electronic equipment is determined and the spy according to the corresponding relationship of preset puzzle template and characteristic information
Reference ceases corresponding puzzle template.
In electronic device data library, preset puzzle template is subjected to classification preservation, for example, preset puzzle template
Type includes place puzzle template, time puzzle template or personage's puzzle template, wherein includes place in the place picture mosaic
Characteristic information, wherein the Site characterization information includes locating national information, style information, for example, style information is city
Style or pastoralism;There is preset picture mosaic rules in the time puzzle template, i.e., suitable according to the picture shooting time
Sequence carries out picture mosaic;Personage's template includes person characteristic information, wherein the person characteristic information includes age information, property
Other information.For example, personage's puzzle template is divided into children's puzzle template and adult puzzle template according to the age information of personage.
Equally illustrated using the camera site of picture as Shanghai.
Electronic equipment is the information in Shanghai according to the camera site of picture, determines that country locating for Shanghai is China, and
Shanghai is that international metropolis is Urban style, and then the picture mosaic mould including Chinese city style is selected from default template
Plate, and the puzzle template is extracted.
Step 104, electronic equipment is spliced the Target Photo to obtain picture mosaic according to the puzzle template.It is specific real
Now it may is that
Firstly, the Target Photo is assigned in the picture box of the puzzle template based on preset allocation strategy,
In, each corresponding Target Photo of the picture box.
The specific preset allocation strategy includes: to be allocated according to the time of picture shooting, according to the lattice of picture
Any information that formula was allocated or was not based on picture random is allocated picture.There is clock in electronic equipment, is clapping
When taking the photograph picture, current shooting time can be synchronized in pictorial information by electronic equipment, and electronic equipment is to shooting
When picture is saved, picture can be saved as to different formats, for example, graphic interchange format (Graphic
Interchange Format, GIF), Joint Photographic Experts Group (Joint Photographic Experts Group,
JPEG), the different format such as marked picture format (Tagged Graphics, TGA).Therefore, electronic equipment is by target figure
It, can be based on the temporal information or format information of shooting included in picture when piece is assigned to the different location in puzzle template
Target Photo is allocated, naturally it is also possible to be not based on picture any information it is random Target Photo is assigned to picture mosaic mould
In plate.
It is specifically allocated and is illustrated according to the format of picture with electronic equipment.
Different priority is set by different picture formats in advance in the electronic device, for example, the priority of JPEG
Highest, the priority of TGA are lower than the priority of JPEG, and the priority of GIF is lower than the priority of TGA.The format of different pictures has
Have the characteristics that it is different, for example, being to support a variety of compression ratios, and remove redundancy by lossy compression mode the characteristics of jpeg format
Image data, preferable image quality can be obtained in high compression ratio;The characteristics of TGA format is can to make not advising
The then figure, image file of shape;Plurality of pictures is stored in the support of GIF format in a gif file, and electronic equipment with
A kind of form of animation is shown.
After electronic equipment determines the format of the Target Photo, based on the feature of above-mentioned various format pictures, this Shen
Please the scheme of embodiment the picture of jpeg format can be assigned to first in the picture box of the puzzle template, due to JPEG lattice
Formula supports the characteristics of high compression rate, therefore, the picture of jpeg format can be assigned to the lesser picture box of size, to be based on
When the size of picture box compresses picture, the picture of better quality can be obtained, then, then by the picture of TGA format point
It is fitted in the picture box of the puzzle template, since TGA format can make figure, the image file of irregular shape,
It can be assigned in irregular picture box according to the shape of picture, finally, the picture of GIF format is assigned to the puzzle template
Picture box in, since GIF format is supported in a gif file to store plurality of pictures, electronic equipment is by GIF format
Picture store into a file, in order to achieve the effect that the viewing of better vision, this document is assigned in puzzle template
In the drawing frame for entreating position.
Secondly, size of the electronic equipment according to the corresponding Target Photo of size adjusting of the picture box.
For example, electronic equipment is corresponding according to the picture if the size of the target image is greater than the size of the picture box
The size of picture box the picture is compressed, obtain picture identical with the size of the picture box;If the target
The size of image is less than the size of the picture box, and electronic equipment is then according to the size of the corresponding picture box of the picture to the picture
It amplifies, obtains picture identical with the size of the picture box.
Finally, Target Photo progress splicing is obtained picture mosaic on the puzzle template by electronic equipment.
Specifically with five Target Photos, it is allocated and is illustrated according to the format of picture, referring specifically to Fig. 2.
Electronic equipment determines that number is the format of Target Photo 1., 2., 3., 4., 5., if 1. number Target Photo is JPEG
File format, 2. and 3. number Target Photo is GIF format, and 4. and 5. number Target Photo is TGA picture format, in puzzle template
In, the size of the picture box at position 1 is minimum, after Target Photo is put into the picture box, needs to Target Photo with high pressure
Shrinkage is compressed, and therefore, 1. number Target Photo is assigned in the picture box at position 1 by electronic equipment, then, electronic equipment
According to the 4. and 5. shape of number Target Photo, 4. number Target Photo is assigned in the picture box at position 3, it will 5. number target figure
Piece is assigned in the picture box at position 4, finally, electronic equipment will 2. and 3. a number Target Photo is stored in a file, and
This document is assigned in the picture box at position 2, electronic equipment is according to picture box at position 1, position 2, position 3, position 4
The size of the corresponding Target Photo of size adjusting, and the Target Photo is overlapped with puzzle template, fusion treatment obtains
Picture mosaic.
In scheme provided by the embodiments of the present application, electronic equipment selects primary election by screening the characteristic information Automatic sieve of picture
Picture automatically selects out Target Photo further according to default screening conditions, and according to it of preset puzzle template and characteristic information
Between corresponding relationship automatically determine corresponding puzzle template, spliced the Target Photo to obtain picture mosaic.Pass through two
The automatic screening of secondary picture, selects Target Photo, the problem that the picture quality selected can not only be avoided not high, additionally it is possible to
The time that picture is selected is reduced, the experience effect of user is improved.
Based on the same inventive concept, a kind of device generating picture mosaic, the generation of the device are provided in one embodiment of the application
The specific embodiment of the method for picture mosaic can be found in the description of embodiment of the method part, and overlaps will not be repeated, refer to figure
3, which includes:
Screening unit 301, for being filtered out including described from picture library when receiving the characteristic information of screening picture
The primary election picture of characteristic information;
Selecting unit 302, for selecting the Target Photo for meeting default screening conditions from the primary election picture;
Determination unit 303 is determined and the spy for the corresponding relationship according to preset puzzle template and characteristic information
Reference ceases corresponding puzzle template;
Jigsaw puzzle units 304, for being spliced the Target Photo to obtain picture mosaic according to the puzzle template.
Optionally, the characteristic information includes: the position of picture shooting, included object or picture shooting in picture
Time.
Optionally, the default screening conditions include: the primary election picture pixel in the first preset range, Huo Zhesuo
The light exposure of primary election picture is stated in the second preset range.
Optionally, the selecting unit 302 is specifically used for: determining the pixel or light exposure of the primary election picture;
Judge the pixel of each Zhang Suoshu primary election picture whether in the first preset range or the exposure of the primary election picture
Whether light quantity is in the second preset range;If being the Target Photo in, it is determined that the primary election picture, and by the target figure
Piece chooses.
Optionally, the jigsaw puzzle units 304 are specifically used for: being assigned to the Target Photo based on preset allocation strategy
In the picture box of the puzzle template, wherein each corresponding Target Photo of the picture box;
According to the size of the corresponding Target Photo of the size adjusting of the picture box;By institute on the puzzle template
It states Target Photo progress splicing and obtains picture mosaic.
Optionally, the preset allocation strategy include: be allocated according to the format of picture, according to picture shooting when
Between be allocated or be randomly assigned picture.
Based on the same inventive concept, the embodiment of the present application also provides a kind of electronic equipment, referring to fig. 4, the electronic equipment packet
It includes:
Memory 401, for storing computer instruction;
Processor 402 is connect with the memory, for executing the computer instruction in the memory, to execute
The method of picture mosaic is generated as mentioned.
Based on the same inventive concept, the embodiment of the present application also provides a kind of computer readable storage medium, described readable to deposit
It is stored with computer instruction in storage media, when described instruction is run on computers, is generated as mentioned so that computer executes
The method of picture mosaic.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application
Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies
Within, then the application is also intended to include these modifications and variations.
Claims (14)
1. a kind of method for generating picture mosaic characterized by comprising
When receiving the characteristic information of screening picture, the primary election picture including the characteristic information is filtered out from picture library;
The Target Photo for meeting default screening conditions is selected from the primary election picture;
According to the corresponding relationship of preset puzzle template and characteristic information, picture mosaic mould corresponding with the characteristic information is determined
Plate;
Spliced the Target Photo to obtain picture mosaic according to the puzzle template.
2. the method as described in claim 1, which is characterized in that the characteristic information includes: the position of picture shooting, in picture
The time of included object or picture shooting.
3. the method as described in claim 1, which is characterized in that the default screening conditions include: the picture of the primary election picture
Element is in the first preset range or the light exposure of the primary election picture is in the second preset range.
4. the method as described in claim 1, which is characterized in that select the default screening conditions of satisfaction from the primary election picture
Target Photo include:
Determine the pixel and/or light exposure of the primary election picture;
Judge the pixel of each Zhang Suoshu primary election picture whether in the first preset range or the light exposure of the primary election picture
Whether in the second preset range;
If, it is determined that the primary election picture is the Target Photo, and the Target Photo is chosen.
5. the method as described in claim 1, which is characterized in that spliced the Target Photo according to the puzzle template
Obtaining picture mosaic includes:
The Target Photo is assigned in the picture box of the puzzle template based on preset allocation strategy, wherein Mei Gesuo
State the corresponding Target Photo of picture box;
According to the size of the corresponding Target Photo of the size adjusting of the picture box;
Target Photo progress splicing is obtained into picture mosaic on the puzzle template.
6. method as claimed in claim 5, which is characterized in that the preset allocation strategy includes: the format according to picture
It is allocated, is allocated or is randomly assigned picture according to the time of picture shooting.
7. a kind of device for generating picture mosaic characterized by comprising
Screening unit, for filtering out from picture library and believing including the feature when receiving the characteristic information of screening picture
The primary election picture of breath;
Selecting unit, for selecting the Target Photo for meeting default screening conditions from the primary election picture;
Determination unit is determined and the characteristic information for the corresponding relationship according to preset puzzle template and characteristic information
Corresponding puzzle template;
Jigsaw puzzle units, for being spliced the Target Photo to obtain picture mosaic according to the puzzle template.
8. device as claimed in claim 7, which is characterized in that the characteristic information includes: the position of picture shooting, in picture
The time of included object or picture shooting.
9. device as claimed in claim 7, which is characterized in that the default screening conditions include: the picture of the primary election picture
Element is in the first preset range or the light exposure of the primary election picture is in the second preset range.
10. device as claimed in claim 7, which is characterized in that the selecting unit is specifically used for:
Determine the pixel and/or light exposure of the primary election picture;
Judge the pixel of each Zhang Suoshu primary election picture whether in the first preset range or the light exposure of the primary election picture
Whether in the second preset range;
If, it is determined that the primary election picture is the Target Photo, and the Target Photo is chosen.
11. device as claimed in claim 7, which is characterized in that the jigsaw puzzle units are specifically used for:
The Target Photo is assigned in the picture box of the puzzle template based on preset allocation strategy, wherein Mei Gesuo
State the corresponding Target Photo of picture box;
According to the size of the corresponding Target Photo of the size adjusting of the picture box;
Target Photo progress splicing is obtained into picture mosaic on the puzzle template.
12. device as claimed in claim 11, which is characterized in that the preset allocation strategy includes: the lattice according to picture
Formula is allocated, is allocated or is randomly assigned picture according to the time of picture shooting.
13. a kind of electronic equipment characterized by comprising
Memory, for storing computer instruction;
Processor is connect with the memory, for executing the computer instruction in the memory, to execute the calculating
Such as method as claimed in any one of claims 1 to 6 is executed when machine instructs.
14. a kind of computer readable storage medium, which is characterized in that it is stored with computer instruction in the readable storage medium storing program for executing,
When described instruction is run on computers, so that computer executes such as method as claimed in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810581862.6A CN109064526A (en) | 2018-06-07 | 2018-06-07 | A kind of method and device generating picture mosaic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810581862.6A CN109064526A (en) | 2018-06-07 | 2018-06-07 | A kind of method and device generating picture mosaic |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109064526A true CN109064526A (en) | 2018-12-21 |
Family
ID=64820572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810581862.6A Pending CN109064526A (en) | 2018-06-07 | 2018-06-07 | A kind of method and device generating picture mosaic |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109064526A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111223045A (en) * | 2019-11-15 | 2020-06-02 | Oppo广东移动通信有限公司 | Jigsaw puzzle method, device and terminal equipment |
CN112437231A (en) * | 2020-11-24 | 2021-03-02 | 维沃移动通信(杭州)有限公司 | Image shooting method and device, electronic equipment and storage medium |
WO2021121162A1 (en) * | 2019-12-17 | 2021-06-24 | 荣耀终端有限公司 | Picture processing method and apparatus, and electronic device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102930522A (en) * | 2012-11-12 | 2013-02-13 | 北京奇虎科技有限公司 | Device achieving picture splicing and method achieving same |
CN105279203A (en) * | 2014-07-25 | 2016-01-27 | 腾讯科技(深圳)有限公司 | Method, device and system for generating puzzle |
CN105975612A (en) * | 2016-05-18 | 2016-09-28 | 北京金山安全软件有限公司 | Picture processing method, device and equipment |
WO2018040510A1 (en) * | 2016-08-29 | 2018-03-08 | 中兴通讯股份有限公司 | Image generation method, apparatus and terminal device |
-
2018
- 2018-06-07 CN CN201810581862.6A patent/CN109064526A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102930522A (en) * | 2012-11-12 | 2013-02-13 | 北京奇虎科技有限公司 | Device achieving picture splicing and method achieving same |
CN105279203A (en) * | 2014-07-25 | 2016-01-27 | 腾讯科技(深圳)有限公司 | Method, device and system for generating puzzle |
CN105975612A (en) * | 2016-05-18 | 2016-09-28 | 北京金山安全软件有限公司 | Picture processing method, device and equipment |
WO2018040510A1 (en) * | 2016-08-29 | 2018-03-08 | 中兴通讯股份有限公司 | Image generation method, apparatus and terminal device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111223045A (en) * | 2019-11-15 | 2020-06-02 | Oppo广东移动通信有限公司 | Jigsaw puzzle method, device and terminal equipment |
WO2021121162A1 (en) * | 2019-12-17 | 2021-06-24 | 荣耀终端有限公司 | Picture processing method and apparatus, and electronic device and storage medium |
CN112437231A (en) * | 2020-11-24 | 2021-03-02 | 维沃移动通信(杭州)有限公司 | Image shooting method and device, electronic equipment and storage medium |
WO2022111458A1 (en) * | 2020-11-24 | 2022-06-02 | 维沃移动通信(杭州)有限公司 | Image capture method and apparatus, electronic device, and storage medium |
CN112437231B (en) * | 2020-11-24 | 2023-11-14 | 维沃移动通信(杭州)有限公司 | Image shooting method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI549503B (en) | Electronic apparatus, automatic effect method and non-transitory computer readable storage medium | |
CN104853106B (en) | A kind of information processing method and electronic equipment | |
US9460123B1 (en) | Systems and methods for generating an arrangement of images based on image analysis | |
US9542975B2 (en) | Centralized database for 3-D and other information in videos | |
US20150365600A1 (en) | Composing real-time processed video content with a mobile device | |
CN104376545B (en) | A kind of method and a kind of electronic equipment of information processing | |
CN109064526A (en) | A kind of method and device generating picture mosaic | |
CN104917950A (en) | Information processing method and electronic equipment | |
CN104809716B (en) | A kind of method and apparatus for determining image shift amount | |
US20120068996A1 (en) | Safe mode transition in 3d content rendering | |
CN109035288A (en) | A kind of image processing method and device, equipment and storage medium | |
CN105847676A (en) | Image processing method and apparatus | |
CN102158648A (en) | Image capturing device and image processing method | |
CN107317998A (en) | Full-view video image fusion method and device | |
CN109559272A (en) | A kind of image processing method and device, electronic equipment, storage medium | |
CN105956080A (en) | Photo naming processing method and apparatus | |
CN108391116A (en) | Total body scan unit based on 3D imaging technique and scan method | |
CN105657262B (en) | A kind of image processing method and device | |
CN109040654A (en) | Recognition methods, device and the storage medium of external capture apparatus | |
CN102403011A (en) | Music output method and device | |
CN105654101B (en) | A kind of information processing method and electronic equipment | |
CN105893578A (en) | Method and device for selecting photos | |
CN105306961B (en) | A kind of method and device for taking out frame | |
JP5054339B2 (en) | Image classification apparatus and method, and program | |
CN114429484A (en) | Image processing method and device, intelligent equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181221 |