CN108510541A - A kind of information adjusting method, electronic equipment and computer readable storage medium - Google Patents
A kind of information adjusting method, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN108510541A CN108510541A CN201810267281.5A CN201810267281A CN108510541A CN 108510541 A CN108510541 A CN 108510541A CN 201810267281 A CN201810267281 A CN 201810267281A CN 108510541 A CN108510541 A CN 108510541A
- Authority
- CN
- China
- Prior art keywords
- image
- attribute information
- virtual attribute
- field angle
- virtual
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000003860 storage Methods 0.000 title claims abstract description 14
- 238000004088 simulation Methods 0.000 claims description 13
- 238000004891 communication Methods 0.000 claims description 10
- 239000011800 void material Substances 0.000 claims description 7
- 238000013461 design Methods 0.000 description 32
- 238000010586 diagram Methods 0.000 description 15
- 238000004590 computer program Methods 0.000 description 7
- 230000000007 visual effect Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 4
- 230000018109 developmental process Effects 0.000 description 4
- 239000011521 glass Substances 0.000 description 4
- 241000208340 Araliaceae Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- 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/08—Indexing scheme for image data processing or generation, in general involving all processing steps from image acquisition to 3D model generation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the invention discloses a kind of information adjusting method, the method is applied in electronic equipment, the method includes:The first image for target object is obtained based on the first field angle;The second image for the target object is obtained based on the second field angle;Wherein, first field angle is different from second field angle, and it is identical with angle with the position of second image to obtain described first image;Second image includes the first virtual attribute information;Based on described first image and second image, the property parameters of the first virtual attribute information in second image are adjusted.The embodiment of the present invention also discloses a kind of electronic equipment and computer readable storage medium simultaneously.
Description
Technical field
The present invention relates in the communications field field angle regulation technology more particularly to a kind of information adjusting method, electronics set
Standby and computer readable storage medium.
Background technology
Augmented reality (Augmented Reality, AR) be it is a kind of virtual digit information superposition in real world
Technological means.When carrying out AR project developments, whether position, longitudinal degree, the visual field of virtual overlapped information are cut, at design end
Such as PC PCs (Personal Computer) be not directly visible the design finally the equipment with AR functions for example
Effect in AR glasses (Glass);Because the field angle (field angle) of AR Glass is smaller, position, direction to wearer
Highly there is certain requirement, therefore, the design at the ends PC not necessarily all meets the demand of AR Glass.
To solve the above problems, generally using following scheme in the prior art:AR will be arrived by often designing a version content
It experiences in Glass or in simulator, if inappropriate return again to the design of the ends PC, so repeats, until design meets AR
The demand of Glass.But existing this conceptual design teacher needs return again to the ends PC after taking feedback from the ends AR Glass to be set
Meter, operates cumbersome, time-consuming and laborious and efficiency is relatively low.
Invention content
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of information adjusting method, electronic equipment and meters
Calculation machine readable storage medium storing program for executing solves and needs to return again to what the ends PC were designed after taking feedback from the ends AR Glass in currently existing scheme
Problem can directly modify to the design for not meeting the demand of AR Glass at the ends PC, reduce operation complexity, improve
Working efficiency, and save the time.
What the technical solution of the embodiment of the present invention was realized in:
A kind of information adjusting method, the method are applied in electronic equipment, the method includes:
The first image for target object is obtained based on the first field angle;
The second image for the target object is obtained based on the second field angle;Wherein, first field angle and institute
The second field angle difference is stated, and it is identical with angle with the position of second image to obtain described first image;Second figure
As including the first virtual attribute information;
Based on described first image and second image, first virtual attribute letter in second image is adjusted
The property parameters of breath.
Optionally, first image obtained based on the first field angle for target object, including:
The vision parameter of human eye is obtained, and first field angle is arranged based on the vision parameter;
Using first field angle, obtain true picture of the target object in being presently in environment obtain it is described
First image.
Optionally, second image obtained based on the second field angle for the target object, including:
Preset field of view angular dimensions is obtained, and second field angle is arranged based on the preset field of view angular dimensions;
Using second field angle, the multidimensional simulation image obtained for the target object obtains second figure
Picture.
Optionally, described based on described first image and second image, adjust described the in second image
The property parameters of one virtual attribute information, including:
The third image for the target object is obtained based on third field angle;Wherein, the third image includes
Second virtual attribute information;
Based on described first image, second image and the second virtual attribute information, adjustment described first is virtual
The property parameters of attribute information.
Optionally, described based on described first image, second image and the second virtual attribute information, adjust institute
The property parameters of the first virtual attribute information are stated, including:
Based on described first image and second image, first virtual attribute letter in second image is adjusted
The property parameters of breath obtain the 4th image;Wherein, the 4th image includes third virtual attribute information, the 4th image
In the third virtual attribute information completely and visible;
Judge whether the third virtual attribute information matches with the second virtual attribute information;
If the third void is stated quasi- attribute information and is mismatched with the second virtual attribute information, virtual based on described second
Attribute information adjusts the property parameters of the third virtual attribute information, the third virtual attribute information after adjustment with
The second virtual attribute information matches.
Optionally, described based on described first image and second image, adjust described the in second image
The property parameters of one virtual attribute information, including:
By described first image and second image superposition, and obtains the first virtual attribute information and be superimposed to obtain
Image between position relationship;
Based on the position relationship, the property parameters of the first virtual attribute information are adjusted so that described first is virtual
Attribute information is complete and visible in second image.
A kind of electronic equipment, the electronic equipment include:Processor, memory and communication bus;
The communication bus is for realizing the communication connection between processor and memory;
The processor is used to execute the field angle stored in memory and adjusts program, to realize following steps:
The first image for target object is obtained based on the first field angle;
The second image for the target object is obtained based on the second field angle;Wherein, first field angle and institute
The second field angle difference is stated, and it is identical with the position of second image to obtain described first image;It is wrapped in second image
Include the first virtual attribute information;
Based on described first image and second image, first virtual attribute letter in second image is adjusted
The property parameters of breath.
Optionally, the processor is used to execute the field angle stored in memory and adjusts program, to realize following steps:
The third image for the target object is obtained based on third field angle;Wherein, the third image includes
Second virtual attribute information;
Based on described first image, second image and the second virtual attribute information, adjustment described first is virtual
The property parameters of attribute information.
Optionally, the processor is used to execute the field angle stored in memory and adjusts program, to realize following steps:
Based on described first image and second image, first virtual attribute letter in second image is adjusted
The property parameters of breath obtain the 4th image;Wherein, the 4th image includes third virtual attribute information, the 4th image
In the third virtual attribute information completely and visible;
Judge whether third virtual attribute information matches with the second virtual attribute information;
If the third void states quasi- attribute information and institute's the second virtual attribute information mismatch, virtually belong to based on described second
Property information adjusts the property parameters of the third virtual attribute information, the third virtual attribute information after adjustment and institute
State the second virtual attribute information matches.
A kind of computer readable storage medium, there are one the computer-readable recording medium storages or multiple programs,
One or more of programs can be executed by one or more processor, to realize information adjusting method described above
Step.
Information adjusting method, electronic equipment and the computer readable storage medium that the embodiment of the present invention is provided, are based on
First field angle obtains the first image for target object, and the second figure for target object is obtained based on the second field angle
Picture, the first field angle is different from the second field angle, and the position for obtaining the first image and the second image is identical with angle, the second figure
As including the first virtual attribute information, it is based on the first image and the second image, adjusts the first virtual attribute in the second image
The property parameters of information, in this way, can be got for the image under two different field angles of same target, directly at the ends PC
It connects and compares the two images and can adjust the property parameters for forming virtual attribute information in the second image when the design of the ends PC, nothing
It needs to take feedback result from the ends AR Glass again after the completion of the design of the ends PC, solves and need to take from the ends AR Glass in currently existing scheme
The problem of design of the ends PC is returned again to after to feedback, can directly repair the design for not meeting the demand of AR Glass at the ends PC
Change, reduce operation complexity, improve work efficiency, and saves the time.
Description of the drawings
Fig. 1 is a kind of flow diagram for information adjusting method that the embodiment of the present invention provides;
Fig. 2 is the flow diagram for another information adjusting method that the embodiment of the present invention provides;
Fig. 3 is the flow diagram for another information adjusting method that the embodiment of the present invention provides;
Fig. 4 is the schematic diagram of a kind of acquisition the first image and the second image that the embodiment of the present invention provides;;
Fig. 5 is a kind of flow diagram for information adjusting method that another embodiment of the present invention provides;
Fig. 6 is a kind of schematic diagram for image including target object to be collected that the embodiment of the present invention provides;
Fig. 7 is the schematic diagram of a kind of first image and the second image that the embodiment of the present invention provides;
Fig. 8 is the schematic diagram of the image collected after complete second field angle of a kind of adjustment that the embodiment of the present invention provides;
Fig. 9 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention provides.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes.
The embodiment of the present invention provides a kind of information adjusting method, and shown referring to Fig.1, this approach includes the following steps:
Step 101 obtains the first image for target object based on the first field angle.
Wherein, step 101 based on the first field angle obtain for target object the first image can by electronic equipment come
It realizes;Electronic equipment can be the equipment with AR project development design functions are completed, such as can carry out AR project developments
When used PC etc..
First field angle can be the field angle of user designer when AR projects are designed at the ends PC, then the first field angle
Angle can be the angle of the field angle of designer;Target object can be that preset designed for debugging exploitation obtains
The field angle about AR products object, such as can be object, people, animal etc..First image can be with the first visual field
The image got after the photographic subjects object of angle.
Step 102 obtains the second image for target object based on the second field angle.
Wherein, the first field angle is different from the second field angle, and obtains position and the angle of the first image and the second image
It is identical.
In other embodiments of the invention, step 102 obtains the second figure for target object based on the second field angle
As that can be realized by electronic equipment;Second field angle can be regarding for the AR products obtained after completing the design of AR project developments
Rink corner, then the angle of the second field angle can be the angle of the field angle of AR products;Second image can be regarded with second
The image got after the photographic subjects object of rink corner.
Step 103 is based on the first image and the second image, adjusts the attribute of the first virtual attribute information in the second image
Parameter.
Wherein, step 103 is based on the first image and the second image, adjusts the first virtual attribute information in the second image
Property parameters can be realized by electronic equipment;Based on the first virtual category in the first image and second the second image of Image Adjusting
Property information property parameters can be that the first image and the second image are overlapped processing, then according to the first virtual attribute believe
The relationship between image after breath and overlap-add procedure adjusts the property parameters of the first virtual attribute information in the second image;First
Virtual attribute information can be intended to indicate that the information of the attribute information of the target object in the second image.
The information adjusting method that the embodiment of the present invention is provided obtains for target object based on the first field angle
One image obtains the second image for target object based on the second field angle, and the first field angle is different from the second field angle, and
The position for obtaining the first image and the second image is identical with angle, and the second image includes the first virtual attribute information, based on the
One image and the second image adjust the property parameters of the first virtual attribute information in the second image, in this way, at the ends PC
It gets for the image under two of same target different field angles, directly compares the two images and can adjust the ends PC and set
Timing forms the property parameters of the virtual attribute information in the second image, without being taken again from the ends AR Glass after the completion of the design of the ends PC
Feedback result solves the problems, such as to need to return again to the design of the ends PC, energy after taking feedback from the ends AR Glass in currently existing scheme
It is enough directly to modify to the design for not meeting the demand of AR Glass at the ends PC, operation complexity is reduced, work is improved
Efficiency, and save the time.
The embodiment of the present invention provides a kind of information adjusting method, and with reference to shown in Fig. 2, this method may include following step
Suddenly:
Step 201, electronic equipment obtain the vision parameter of human eye, and the first field angle of view-based access control model parameter setting.
Wherein, the vision parameter of human eye can be people's corresponding vision parameter when normal through eyes viewing information;
It can be obtained under multiple scenes in practical application, people's corresponding vision parameter when normal through eyes viewing information, to protect
Demonstrate,prove the accuracy for the first field angle being finally arranged.The first field angle of view-based access control model parameter setting can be the human eye that will be obtained
Vision parameter is analyzed, and the field angle of human eye is obtained, and then the field angle that the first field angle is human eye is arranged;It needs to illustrate
It is that the field angle for being analyzed the vision parameter of obtained human eye to obtain human eye can may be implemented to be based on regarding by any
Feel that parameter obtains the scheme of field angle to carry out;In a kind of feasible realization method, the multiple human eyes that can obtain
The average value of vision parameter, and determine based on the average value field angle of human eye.
Step 202, electronic equipment use the first field angle, obtain true picture of the target object in being presently in environment
Obtain the first image.
Wherein, target object is presently in the mesh that the true picture in environment can be the initial setting up when implementing this programme
Based on environmental information where mark object, the actual image of target object wherein.First image can be by using
Camera shoots the image obtained after actual target object with the first field angle.
Step 203, electronic equipment obtain preset field of view angular dimensions, and the second visual field is arranged based on preset field of view angular dimensions
Angle.
Wherein, the second visual field angular dimensions can be the visual field angular dimensions that user obtains in advance;In a kind of feasible realization side
In formula, preset field of view angular dimensions can be regarding for the AR products that the first field angle of use obtained in advance carries out that exploitation design obtains
Rink corner parameter.
Step 204, electronic equipment use the second field angle, and the multidimensional simulation image obtained for target object obtains second
Image.
Wherein, use the second field angle obtain for target object multidimensional simulation image obtain the second image can be with
Second field angle is that shooting angle passes through the image that is obtained after the corresponding multidimensional simulation image of camera photographic subjects object;It needs
Illustrate, the multidimensional simulation image of target object can be image of the target object in virtual multidimensional simulation environment.
Step 205, electronic equipment are based on the first image and the second image, adjust the first virtual attribute letter in the second image
The property parameters of breath.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican
According to the description in other embodiments, details are not described herein again.
The information adjusting method that the embodiment of the present invention is provided obtains for target object based on the first field angle
One image obtains the second image for target object based on the second field angle, and the first field angle is different from the second field angle, and
The position for obtaining the first image and the second image is identical with angle, and the second image includes the first virtual attribute information, based on the
One image and the second image adjust the property parameters of the first virtual attribute information in the second image, in this way, at the ends PC
It gets for the image under two of same target different field angles, directly compares the two images and can adjust the ends PC and set
Timing forms the property parameters of the virtual attribute information in the second image, without being taken again from the ends AR Glass after the completion of the design of the ends PC
Feedback result solves the problems, such as to need to return again to the design of the ends PC, energy after taking feedback from the ends AR Glass in currently existing scheme
It is enough directly to modify to the design for not meeting the demand of AR Glass at the ends PC, operation complexity is reduced, work is improved
Efficiency, and save the time.
Based on previous embodiment, the embodiment of the present invention provides a kind of information adjusting method, with reference to shown in Fig. 3, this method
Include the following steps:
Step 301, electronic equipment obtain the vision parameter of human eye, and the first field angle of view-based access control model parameter setting.
Step 302, electronic equipment use the first field angle, obtain true picture of the target object in being presently in environment
Obtain the first image.
Step 303, electronic equipment obtain preset field of view angular dimensions, and the second visual field is arranged based on preset field of view angular dimensions
Angle.
Step 304, electronic equipment use the second field angle, and the multidimensional simulation image obtained for target object obtains second
Image.
Wherein, camera can be superposed together when shooting the first image and the second image;In one kind
Can be that the first image and the second image are acquired using Softcam in feasible realization method.Implemented with the present invention
The target object shot in example is generator, and it is virtual camera A that shooting, which obtains the first image, and shooting obtains the second image and is
Virtual camera B, in three-dimensional software editing machine, (position angle is consistent, and field angle differs with B by the virtual camera A overlapped with two
Cause) to generator C be overlapped observation for illustrate:As shown in figure 4, virtual camera A and virtual camera B are superposed
At the M of position, the field angle of setting virtual camera A is the first field angle, and the field angle of setting virtual camera B is the second field angle;
The field angle (i.e. the first field angle) of virtual camera A and the field angle (i.e. the second field angle) of virtual camera B are shown in Fig. 4,
In Fig. 4 with position M be pecked line formed frame where region be exactly the first field angle regional extent;It is with position M
Region where the frame that point solid line is formed is exactly the regional extent of the second field angle.Virtual camera A simulations are exploitation designs
When human eye,
Step 305, electronic equipment obtain the third image for target object based on third field angle.
Wherein, third image includes the second virtual attribute information.
In other embodiments of the invention, third field angle is more than the first field angle, and third field angle is more than second
Field angle;Third field angle can see all image informations in the first field angle and the corresponding region of the second field angle,
That is third field angle can see all pictures in the corresponding region of place scene;Also, it is adopted using third field angle
All properties information with target object in the third image collected.As shown in figure 4, the picture seen of third field angle can be with
It is the picture in entire room, the second virtual attribute information can be all icons in Fig. 4, and all icons are in third image
In be complete and visible.
Step 306, electronic equipment are based on the first image, the second image and the second virtual attribute information, and adjustment first is virtual
The property parameters of attribute information.
Wherein, in a kind of feasible realization method, the first virtual attribute information, which can be in the form of virtual graph target, is in
It is existing;For example, being illustrated so that target object is engine as an example, which may include:Specification, repair
Guidance, remote assistance etc..Also, the first virtual attribute information as shown in Figure 4 can be shown in the form of icon;Together
When, display of the first virtual attribute information (icon) in the second image is incomplete, i.e., is only able to display in the second image
The partial information of icon.
Second virtual attribute information is identical as the first virtual attribute information, that is to say, that the second virtual attribute information can also
Information for the attribute information for indicating the target object in the second image;In a kind of feasible realization method, second is virtual
Attribute information can be presented in the form of virtual graph target;For example, being illustrated so that target object is engine as an example, second is empty
Quasi- attribute information can also include:Specification, maintenance direction, remote assistance etc.;Also, second virtual category as shown in Figure 4
Property information can be in the form of icon show.
Can be first according to the first image and second when the specifically property parameters of the first virtual attribute information of adjustment
Image adjusts the property parameters of the first virtual attribute information in the second image, then belongs to further according to first after adjustment is virtual
Property information and the second virtual attribute information, the first virtual attribute information after adjustment adjustment.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican
According to the description in other embodiments, details are not described herein again.
The information adjusting method that the embodiment of the present invention is provided obtains for target object based on the first field angle
One image obtains the second image for target object based on the second field angle, and the first field angle is different from the second field angle, and
The position for obtaining the first image and the second image is identical with angle, and the second image includes the first virtual attribute information, based on the
One image and the second image adjust the property parameters of the first virtual attribute information in the second image, in this way, at the ends PC
It gets for the image under two of same target different field angles, directly compares the two images and can adjust the ends PC and set
Timing forms the property parameters of the virtual attribute information in the second image, without being taken again from the ends AR Glass after the completion of the design of the ends PC
Feedback result solves the problems, such as to need to return again to the design of the ends PC, energy after taking feedback from the ends AR Glass in currently existing scheme
It is enough directly to modify to the design for not meeting the demand of AR Glass at the ends PC, operation complexity is reduced, work is improved
Efficiency, and save the time.
Based on previous embodiment, the embodiment of the present invention provides a kind of information adjusting method, referring to Figure 5, this method
Include the following steps:
Step 401, electronic equipment obtain the vision parameter of human eye, and the first field angle of view-based access control model parameter setting.
Step 402, electronic equipment use the first field angle, obtain true picture of the target object in being presently in environment
Obtain the first image.
Step 403, electronic equipment obtain preset field of view angular dimensions, and the second visual field is arranged based on preset field of view angular dimensions
Angle.
Step 404, electronic equipment use the second field angle, and the multidimensional simulation image obtained for target object obtains second
Image.
Wherein, collected second image can be as in Fig. 7 after being shot using the second field angle using virtual camera B
Dotted line frame region shown in 7b removes the image for (namely only including virtual attribute information) after generator and respective background;
Virtual camera B simulations are the AR products developed design and obtained, such as can be dotted lines shown in the 7b in AR Glass, Fig. 7
The second virtual attribute information of generator is not necessarily all fully visible in the image of frame region, i.e. specification, repair refers to
It leads, the information such as remote assistance are not all fully visible;For example, all corresponding icons of the second virtual attribute information can only be seen
To a part therein, another part is invisible, and such user does not just know that the corresponding information of the icon is on earth yet
What.Certainly, in other embodiments of the invention, the second virtual attribute INFORMATION OF INCOMPLETE is visible can also refer to part
Two virtual attribute information are fully visible, and part the second virtual attribute information is invisible or to can only see a part etc. a variety of
Situation.
Step 405, electronic equipment obtain the third image for target object based on third field angle.
Wherein, as shown in fig. 6, being said so that target object to be captured is the generator being placed on conference table as an example
It is bright:Collected third image can be the image as shown in the 7a in Fig. 7 after being shot using third field angle;7a in Fig. 7
Shown in image all second virtual attribute information of generator be all visible, i.e. specification, maintenance direction, remote assistance
Etc. information be all fully visible, and the corresponding all virtual attribute information of the generator all have shown that out;Certainly,
In a kind of feasible realization method, the first virtual attribute information and the second virtual attribute information can also be including previous steps under
Corresponding icon of one step etc..
Step 406, electronic equipment are based on the first image and the second image, adjust the first virtual attribute letter in the second image
The property parameters of breath obtain the 4th image.
Wherein, the 4th image includes third virtual attribute information, the third virtual attribute information completely in the 4th image
And it is visible.Third virtual attribute information can be the first virtual attribute information after adjustment.
Step 406 is based on the first image and the second image, adjusts the attribute of the first virtual attribute information in the second image
Parameter, which obtains the 4th image, to be accomplished by the following way:
Step 406a, electronic equipment is by the first image and the second image superposition, and obtains the first virtual attribute information and fold
Position relationship between the image added.
Wherein, the first image and the second image superposition are referred to the first image and the second figure when exporting image
It is then exported as carrying out virtual superposition;After the superimposed image after obtaining superposition output, the first virtual attribute information can be obtained
Position in superimposed image.In a kind of feasible realization method, superimposed image can be schemed as shown in the 7b in Fig. 7
Picture.
Step 406b, electronic equipment is based on position relationship, adjusts the property parameters of the first virtual attribute information so that first
Virtual attribute information is complete and visible in the second image.
Wherein, after obtaining the first virtual attribute information, electronic equipment detects whether the first virtual attribute information all shows
In region defined by the dotted line frame of 7b in the figure 7, if the first virtual attribute information is without all 7b of display in the figure 7
Dotted line frame defined by region, size and the/position of the first virtual attribute information can be adjusted at this time, it is final so that folded
The information that the first virtual attribute information is only partially shown in dotted line frame region originally is added in image to be all shown in dotted line
In frame region.It should be noted that dotted line frame region can be the region corresponding to the second field angle;In adjustment the
Can be the size of only the first virtual attribute information of adjusting, such as virtual by first when the property parameters of one virtual attribute information
The size of attribute information is turned down, if the first virtual attribute information after adjustment is all shown in the second field angle institute after adjustment
Adjustment is terminated in corresponding region;If by the sufficiently small of the size tune of the first virtual attribute information, but passing through size
The first virtual attribute information after adjustment is not shown in all yet in the region corresponding to the second field angle, can continue to adjust at this time
The position for saving the first virtual attribute information makes the first virtual attribute information after size and position adjustment all be shown in second
In region corresponding to field angle.Certainly, it can also be when being adjusted to the first virtual attribute information while adjusting first
The size of virtual attribute information and position, specifically how adjusting can determine according to actual demand.
Step 407, electronic equipment judge whether third virtual attribute information matches with the second virtual attribute information.
Wherein, judge that third virtual attribute information with whether the second virtual attribute information matches can be by judging third
The modes such as whether information that virtual attribute information includes with the second virtual attribute information identical are realized.
If step 408, third void state quasi- attribute information and the second virtual attribute information mismatches, electronic equipment is based on second
Virtual attribute information adjusts the property parameters of third virtual attribute information, the third virtual attribute information and second after adjustment
Virtual attribute information matches.
Wherein, if third virtual attribute information and the INFORMATION OF INCOMPLETE that the second virtual attribute information includes are mutually same, that
It is considered that third virtual attribute information is mismatched with the second virtual attribute information;At this point it is possible to according to the second virtual attribute
The content adjustment third virtual attribute information that information is specifically referred to, such as adjust size and the/position of third virtual attribute information
It sets, it is final so that the content that the content that the third virtual attribute information after adjustment is referred to is referred to the second virtual attribute information
It is identical.For example, image as shown in Figure 8, the figure of virtual box region can be presented after having adjusted third virtual attribute information
Virtual attribute information as in be all within virtual box where region in, and will include all virtual attribute letters
Breath.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican
According to the description in other embodiments, details are not described herein again.
The information adjusting method that the embodiment of the present invention is provided obtains for target object based on the first field angle
One image obtains the second image for target object based on the second field angle, and the first field angle is different from the second field angle, and
The position for obtaining the first image and the second image is identical with angle, and the second image includes the first virtual attribute information, based on the
One image and the second image adjust the property parameters of the first virtual attribute information in the second image, in this way, at the ends PC
It gets for the image under two of same target different field angles, directly compares the two images and can adjust the ends PC and set
Timing forms the property parameters of the virtual attribute information in the second image, without being taken again from the ends AR Glass after the completion of the design of the ends PC
Feedback result solves the problems, such as to need to return again to the design of the ends PC, energy after taking feedback from the ends AR Glass in currently existing scheme
It is enough directly to modify to the design for not meeting the demand of AR Glass at the ends PC, operation complexity is reduced, work is improved
Efficiency, and save the time.
Based on previous embodiment, the embodiment of the present invention provides a kind of electronic equipment, which can be applied to Fig. 1
In a kind of information adjusting method that~3,5 corresponding embodiments provide, with reference to shown in Fig. 9, which may include:Place
Device 51, memory 52 and communication bus 53 are managed, wherein:
Communication bus 53 is for realizing the communication connection between processor 51 and memory 52.
Processor 51 is used to execute the field angle stored in memory 52 and adjusts program, to realize following steps:
The first image for target object is obtained based on the first field angle;
The second image for target object is obtained based on the second field angle;
Wherein, the first field angle is different from the second field angle, and the position for obtaining the first image and the second image is identical;The
Two images include the first virtual attribute information;
Based on the first image and the second image, the property parameters of the first virtual attribute information in the second image are adjusted.
In other embodiments of the invention, processor 51 is used to execute the field angle stored in memory 52 and adjusts program
Based on the first field angle obtain for target object the first image, to realize following steps:
Obtain the vision parameter of human eye, and the first field angle of view-based access control model parameter setting;
Using the first field angle, obtains true picture of the target object in being presently in environment and obtain the first image.
In other embodiments of the invention, processor 51 is used to execute the field angle stored in memory 52 and adjusts program
Based on the second field angle obtain for target object the second image, to realize following steps:
Preset field of view angular dimensions is obtained, and the second field angle is arranged based on preset field of view angular dimensions;
Using the second field angle, the multidimensional simulation image obtained for target object obtains the second image.
In other embodiments of the invention, processor 51 is used to execute the field angle stored in memory 52 and adjusts program
Based on the first image and the second image, adjust the property parameters of the first virtual attribute information in the second image, with realize with
Lower step:
The third image for target object is obtained based on third field angle;
Wherein, third image includes the second virtual attribute information;
Based on the first image, the second image and the second virtual attribute information, the attribute ginseng of the first virtual attribute information of adjustment
Number.
In other embodiments of the invention, processor 51 is used to execute the field angle stored in memory 52 and adjusts program
Based on the first image, the second image and the second virtual attribute information, the property parameters of the first virtual attribute information are adjusted, with reality
Existing following steps:
Based on the first image and the second image, the property parameters for adjusting the first virtual attribute information in the second image obtain
4th image;
Wherein, the 4th image includes third virtual attribute information, the third virtual attribute information completely in the 4th image
And it is visible;
Judge whether third virtual attribute information matches with the second virtual attribute information;
If third void is stated quasi- attribute information and two virtual attribute information and mismatched, based on the second virtual attribute information adjustment the
The property parameters of three virtual attribute information, the third virtual attribute information after adjustment and the second virtual attribute information matches.
In other embodiments of the invention, processor 51 is used to execute the field angle stored in memory 52 and adjusts program
Based on the first image and the second image, adjust the property parameters of the first virtual attribute information in the second image, with realize with
Lower step:
By the first image and the second image superposition, and obtain between the first virtual attribute information and the image being superimposed
Position relationship;
Based on position relationship, the property parameters of the first virtual attribute information are adjusted so that the first virtual attribute information is the
It is complete and visible in two images.
It should be noted that the specific implementation process of the step in the present embodiment performed by processor, be referred to Fig. 1~
3, the realization process in the information adjusting method that 5 corresponding embodiments provide, details are not described herein again.
The electronic equipment that the embodiment of the present invention is provided obtains the first figure for target object based on the first field angle
Picture obtains the second image for target object based on the second field angle, and the first field angle is different from the second field angle, and obtains
The position of first image and the second image is identical with angle, and the second image includes the first virtual attribute information, is based on the first figure
Picture and the second image, adjust the property parameters of the first virtual attribute information in the second image, in this way, can be obtained at the ends PC
Image under two different field angles for same target, when the design of the ends PC can be adjusted by directly comparing the two images
The property parameters of the virtual attribute information in the second image are formed, without taking feedback from the ends AR Glass again after the completion of the design of the ends PC
As a result, solving the problems, such as to need to return again to the design of the ends PC, Neng Gouzhi after taking feedback from the ends AR Glass in currently existing scheme
It is connected on the ends PC to modify to the design for not meeting the demand of AR Glass, reduces operation complexity, improve work efficiency,
And save the time.
Based on previous embodiment, the embodiment of the present invention provides a kind of computer readable storage medium, this is computer-readable
Storage medium is stored with one or more program, which can be executed by one or more processor,
To realize following steps:
The first image for target object is obtained based on the first field angle;
The second image for target object is obtained based on the second field angle;
Wherein, the first field angle is different from the second field angle, and the position for obtaining the first image and the second image is identical;The
Two images include the first virtual attribute information;
Based on the first image and the second image, the property parameters of the first virtual attribute information in the second image are adjusted.
In other embodiments of the invention, which can execute base by one or more processor
The first image for target object is obtained in the first field angle, to realize following steps:
Obtain the vision parameter of human eye, and the first field angle of view-based access control model parameter setting;
Using the first field angle, obtains true picture of the target object in being presently in environment and obtain the first image.
In other embodiments of the invention, which can execute base by one or more processor
The second image for target object is obtained in the second field angle, to realize following steps:
Preset field of view angular dimensions is obtained, and the second field angle is arranged based on preset field of view angular dimensions;
Using the second field angle, the multidimensional simulation image obtained for target object obtains the second image.
In other embodiments of the invention, which can execute base by one or more processor
In the first image and the second image, the property parameters of the first virtual attribute information in the second image are adjusted, to realize following step
Suddenly:
The third image for target object is obtained based on third field angle;
Wherein, third image includes the second virtual attribute information;
Based on the first image, the second image and the second virtual attribute information, the attribute ginseng of the first virtual attribute information of adjustment
Number.
In other embodiments of the invention, which can execute base by one or more processor
In the first image, the second image and the second virtual attribute information, adjust the property parameters of the first virtual attribute information, with realize with
Lower step:
Based on the first image and the second image, the property parameters for adjusting the first virtual attribute information in the second image obtain
4th image;
Wherein, the 4th image includes third virtual attribute information, the third virtual attribute information completely in the 4th image
And it is visible;
Judge whether third virtual attribute information matches with the second virtual attribute information;
If third void is stated quasi- attribute information and two virtual attribute information and mismatched, based on the second virtual attribute information adjustment the
The property parameters of three virtual attribute information, the third virtual attribute information after adjustment and the second virtual attribute information matches.
In other embodiments of the invention, which can execute base by one or more processor
In the first image and the second image, the property parameters of the first virtual attribute information in the second image are adjusted, to realize following step
Suddenly:
By the first image and the second image superposition, and obtain between the first virtual attribute information and the image being superimposed
Position relationship;
Based on position relationship, the property parameters of the first virtual attribute information are adjusted so that the first virtual attribute information is the
It is complete and visible in two images.
It should be noted that the specific implementation process of the step in the present embodiment performed by processor, be referred to Fig. 1~
3, the realization process in the information adjusting method that 5 corresponding embodiments provide, details are not described herein again.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention
Formula.Moreover, the present invention can be used can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of 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 count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (10)
1. a kind of information adjusting method, the method is applied in electronic equipment, the method includes:
The first image for target object is obtained based on the first field angle;
The second image for the target object is obtained based on the second field angle;Wherein, first field angle and described the
Two field angles are different, and it is identical with angle with the position of second image to obtain described first image;In second image
Including the first virtual attribute information;
Based on described first image and second image, the first virtual attribute information in second image is adjusted
Property parameters.
2. according to the method described in claim 1, it is characterized in that, described obtained based on the first field angle for target object
First image, including:
The vision parameter of human eye is obtained, and first field angle is arranged based on the vision parameter;
Using first field angle, obtains true picture of the target object in being presently in environment and obtain described first
Image.
3. method according to claim 1 or 2, which is characterized in that second field angle that is based on is obtained for the mesh
The second image of object is marked, including:
Preset field of view angular dimensions is obtained, and second field angle is arranged based on the preset field of view angular dimensions;
Using second field angle, the multidimensional simulation image obtained for the target object obtains second image.
4. according to the method described in claim 1, it is characterized in that, described based on described first image and second image,
The property parameters of the first virtual attribute information in second image are adjusted, including:
The third image for the target object is obtained based on third field angle;Wherein, the third image includes second
Virtual attribute information;
Based on described first image, second image and the second virtual attribute information, first virtual attribute is adjusted
The property parameters of information.
5. according to the method described in claim 4, it is characterized in that, it is described based on described first image, second image with
The second virtual attribute information adjusts the property parameters of the first virtual attribute information, including:
Based on described first image and second image, the first virtual attribute information in second image is adjusted
Property parameters obtain the 4th image;Wherein, the 4th image includes third virtual attribute information, in the 4th image
The third virtual attribute information completely and visible;
Judge whether the third virtual attribute information matches with the second virtual attribute information;
If the third void is stated quasi- attribute information and mismatched with the second virtual attribute information, it is based on second virtual attribute
Information adjusts the property parameters of the third virtual attribute information, the third virtual attribute information after adjustment with it is described
Second virtual attribute information matches.
6. method according to claim 1 or 5, which is characterized in that described to be based on described first image and second figure
Picture adjusts the property parameters of the first virtual attribute information in second image, including:
By described first image and second image superposition, and obtain the first virtual attribute information and the figure that is superimposed
Position relationship as between;
Based on the position relationship, the property parameters of the first virtual attribute information are adjusted so that first virtual attribute
Information is complete and visible in second image.
7. a kind of electronic equipment, which is characterized in that the electronic equipment includes:Processor, memory and communication bus;
The communication bus is for realizing the communication connection between processor and memory;
The processor is used to execute the field angle stored in memory and adjusts program, to realize following steps:
The first image for target object is obtained based on the first field angle;
The second image for the target object is obtained based on the second field angle;Wherein, first field angle and described the
Two field angles are different, and it is identical with the position of second image to obtain described first image;Second image includes
One virtual attribute information;
Based on described first image and second image, the first virtual attribute information in second image is adjusted
Property parameters.
8. electronic equipment according to claim 7, which is characterized in that the processor is used to execute to store in memory
Field angle adjusts program, to realize following steps:
The third image for the target object is obtained based on third field angle;Wherein, the third image includes second
Virtual attribute information;
Based on described first image, second image and the second virtual attribute information, first virtual attribute is adjusted
The property parameters of information.
9. electronic equipment according to claim 8, which is characterized in that the processor is used to execute to store in memory
Field angle adjusts program, to realize following steps:
Based on described first image and second image, the first virtual attribute information in second image is adjusted
Property parameters obtain the 4th image;Wherein, the 4th image includes third virtual attribute information, in the 4th image
The third virtual attribute information completely and visible;
Judge whether third virtual attribute information matches with the second virtual attribute information;
If the third void states quasi- attribute information and institute's the second virtual attribute information mismatch, believed based on second virtual attribute
Breath adjusts the property parameters of the third virtual attribute information, the third virtual attribute information after adjustment and described the
Two virtual attribute information matches.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage there are one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 6
Any one of described in information adjusting method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810267281.5A CN108510541B (en) | 2018-03-28 | 2018-03-28 | Information adjusting method, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810267281.5A CN108510541B (en) | 2018-03-28 | 2018-03-28 | Information adjusting method, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108510541A true CN108510541A (en) | 2018-09-07 |
CN108510541B CN108510541B (en) | 2020-09-25 |
Family
ID=63379071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810267281.5A Active CN108510541B (en) | 2018-03-28 | 2018-03-28 | Information adjusting method, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108510541B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110264393A (en) * | 2019-05-15 | 2019-09-20 | 联想(上海)信息技术有限公司 | A kind of information processing method, terminal and storage medium |
CN110519540A (en) * | 2019-08-29 | 2019-11-29 | 深圳市道通智能航空技术有限公司 | A kind of image processing method, device, equipment and storage medium |
CN112132909A (en) * | 2020-09-23 | 2020-12-25 | 字节跳动有限公司 | Parameter acquisition method and device, media data processing method and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104102678A (en) * | 2013-04-15 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Method and device for realizing augmented reality |
CN105072436A (en) * | 2015-08-28 | 2015-11-18 | 胡东海 | Automatic adjustment method and adjustment device of virtual reality and augmented reality imaging depth-of-field |
CN106162117A (en) * | 2015-04-10 | 2016-11-23 | 北京智谷睿拓技术服务有限公司 | Display control method and device |
US20180025520A1 (en) * | 2015-01-21 | 2018-01-25 | Chengdu Idealsee Technology Co., Ltd. | Binocular see-through AR head-mounted display device and information displaying method thereof |
-
2018
- 2018-03-28 CN CN201810267281.5A patent/CN108510541B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104102678A (en) * | 2013-04-15 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Method and device for realizing augmented reality |
US20180025520A1 (en) * | 2015-01-21 | 2018-01-25 | Chengdu Idealsee Technology Co., Ltd. | Binocular see-through AR head-mounted display device and information displaying method thereof |
CN106162117A (en) * | 2015-04-10 | 2016-11-23 | 北京智谷睿拓技术服务有限公司 | Display control method and device |
CN105072436A (en) * | 2015-08-28 | 2015-11-18 | 胡东海 | Automatic adjustment method and adjustment device of virtual reality and augmented reality imaging depth-of-field |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110264393A (en) * | 2019-05-15 | 2019-09-20 | 联想(上海)信息技术有限公司 | A kind of information processing method, terminal and storage medium |
CN110264393B (en) * | 2019-05-15 | 2023-06-23 | 联想(上海)信息技术有限公司 | Information processing method, terminal and storage medium |
CN110519540A (en) * | 2019-08-29 | 2019-11-29 | 深圳市道通智能航空技术有限公司 | A kind of image processing method, device, equipment and storage medium |
CN112132909A (en) * | 2020-09-23 | 2020-12-25 | 字节跳动有限公司 | Parameter acquisition method and device, media data processing method and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108510541B (en) | 2020-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210312685A1 (en) | Method for synthesizing figure of virtual object, electronic device, and storage medium | |
US10855909B2 (en) | Method and apparatus for obtaining binocular panoramic image, and storage medium | |
US8390628B2 (en) | Facial animation using motion capture data | |
JP2020510262A (en) | Expression animation generating method and apparatus, storage medium, and electronic device | |
AU2013224660B2 (en) | Automated frame of reference calibration for augmented reality | |
US20150049201A1 (en) | Automatic calibration of scene camera for optical see-through head mounted display | |
CN106600709A (en) | Decoration information model-based VR virtual decoration method | |
CN102945564A (en) | True 3D modeling system and method based on video perspective type augmented reality | |
Andersen et al. | Virtual annotations of the surgical field through an augmented reality transparent display | |
KR20090065351A (en) | Head motion tracking method for 3d facial model animation from a video stream | |
CN108510541A (en) | A kind of information adjusting method, electronic equipment and computer readable storage medium | |
CN109840946B (en) | Virtual object display method and device | |
CN109191508A (en) | A kind of simulation beauty device, simulation lift face method and apparatus | |
CN110568934B (en) | Low-error high-efficiency multi-marker-diagram augmented reality system | |
CN109698914A (en) | A kind of lightning special efficacy rendering method, device, equipment and storage medium | |
CN109688343A (en) | The implementation method and device of augmented reality studio | |
CN106991706A (en) | One kind shoots calibration method and system | |
CN114359471A (en) | Face image processing method, device and system | |
CN114782646A (en) | House model modeling method and device, electronic equipment and readable storage medium | |
CN114881893A (en) | Image processing method, device, equipment and computer readable storage medium | |
Inoue et al. | Tracking Robustness and Green View Index Estimation of Augmented and Diminished Reality for Environmental Design | |
CN111599002A (en) | Method and apparatus for generating image | |
CN106502401A (en) | A kind of display control method and device | |
CN114219001A (en) | Model fusion method and related device | |
CN108038900A (en) | Oblique photograph model monomerization approach, system and computer-readable recording 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |