CN105488761B - Processing method and device for spliced pictures - Google Patents
Processing method and device for spliced pictures Download PDFInfo
- Publication number
- CN105488761B CN105488761B CN201511016920.3A CN201511016920A CN105488761B CN 105488761 B CN105488761 B CN 105488761B CN 201511016920 A CN201511016920 A CN 201511016920A CN 105488761 B CN105488761 B CN 105488761B
- Authority
- CN
- China
- Prior art keywords
- picture
- stacking
- hatching effect
- effect parameter
- splicing
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/40—Scaling the whole image or part thereof
- G06T3/4038—Scaling the whole image or part thereof for image mosaicing, i.e. plane images composed of plane sub-images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/50—Lighting effects
- G06T15/60—Shadow generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/32—Indexing scheme for image data processing or generation, in general involving image mosaicing
Abstract
The embodiment of the invention discloses a method and a device for processing spliced pictures, relates to the technical field of picture processing, and aims to effectively enhance the three-dimensional effect of the pictures stacked in the spliced pictures and enable a user to feel the hierarchical relationship of the pictures stacked in the spliced pictures more intuitively and obviously. The processing method of the spliced picture comprises the following steps: determining the stacking position relation of the pictures stacked in the spliced pictures; determining shadow effect parameters of the stacked pictures in the spliced pictures according to the determined stacking position relationship, wherein the shadow effect parameters of the stacked pictures are different; and adding a shadow effect to the overlapped pictures in the spliced pictures according to the determined shadow effect parameters. The invention can be used in image processing application software.
Description
Technical field
The present invention relates to image processing technology more particularly to a kind of processing method and processing devices for splicing picture.
Background technique
Universal with smart phone with the development of internet technology, very habit passes through network sharing to the network user
Picture with other people transmits information.But the information content that single picture can carry is limited, with the figure of sharing required for user
Piece increases, and plurality of pictures, which is stitched together, to be formed a splicing picture and share, so that a picture can carry
More contents have become the demand of more and more users.
Currently, photo handling software can provide picture splicing function (also referred to as picture combination function), user can be with
Plurality of pictures is fabricated to a splicing picture, abbreviation picture mosaic using photo handling software.The plurality of pictures for forming picture mosaic can be with
Tiling is not blocked mutually to place, placement can also completely or partially be laminated, that is, be stacked together, i.e., picture exists block each other
Relationship.
In the prior art, by picture mosaic made by photo handling software, if the picture that there is stacking to place, these
The level of picture looks like not no otherness, and stereoscopic effect is unobvious, and user can not intuitively experience picture very much
Hierarchical relationship, user experience are poor.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of processing method and processing device for splicing picture, it can effectively enhance spelling
Stacking stereoscopic effect in map interlinking piece allows users to more intuitive and apparent impression splicing picture middle layer and stacks the picture set
Hierarchical relationship.
In a first aspect, the embodiment of the present invention provides a kind of processing method for splicing picture, comprising:
Determine that the splicing picture middle layer stacks the stratification position relationship for the picture set;
According to the stratification position relationship of the determination, the shade that the picture of placement is laminated described in the splicing picture is determined
Efficacy parameter, wherein the hatching effect parameter for the picture that the stacking is placed is different;
According to the hatching effect parameter of the determination, shade is added for the picture of placement is laminated described in the splicing picture
Effect.
With reference to first aspect, in the first embodiment of first aspect, the stacking position according to the determination
Relationship is set, determines that the hatching effect parameter for the picture that placement is laminated described in the splicing picture includes:
According to the stratification position relationship of the determination, determines and be laminated where the picture of placement described in the splicing picture
Lamination;
Lamination where the picture placed according to the stacking of the determination determines the yin for the picture that the stacking is placed
Shadow efficacy parameter, so that the hatching effect parameter for the picture that the stacking is placed is according to the most upper of the lowest level by being laminated to stacking
The sequence of layer gradually increases.
It is described in second of embodiment of first aspect in the first embodiment with reference to first aspect
Lamination where the picture placed according to the stacking of the determination determines the hatching effect ginseng for the picture that the stacking is placed
Number, comprising:
Lamination and preset hatching effect parameter where the picture placed according to the stacking of the determination are most
Small value determines that being located at the hatching effect parameter of the undermost picture of stacking in the picture of the stacking placement is the minimum value;
And
According to the stacking of the determination place picture where lamination and preset step value, determine described in
The hatching effect parameter of the picture for the lamination being located at except lowest level in the picture placed is laminated, so that the picture of adjacent laminates
In, the hatching effect parameter of picture and the difference of the hatching effect parameter for the picture for being located at lower layer positioned at upper layer are equal to the step-length
Value.
It is described in the third embodiment of first aspect in the first embodiment with reference to first aspect
Lamination where the picture placed according to the stacking of the determination determines the hatching effect ginseng for the picture that the stacking is placed
Number, comprising:
The figure that lamination and preset stacking where the picture placed according to the stacking of the determination are placed
The maximum value and minimum value of the hatching effect parameter of piece determine in the picture of the stacking placement and are located at the undermost picture of stacking
Hatching effect parameter be the minimum value, determine the picture for being located at the stacking top layer in picture that the stacking is placed
Hatching effect parameter is the maximum value;And
Lamination and the preset maximum value and most where the picture placed according to the stacking of the determination
Small value determines the hatching effect ginseng of the picture for the lamination being located at except lowest level and top layer in the picture of the stacking placement
Number, so that the hatching effect parameter of picture and the shade for the picture for being located at lower layer positioned at upper layer are imitated in the picture of adjacent laminates
The difference of fruit parameter=(maximum value-minimum value)/(N-1), wherein the picture number that the stacking is placed is N.
With reference to first aspect or any one embodiment of aforementioned first aspect, the 4th kind in first aspect are implementable
In mode, the hatching effect parameter includes at least one of shade offset and shadow blur radius.
With reference to first aspect or any one embodiment of aforementioned first aspect, the 5th kind in first aspect are implementable
In mode, in the splicing picture, all or part of picture for forming the splicing picture, which is laminated, to be placed.
Second aspect, the embodiment of the present invention provide a kind of processing unit for splicing picture, comprising:
First determining module, for determining that the splicing picture middle layer stacks the stratification position relationship for the picture set;
Second determining module, the stratification position relationship for being determined according to first determining module, determines the splicing
The hatching effect parameter of the picture of placement is laminated described in picture, wherein the hatching effect parameter for the picture that the stacking is placed
It is different;
Setup module, the hatching effect parameter for being determined according to second determining module are in the splicing picture
The picture that the stacking is placed adds hatching effect.
In conjunction with second aspect, in the first embodiment of second aspect,
Second determining module is specifically used for:
According to the stratification position relationship that first determining module determines, determines to be laminated described in the splicing picture and place
Picture where lamination;
Lamination where the picture placed according to the stacking of the determination determines the yin for the picture that the stacking is placed
Shadow efficacy parameter, so that the hatching effect parameter for the picture that the stacking is placed is according to the most upper of the lowest level by being laminated to stacking
The sequence of layer gradually increases.
In conjunction with the first embodiment of second aspect, in second of embodiment of second aspect, described
Two determining modules are further specifically used for:
Lamination and preset hatching effect parameter where the picture placed according to the stacking of the determination are most
Small value determines that being located at the hatching effect parameter of the undermost picture of stacking in the picture of the stacking placement is the minimum value;
And
According to the stacking of the determination place picture where lamination and preset step value, determine described in
The hatching effect parameter of the picture for the lamination being located at except lowest level in the picture placed is laminated, so that the picture of adjacent laminates
In, the hatching effect parameter of picture and the difference of the hatching effect parameter for the picture for being located at lower layer positioned at upper layer are equal to the step-length
Value;
In conjunction with the first embodiment of second aspect, in the third embodiment of second aspect, described
Two determining modules are further specifically used for:
The figure that lamination and preset stacking where the picture placed according to the stacking of the determination are placed
The maximum value and minimum value of the hatching effect parameter of piece determine in the picture of the stacking placement and are located at the undermost picture of stacking
Hatching effect parameter be the minimum value, determine the picture for being located at the stacking top layer in picture that the stacking is placed
Hatching effect parameter is the maximum value;And
Lamination and the preset maximum value and most where the picture placed according to the stacking of the determination
Small value determines the hatching effect ginseng of the picture for the lamination being located at except lowest level and top layer in the picture of the stacking placement
Number, so that the hatching effect parameter of picture and the shade for the picture for being located at lower layer positioned at upper layer are imitated in the picture of adjacent laminates
The difference of fruit parameter=(maximum value-minimum value)/(N-1), wherein the picture number that the stacking is placed is N.
In conjunction with second aspect or any one embodiment of aforementioned second aspect, the 4th kind in second aspect is implementable
In mode, the hatching effect parameter includes at least one of shade offset and shadow blur radius.
In conjunction with second aspect or any one embodiment of aforementioned second aspect, the 5th kind in second aspect is implementable
In mode, in the splicing picture, all or part of picture for forming the splicing picture, which is laminated, to be placed.
The treating method and apparatus of splicing picture provided in an embodiment of the present invention stacks the figure set according to splicing picture middle layer
The stratification position relationship of piece is that hatching effect is respectively set in the picture that stacking is placed using different hatching effect parameters, in turn
Effectively enhance splicing picture middle layer by different hatching effects and stack the stacking stereoscopic effect of the picture set, allow users to compared with
The hierarchical relationship for the picture set, effectively promotion user experience are stacked for intuitive and apparent impression splicing picture middle layer.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of the embodiment one of the processing method of present invention splicing picture;
Fig. 2 (a) and Fig. 2 (b) is that an exemplary splicing picture is not used and uses splicing provided in an embodiment of the present invention
The contrast effect figure of the processing method of picture;
Fig. 3 (a) and Fig. 3 (b) is that another exemplary splicing picture is not used and uses spelling provided in an embodiment of the present invention
The contrast effect figure of the processing method of map interlinking piece;
Fig. 4 is the structural schematic diagram of the embodiment one of the processing unit of present invention splicing picture.
Specific embodiment
The means of defence and device of a kind of application program of the embodiment of the present invention are described in detail with reference to the accompanying drawing.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
Its embodiment belongs to the range that the present invention protects.
For in the case where the plurality of pictures of formation splicing picture is laminated and places, placement is laminated in these in the prior art
The problem of picture stereoscopic effect is unobvious, and user cannot intuitively perceive the hierarchical relationship of these pictures very much, the present invention are implemented
Example provides a kind for the treatment of method and apparatus for splicing picture.
Fig. 1 is the flow diagram of the embodiment one of the processing method of present invention splicing picture.Referring to Fig. 1, the present invention is spelled
The processing method embodiment of map interlinking piece, includes the following steps:
S101, determine that the splicing picture middle layer stacks the stratification position relationship for the picture set.
Firstly the need of explanation, splicing picture mentioned in the embodiment of the present invention, alternatively referred to as combination picture are
Spliced/combined by plurality of pictures and formed, in the splicing picture, forms all or part of picture of the splicing picture
Stacking is placed, i.e., the plurality of pictures that all or part of picture is stacked together, that is, forms the splicing picture can be entirely layer
It stacks and sets, can also there was only part picture is that stacking is placed.For example, splicing picture P is by A, B, C totally 3 picture group
It is combined to be formed, a kind of situation, A, B, C do not block tiling mutually and place, i.e. there is no the picture that stacking is placed, a kind of feelings in P
Condition, A are overlayed on B, and C is overlayed on A, that is, all pictures for forming P are all that stacking is placed, and there are also a kind of situation, A is overlayed
On B, C is laid in except A and B, i.e. 2 pictures stacking is placed, and the part picture for forming P is that stacking is placed.The present invention is implemented
For the picture that the processing method of example is placed primarily directed to the stacking in splicing picture.
Identified stratification position relationship is alternatively referred to as picture hiding relation in this step, that is, the folded of the picture of placement is laminated
Sequence is put forward, that is, which picture which picture overlays on, which picture has blocked which picture.It is emphasized that the layer
Lamination where the picture that folded positional relationship instruction stacks.For example, to splice in picture P, picture A, B, C stacking are placed, this
The stratification position relationship that can determine that three in step is that A is overlayed on B (i.e. A blocks B), and C overlays on A and B that (i.e. c blocks A
And B), which can indicate the lamination where A, B, C, i.e. B is in lowest level, and A is in middle layer, and C is in top layer.
For example, the correlation attribute information of splicing picture can be read, the correlation attribute information according to the splicing picture is true
Given layer stacks the stratification position relationship for the picture set.Can also according to the picture stacked respectively where figure layer, determine to stack
Picture stratification position relationship.
It is understood that how the present invention determines that splicing picture middle layer stacks the stratification position relationship of the picture set and do not do
It limits, those skilled in the art can reasonably select.
S102, the stratification position relationship according to the determination determine the picture that placement is laminated described in the splicing picture
Hatching effect parameter, wherein it is described stacking place picture hatching effect parameter it is different.
S103, the hatching effect parameter according to the determination add for the picture of placement is laminated described in the splicing picture
Add hatching effect.
In order to protrude the solid layer feeling for the picture that stacking is placed, in the embodiment of the present invention, the picture placed according to stacking
Stratification position relationship, the pictures placed for these stackings determine different hatching effect parameters, and then use different shades
Efficacy parameter is to splice the picture that these stackings are placed in picture to add different hatching effects respectively, not due to hatching effect
Together, therefore solid layer feeling can be protruded, enabled users to the figure that these stackings are placed in the perception splicing picture of ocular and clear
The hierarchical relationship of piece, effectively promotion user experience.
In step S102, identified hatching effect parameter can be a parameter for configuring hatching effect, can also
Think the multiple parameters for configuring hatching effect.Specifically, hatching effect parameter can be shade offset and shadow blur
At least one of radius (the alternatively referred to as fog-level of shade), certainly, hatching effect parameter can also be other for matching
The parameter of hatching effect is set, which is not limited by the present invention.
Optionally, in order to obtain preferable solid layer feeling, hatching effect parameter can be according to the lowest level of stacking to layer
The sequence of folded top layer gradually increases, that is, the hatching effect parameter for being located at the undermost picture of stacking is minimum, where picture
Lamination is more upward, and hatching effect parameter is bigger, and the hatching effect parameter positioned at the picture of stacking top layer is maximum.
Specifically, in step s 102, can determine the splicing picture first according to the stratification position relationship of the determination
Described in lamination where the picture of placement is laminated, it is folded where the picture then placed according to the stacking of the determination
Layer determines the hatching effect parameter for the picture that the stacking is placed, so that the hatching effect parameter for the picture that the stacking is placed
It is gradually increased according to the sequence of the top layer of the lowest level by being laminated to stacking, for example, optionally, uniformly equivalent can be incremented by,
Gradually increased with identical step value.
In specific implementation, for example, hatching effect parameter can be determined by the following two kinds mode:
Mode one
Preset hatching effect parameter minimum value and increment step value.
Lamination and preset hatching effect parameter minimum value where the picture placed according to stacking determine that stacking is put
The hatching effect parameter for being located at the undermost picture of stacking in the picture set is minimum value, according to where the picture of stacking placement
Lamination and preset step value determine the shade effect of the picture for the lamination being located at except lowest level in the picture of stacking placement
Fruit parameter, so that in the picture of adjacent laminates, positioned at the hatching effect parameter and the yin for the picture for being located at lower layer of the picture on upper layer
The difference of shadow efficacy parameter is equal to step value.That is, on the basis of the hatching effect parameter of undermost picture is laminated, per upward one
A lamination, hatching effect parameter increase by a step value.
I.e. which can determine the hatching effect parameter for each picture that stacking is placed by following formula:
Ci=C1+ (i-1) × Δ B (1≤i≤N)
Wherein, Ci is the hatching effect parameter of i-th layer of the picture in lamination, and C1 is preset hatching effect ginseng
Number minimum value, Δ B are preset increment step value, and N is that the picture number placed, i.e. the lamination number of plies is laminated, most by lamination
Lower layer is the 1st layer, i=1, and secondary lower layer is known as the 2nd layer, i=2, and so on.
Mode two
Preset hatching effect parameter minimum value and minimum value.
The hatching effect ginseng for the picture that lamination and preset stacking where the picture placed according to stacking are placed
Several maximum values and minimum value determines that being located at the hatching effect parameter that undermost picture is laminated in the picture of stacking placement is most
Small value determines that being located at the hatching effect parameter of the picture of the stacking top layer in the picture of the stacking placement is maximum value;
Lamination and the preset maximum value and minimum value where the picture placed according to the stacking of the determination, determine
It is located at the hatching effect parameter of the picture of the lamination except lowest level and top layer in the picture that the stacking is placed, so that adjacent
In the picture of lamination, positioned at upper layer picture hatching effect parameter be located at lower layer picture hatching effect parameter difference=
(maximum value-minimum value)/(N-1), wherein the picture number that the stacking is placed is N.
That is, on the basis of the hatching effect parameter of undermost picture is laminated, per a upward lamination, hatching effect ginseng
Number increases (maximum value-minimum value)/(N-1), on the basis of the hatching effect parameter of undermost picture is laminated,
It is every to next lamination, hatching effect parameter reduces (maximum value-minimum value)/(N-1).
I.e. which can determine the hatching effect parameter for each picture that stacking is placed by following formula:
(1≤i≤N)
Wherein, Ci is the hatching effect parameter of i-th layer of the picture in lamination, and Cmin is preset hatching effect
Parameter minimum value, Cmax are preset hatching effect parameter maximum value, and N is that the picture number placed, i.e. the lamination number of plies is laminated,
It is the 1st layer, i=1 by the lowest level of lamination, secondary lower layer is known as the 2nd layer, i=2, and so on.
It is understood that it is merely illustrative with upper type, limitation is not generated to the present invention.
It should be noted that if necessary to determine hatching effect parameter be it is multiple, then this multiple hatching effect parameter
Method of determination may be the same or different.For example, it is desired to 2 hatching effect parameters be determined, then the two parameters can be with
Mode one is all made of to determine, can also one of employing mode one determine that another employing mode two determines.
In conjunction with shown in Fig. 2 and Fig. 3, below by a specific embodiment to splicing picture provided in an embodiment of the present invention
Processing method be described in detail.In this specific embodiment, splicing picture P is spliced by 3 pictures, respectively picture A,
B and C, in P, A, B and C stacking are placed, and A is overlayed on B, and A has blocked a part of B, and C is overlayed on A, and C has blocked A simultaneously
A part and B a part, it is thus necessary to determine that hatching effect parameter be shade offset F and shadow blur radius R.This implementation
The processing method of the splicing picture of example, it is first determined the stratification position relationship of A, B and C have determined the lamination where A, B and C,
B is in lowest level, and A is in middle layer, and C is known as the 1st layer in top layer, the present embodiment, by lowest level, and secondary lower layer is known as the 2nd layer, with
This analogizes, and if the stacking of N picture is placed, then shares N layers, lamination top layer is n-th layer, and N is 3 in the present embodiment, in stacking
Layer is the 3rd layer.Then, according to the lamination where A, B, C, the respective shade offset F of A, B and C and shadow blur radius are determined
R, and according to identified shade offset F and shadow blur radius R, hatching effect is added for A, B and C.The present embodiment according to
Hatching effect parameter is configured by the uniform equivalent increased mode of the sequence of the lowest level to the top layer being laminated that are laminated, B is located at most
Lower layer, that is, first layer, the shade offset F of BBWith blur radius RBMinimum, A are located at the second layer, the shade offset F of AAFor FB+
Δ F, blur radius RAFor RB+ Δ R, C are located at third layer, the shade offset F of CCFor FA+ Δ F or FB+ 2 Δ F, blur radius RC
For RA+ Δ R or RB+2ΔR。
In the case that A, B, C are identical picture, exemplary splicing picture as shown in Figure 2, Fig. 2 (a) is according to identical
Shade offset F and shadow blur radius R be A, B and C add hatching effect after effect diagram, Fig. 2 (b) be according to this
After the processing method processing of embodiment, the effect diagram after being added to hatching effect, comparison diagram 2 (a) and Fig. 2 (b) it is found that through
After crossing the processing method processing of the present embodiment, different hatching effects effectively enhances the layer that splicing picture middle layer stacks the picture set
Folded stereoscopic effect allows users to the hierarchical relationship that more intuitive and apparent impression splicing picture middle layer stacks the picture set.
In the case that A, B, C are identical picture, exemplary splicing picture as shown in Figure 3, Fig. 3 (a) is according to identical
Shade offset F and shadow blur radius R be A, B and C add hatching effect after effect diagram, Fig. 3 (b) be according to this
After the processing method processing of embodiment, the effect diagram after being added to hatching effect, comparison diagram 3 (a) and Fig. 3 (b) it is found that through
After crossing the processing method processing of the present embodiment, different hatching effects effectively enhances the layer that splicing picture middle layer stacks the picture set
Folded stereoscopic effect allows users to the hierarchical relationship that more intuitive and apparent impression splicing picture middle layer stacks the picture set.
Corresponding with preceding method, the embodiment of the present invention also provides a kind of processing unit for splicing picture, as shown in figure 4,
Include:
First determining module 41, for determining that the splicing picture middle layer stacks the stratification position relationship for the picture set;
Second determining module 42, the stratification position relationship for being determined according to the first determining module 41, determines the splicing
The hatching effect parameter of the picture of placement is laminated described in picture, wherein the hatching effect parameter for the picture that the stacking is placed
It is different;
Setup module 43, the hatching effect parameter for being determined according to the second determining module 42 are in the splicing picture
The picture that the stacking is placed adds hatching effect.
The processing unit of splicing picture provided in an embodiment of the present invention, the layer for the picture set is stacked according to splicing picture middle layer
Folded positional relationship is that hatching effect is respectively set in the picture that stacking is placed, and then passes through not using different hatching effect parameters
Same hatching effect effectively enhances the stacking stereoscopic effect that splicing picture middle layer stacks the picture set, and allows users to more intuitive
The hierarchical relationship for the picture set, effectively promotion user experience are stacked with apparent impression splicing picture middle layer.
Optionally, in one embodiment of the invention, the second determining module 42 is specifically used for:
According to the stratification position relationship that the first determining module 41 determines, determine what stacking described in the splicing picture was placed
Lamination where picture;
Lamination where the picture placed according to the stacking of the determination determines the yin for the picture that the stacking is placed
Shadow efficacy parameter, so that the hatching effect parameter for the picture that the stacking is placed is according to the most upper of the lowest level by being laminated to stacking
The sequence of layer gradually increases, for example, uniformly equivalent be incremented by.
For example, in one embodiment of the invention, the second determining module 42 can further be specifically used for:
Lamination and preset hatching effect parameter where the picture placed according to the stacking of the determination are most
Small value determines that being located at the hatching effect parameter of the undermost picture of stacking in the picture of the stacking placement is the minimum value;
And
According to the stacking of the determination place picture where lamination and preset step value, determine described in
The hatching effect parameter of the picture for the lamination being located at except lowest level in the picture placed is laminated, so that the picture of adjacent laminates
In, the hatching effect parameter of picture and the difference of the hatching effect parameter for the picture for being located at lower layer positioned at upper layer are equal to the step-length
Value;
For example, in one embodiment of the invention, the second determining module 42 can further be specifically used for:
The figure that lamination and preset stacking where the picture placed according to the stacking of the determination are placed
The maximum value and minimum value of the hatching effect parameter of piece determine in the picture of the stacking placement and are located at the undermost picture of stacking
Hatching effect parameter be the minimum value, determine the picture for being located at the stacking top layer in picture that the stacking is placed
Hatching effect parameter is the maximum value;And
Lamination and the preset maximum value and most where the picture placed according to the stacking of the determination
Small value determines the hatching effect ginseng of the picture for the lamination being located at except lowest level and top layer in the picture of the stacking placement
Number, so that the hatching effect parameter of picture and the shade for the picture for being located at lower layer positioned at upper layer are imitated in the picture of adjacent laminates
The difference of fruit parameter=(maximum value-minimum value)/(N-1), wherein the picture number that the stacking is placed is N.
Optionally, hatching effect parameter determined by the second determining module 42 may include shade offset and shadow blur half
At least one of diameter.
It should be noted that all or part of picture stacking for forming the splicing picture is put in the splicing picture
It sets.
Processing unit provided in an embodiment of the present invention can be used for executing the technical solution of embodiment of the method shown in Fig. 1,
The realization principle and technical effect are similar, and details are not described herein again.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (RandomAccess
Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (6)
1. a kind of processing method for splicing picture characterized by comprising
Determine that the splicing picture middle layer stacks the stratification position relationship for the picture set;
According to the stratification position relationship of the determination, the hatching effect that the picture of placement is laminated described in the splicing picture is determined
Parameter, wherein the hatching effect parameter for the picture that the stacking is placed is different;
According to the hatching effect parameter of the determination, shade effect is added for the picture of placement is laminated described in the splicing picture
Fruit;
Wherein, the stratification position relationship according to the determination determines the picture that placement is laminated described in the splicing picture
Hatching effect parameter include:
According to the stratification position relationship of the determination, determine folded where the picture of placement is laminated described in the splicing picture
Layer;
Lamination where the picture placed according to the stacking of the determination determines the shade effect for the picture that the stacking is placed
Fruit parameter, so that the hatching effect parameter for the picture that the stacking is placed is according to the lowest level by being laminated to the top layer being laminated
Sequence gradually increases;
Wherein, the lamination where the picture placed according to the stacking of the determination determines the figure that the stacking is placed
The hatching effect parameter of piece, comprising:
Lamination and preset hatching effect parameter minimum value where the picture placed according to the stacking of the determination,
Determine that being located at the hatching effect parameter of the undermost picture of stacking in the picture of the stacking placement is the minimum value;And
Lamination and preset step value where the picture placed according to the stacking of the determination, determine the stacking
It is located at the hatching effect parameter of the picture of the lamination except lowest level in the picture of placement, so that in the picture of adjacent laminates, position
The hatching effect parameter of picture in upper layer is equal to the step value with the difference of the hatching effect parameter for the picture for being located at lower layer;
Or
The picture that lamination and preset stacking where the picture placed according to the stacking of the determination are placed
The maximum value and minimum value of hatching effect parameter determine in the picture of the stacking placement and are located at the yin that undermost picture is laminated
Shadow efficacy parameter is the minimum value, determines the shade for being located at the picture of the stacking top layer in the picture of the stacking placement
Efficacy parameter is the maximum value;And
Lamination and the preset maximum value and minimum value where the picture placed according to the stacking of the determination,
Determine the hatching effect parameter of the picture for the lamination being located at except lowest level and top layer in the picture of the stacking placement, so that
In the picture of adjacent laminates, positioned at the hatching effect parameter and the hatching effect parameter for the picture for being located at lower layer of the picture on upper layer
Difference=(maximum value-minimum value)/(N-1), wherein the picture number that the stacking is placed is N.
2. the processing method of splicing picture according to claim 1, which is characterized in that the hatching effect parameter includes yin
At least one of shadow offset and shadow blur radius.
3. the processing method of splicing picture according to claim 1 or 2, which is characterized in that in the splicing picture, shape
It is laminated and places at all or part of picture of the splicing picture.
4. a kind of processing unit for splicing picture characterized by comprising
First determining module, for determining that the splicing picture middle layer stacks the stratification position relationship for the picture set;
Second determining module, the stratification position relationship for being determined according to first determining module, determines the splicing picture
Described in be laminated placement picture hatching effect parameter, wherein the hatching effect parameter for the picture that the stacking is placed is respectively not
It is identical;
Setup module, the hatching effect parameter for being determined according to second determining module are described in the splicing picture
The picture that stacking is placed adds hatching effect;
Wherein, second determining module is specifically used for:
According to the stratification position relationship that first determining module determines, the figure that placement is laminated described in the splicing picture is determined
Lamination where piece;
Lamination where the picture placed according to the stacking of the determination determines the shade effect for the picture that the stacking is placed
Fruit parameter, so that the hatching effect parameter for the picture that the stacking is placed is according to the lowest level by being laminated to the top layer being laminated
Sequence gradually increases;
Wherein, second determining module is further specifically used for:
Lamination and preset hatching effect parameter minimum value where the picture placed according to the stacking of the determination,
Determine that being located at the hatching effect parameter of the undermost picture of stacking in the picture of the stacking placement is the minimum value;And
Lamination and preset step value where the picture placed according to the stacking of the determination, determine the stacking
It is located at the hatching effect parameter of the picture of the lamination except lowest level in the picture of placement, so that in the picture of adjacent laminates, position
The hatching effect parameter of picture in upper layer is equal to the step value with the difference of the hatching effect parameter for the picture for being located at lower layer;
Or
The picture that lamination and preset stacking where the picture placed according to the stacking of the determination are placed
The maximum value and minimum value of hatching effect parameter determine in the picture of the stacking placement and are located at the yin that undermost picture is laminated
Shadow efficacy parameter is the minimum value, determines the shade for being located at the picture of the stacking top layer in the picture of the stacking placement
Efficacy parameter is the maximum value;And
Lamination and the preset maximum value and minimum value where the picture placed according to the stacking of the determination,
Determine the hatching effect parameter of the picture for the lamination being located at except lowest level and top layer in the picture of the stacking placement, so that
In the picture of adjacent laminates, positioned at the hatching effect parameter and the hatching effect parameter for the picture for being located at lower layer of the picture on upper layer
Difference=(maximum value-minimum value)/(N-1), wherein the picture number that the stacking is placed is N.
5. the processing unit of splicing picture according to claim 4, which is characterized in that the hatching effect parameter includes yin
At least one of shadow offset and shadow blur radius.
6. the processing unit of splicing picture according to claim 4 or 5, which is characterized in that in the splicing picture, shape
It is laminated and places at all or part of picture of the splicing picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511016920.3A CN105488761B (en) | 2015-12-29 | 2015-12-29 | Processing method and device for spliced pictures |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511016920.3A CN105488761B (en) | 2015-12-29 | 2015-12-29 | Processing method and device for spliced pictures |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105488761A CN105488761A (en) | 2016-04-13 |
CN105488761B true CN105488761B (en) | 2019-03-26 |
Family
ID=55675726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511016920.3A Active CN105488761B (en) | 2015-12-29 | 2015-12-29 | Processing method and device for spliced pictures |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105488761B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106780302A (en) * | 2016-11-30 | 2017-05-31 | 上海仙剑文化传媒股份有限公司 | A kind of digital picture automatic keyline layout method and device |
CN108876748B (en) * | 2018-06-29 | 2019-08-30 | 掌阅科技股份有限公司 | Picture display method calculates equipment and computer storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104637040A (en) * | 2013-11-12 | 2015-05-20 | 携程计算机技术(上海)有限公司 | Method and device utilizing Photoshop to realize picture splicing |
US9190016B2 (en) * | 2013-03-15 | 2015-11-17 | Valspar Sourcing, Inc. | Color-matching tool for virtual painting |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102842121A (en) * | 2011-06-24 | 2012-12-26 | 鸿富锦精密工业(深圳)有限公司 | Picture splicing system and picture splicing method |
US9552147B2 (en) * | 2012-02-01 | 2017-01-24 | Facebook, Inc. | Hierarchical user interface |
CN102930522B (en) * | 2012-11-12 | 2015-11-25 | 北京奇虎科技有限公司 | A kind of apparatus and method realizing picture splicing |
CN104658034B (en) * | 2013-11-18 | 2019-03-01 | 清华大学 | The fusion method for drafting of CT image data |
CN104376531B (en) * | 2014-12-11 | 2018-01-19 | 重庆地质仪器厂 | A kind of image split-joint method and system |
-
2015
- 2015-12-29 CN CN201511016920.3A patent/CN105488761B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9190016B2 (en) * | 2013-03-15 | 2015-11-17 | Valspar Sourcing, Inc. | Color-matching tool for virtual painting |
CN104637040A (en) * | 2013-11-12 | 2015-05-20 | 携程计算机技术(上海)有限公司 | Method and device utilizing Photoshop to realize picture splicing |
Also Published As
Publication number | Publication date |
---|---|
CN105488761A (en) | 2016-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105488761B (en) | Processing method and device for spliced pictures | |
EP2329313A2 (en) | Improvements in and relating to electronic visual displays | |
Yang et al. | Promoting cooperation by reputation-driven group formation | |
CN102903143A (en) | Method and system for converting two-dimensional image into three-dimensional image | |
CN104519345B (en) | Display device and method | |
CN106598250B (en) | A kind of VR display methods, device and electronic equipment | |
CN102998829B (en) | 3 D image display device | |
TW201229982A (en) | Thee dimensional display | |
CN107731099A (en) | The method that terminal, display screen and control display screen are shown | |
CN104519333A (en) | Image generating apparatus and display device for layered display scheme based on location of eye of user | |
CN105513027A (en) | Fuzzy processing method and device | |
CN102905141A (en) | Two-dimension to three-dimension conversion device and conversion method thereof | |
CN105842865B (en) | A kind of slim grating 3D display device based on slit grating | |
Patten | Ideas and politics in modern Britain | |
US10602120B2 (en) | Method and apparatus for transmitting image data, and method and apparatus for generating 3D image | |
CN107741870A (en) | The method that terminal, display screen and control display screen are shown | |
US10657634B2 (en) | Systems and methods for image processing | |
CN102474634B (en) | Model amendment $$$$ image is shown for 3-dimensional | |
CN204374821U (en) | Electronic equipment | |
CN104978162B (en) | Splice displaying system and its tiled display control method | |
CN205982701U (en) | Raster structure and stereoscopic display device | |
CN104349073B (en) | A kind of light field editor transmission method and device | |
CN103258337A (en) | Method and device for drawing map | |
CN107258079A (en) | For the methods, devices and systems for the crosstalk for reducing automatic stereoscopic display device | |
CN106303494A (en) | Method for processing video frequency and device |
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 |