One plant growth display systems and method
Technical field
The present invention relates to agricultural technology field, more particularly to a plant growth display systems and method.
Background technology
Augmented reality is the new technology grown up on the basis of virtual reality.The letter provided by computer system
Perception of the breath increase user to real world, with computer graphic image technology, real world is applied to by virtual information, and
Dummy object, scene or the system providing information that computer is generated are folded and returned in real scene, to realize " increasing to reality
By force ".It is a kind of very novel way of presentation to carry out plant displaying using augmented reality.Existing plant methods of exhibiting leads to
Acquisition landmark identification pattern, and landmark identification pattern and the corresponding relation of plant are crossed, to show the threedimensional model of plant.Specifically
Ground, provides two different landmark identification patterns on one piece of blank, and one of landmark identification pattern is used to position plant
Threedimensional model, another landmark identification pattern is arranged on neck, and operator can be indicated by sliding another in neck
Identification icon controls the growth animation of the threedimensional model of plant.But this mode is to the light and background noisy degree of experimental situation
There is higher requirement, the requirement operated to operator is also higher.Hand is not steady enough when if operator operates, or between pattern
Put and not enough precisely cause that image is overlapping, then the growth animation of plant is when output frame, it may occur that frame-skipping, so as to occur
The disorderly phenomenon of image;And light can also be interfered to image.
The content of the invention
For defect of the prior art, the present invention provides a kind of growth for controlling plant by hardware control input
Animation, so that the more stable plant growth display systems of the animated image of output and method, are solved based on augmented reality
What the plant methods of exhibiting of technology was exported grows the unstable technical problem of animated image.
In a first aspect, the invention provides a plant growth display systems, including:
Input module, for generating plant variety mark and vegetation period mark according to outside input;
Acquisition module, is marked for the plant variety mark obtained according to the input module and the vegetation period
Know and obtain corresponding plant threedimensional model;
Acquisition module, includes the external image of landmark identification pattern, and determine that the landmark identification pattern exists for gathering
Mark position and deflection angle in the external image;
Generation module, the plant three that the deflection angle for being obtained according to the acquisition module obtains the acquisition module
Dimension module is projected, and obtains two-dimentional plant image;
Laminating module, the acquisition module that is added to of the two-dimentional plant image for the generation module to be obtained is obtained
To external image in the mark position at.
Alternatively, the system includes a control device, and the input module is arranged in the control device;
The control device is provided with the button for the kind for being used to switch plant to be presented, and for switching plant to be presented
The knob in the growth period of thing;
Corresponding to the button, the input module includes microswitch, and the microswitch is used for according to the button institute
The state generation at place includes the electric signal of the plant variety mark;
Corresponding to the knob, the input module includes potentiometer, and the potentiometer is used for according to residing for the knob
State generation includes the electric signal of the vegetation period mark.
Alternatively, the system also includes a presentation device, the receiving module, the acquisition module, the generation module
It is arranged at the laminating module in the presentation device;
The receiving module is used to receive the electric signal from the input module, and is obtained according to the electric signal received
The plant variety mark and vegetation period mark.
Alternatively, the presentation device also includes display module, and the display module is used to show that the laminating module is obtained
The image arrived.
Alternatively, the acquisition module includes:
Image unit, for gathering an external image at predetermined time intervals;
Judging unit, for judging to whether there is landmark identification pattern in the external image that the image unit is obtained;
Determining unit, knows for there is mark in judging the external image that the image unit is obtained in the judging unit
Mark position and deflection angle of the landmark identification pattern in the external image are determined during other pattern;
The display module is additionally operable to not deposit in the judging unit judges the external image that the image unit is obtained
The external image that the image unit is obtained is directly displayed in landmark identification pattern.
Second aspect, present invention also offers a plant growth methods of exhibiting, including:
Plant variety mark and vegetation period mark are generated according to outside input;
Corresponding plant threedimensional model is obtained according to plant variety mark and vegetation period mark;
Collection includes the external image of landmark identification pattern, and determines the landmark identification pattern in the external image
Mark position and deflection angle;
The plant threedimensional model is projected according to the deflection angle, two-dimentional plant image is obtained;
The two-dimentional plant image is added at the mark position in the external image.
Alternatively, the outside input comes from a control device, and the control device, which is provided with, to be used to switch plant to be presented
The button of the kind of thing, and for the knob in the growth period for switching plant to be presented;
It is described that plant variety mark and vegetation period mark are generated according to outside input, including:
Being generated according to the button state in which includes the electric signal that the plant variety is identified;
Being generated according to the knob state in which includes the electric signal of the vegetation period mark.
Alternatively, it is described that corresponding plant three-dimensional is obtained according to plant variety mark and vegetation period mark
Model, including:
Receive the electric signal identified including the plant variety and the electricity identified including the vegetation period
Signal, and the plant variety mark and vegetation period mark are obtained according to the electric signal received.
Alternatively, this method also includes:
Show and scheme formed by the mark position in the external image that the two-dimentional plant image is added to
Picture.
Alternatively, the collection includes the external image of landmark identification pattern, and determines the landmark identification pattern in institute
The mark position in external image and deflection angle are stated, including:
An external image is gathered at predetermined time intervals;
Judge to whether there is landmark identification pattern in the external image;
When there is landmark identification pattern in the external image, determine the landmark identification pattern in the external image
In mark position and deflection angle;
Formed at the mark position that the two-dimentional plant image is added in the external image by the display
Image, including:
When landmark identification pattern is not present in the external image, the external image is directly displayed.
As shown from the above technical solution, the invention discloses a plant growth display systems and method, the display systems
Plant variety mark is generated according to outside input by input module and vegetation period identifies, by acquisition module according to described
Plant variety is identified and vegetation period mark obtains corresponding plant threedimensional model, includes mark by acquisition module collection
The external image of will identification icon, and determine mark position and deflection angle of the landmark identification pattern in the external image,
The plant threedimensional model is projected according to the deflection angle by generation module, two-dimentional plant image is obtained, passes through
The two-dimentional plant image is added at the mark position by laminating module, to realize the displaying of growing process.For
In the prior art user it is hand-held be loaded with two landmark identification patterns blank when, fluctuation of service makes acquisition module mark two
The range measurement error for leading identification icon is excessive, so that the problem of the image disorder phenomenon of generation, the present invention passes through input module
According to outside input generate plant variety mark and vegetation period mark, therefore avoid user it is hand-held be loaded with two mark knowledge
During the blank of other pattern, fluctuation of service, the range measurement error for making acquisition module lead identification icon to two marks is excessive, so that
The disorderly phenomenon of the image of generation;When being operated for user in the prior art, the phenomenon such as two landmark identification patterns overlap, from
And the problem of image of output is disorderly is caused, the present invention generates plant variety mark according to outside input by input module and planted
Thing growth period identifies, therefore when avoiding user's operation, the phenomenon such as two landmark identification patterns overlap, so as to cause output
Image it is disorderly the problem of.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to make one simply to introduce, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the structured flowchart of a plant growth display systems in one embodiment of the invention;
Fig. 2 is the scene graph of plant growth displaying in one embodiment of the invention;
Fig. 3 is the step schematic flow sheet of a plant growth methods of exhibiting in one embodiment of the invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is the structured flowchart of a plant growth display systems in one embodiment of the invention.Referring to Fig. 1, the plant
Growth display systems include:
Input module 11, for generating plant variety mark and vegetation period mark according to outside input;
Acquisition module 12, for the plant variety mark obtained according to input module 11 and vegetation period mark acquisition pair
The plant threedimensional model answered;
Acquisition module 13, includes the external image of landmark identification pattern, and determine landmark identification pattern outside for gathering
Mark position and deflection angle in portion's image;
Generation module 14, the plant that the deflection angle for being obtained according to acquisition module 13 obtains acquisition module 12 is three-dimensional
Model is projected, and obtains two-dimentional plant image;
Laminating module 15, it is outer that the two-dimentional plant image for generation module 14 to be obtained is added to that acquisition module 13 obtains
At mark position in portion's image.
In embodiments of the present invention, the outside input, can for signal or image for being inputted from external equipment etc.
Identify plant variety and vegetation period information signal;The plant variety mark, which refers to carry, can recognize that plant variety is believed
The mark of breath, vegetation period mark is the mark for referring to recognize vegetation period information.In the present embodiment, plant is three-dimensional
Model is to prestore in the system, and is corresponding with plant variety and growth period.It is outer that acquisition module 13 is gathered
Portion's image is mainly the image in the space residing for collection user.Two-dimentional plant image is shown during due to reality output, therefore
The deflection angle obtained according to acquisition module 13 is needed to be projected the plant threedimensional model that acquisition module 12 is obtained, to obtain
Two-dimentional plant image.
The embodiment of the present invention generates plant variety mark according to outside input by input module 11 and vegetation period marks
Knowledge, so as to avoid during artificial operation, the disorderly phenomenon of image that fluctuation of service is produced, moreover it is possible to avoid and now lead in the art
A landmark identification pattern input plant variety mark and vegetation period mark are crossed, another landmark identification pattern obtains outside
The range error produced when mark position in image and deflection angle, or the phenomenon such as pattern overlapping, the output caused it is dynamic
Draw as disorderly.
In the specific implementation, the system can also include a control device, and the input module 11 is arranged on into control
In equipment;
Control device is provided with the button for the kind for being used to switch plant to be presented, and for switching plant to be presented
The knob in growth period;
Corresponding to button, the input module 11 includes microswitch, and the microswitch is used for the shape according to residing for button
State generation includes the electric signal of plant variety mark;
Corresponding to knob, input module 11 includes potentiometer, and the potentiometer is used to be given birth to according to the knob state in which
Into the electric signal identified including the vegetation period.
Further, control device can be controller, and the controller includes knob and microswitch, rotated by knob
State switches the growth period of plant to be presented, and being generated by microswitch includes the electric signal that the kind of the plant is identified.Control
Control equipment also includes the blank for being loaded with landmark identification pattern.Include the outside of landmark identification pattern for the collection of acquisition module 13
Image.This mode avoid user in the prior art it is hand-held be loaded with two landmark identification patterns blank when, fluctuation of service,
The range measurement error for making acquisition module lead identification icon to two marks is excessive, so that the disorderly phenomenon of the image produced;For existing
When thering is in technology the user to operate, the phenomenon such as two landmark identification patterns overlap, so as to cause the image of output is disorderly to ask
Topic.
In the specific implementation, the system can also include a presentation device, receiving module, acquisition module 13, generation module
14 and laminating module 15 be arranged in presentation device;
Receiving module is used to receive the electric signal from input module 11, and obtains plant product according to the electric signal received
Plant mark and vegetation period mark.
Presentation device also includes display module, and display module is used to show the image that the laminating module 15 is obtained.At this
In embodiment, presentation device is connected by USB interface with controller, in other embodiments of the invention, can also pass through example
Such as wireless, bluetooth mode is connected.
Acquisition module 13 includes:
Image unit, for gathering an external image at predetermined time intervals;
Judging unit, for judging to whether there is landmark identification pattern in the external image that the image unit is obtained;
Determining unit, during for there is landmark identification pattern in judging the external image that image unit is obtained in judging unit
Determine mark position and deflection angle of the landmark identification pattern in the external image;
Display module is additionally operable to that mark knowledge is not present in judging unit judges the external image that the image unit is obtained
The external image that the image unit is obtained is directly displayed during other pattern.
In the specific implementation, the system can include a camera 1, and acquisition module 13 is arranged in camera 1.Further
Ground, Fig. 2 is the scene graph of plant growth displaying in one embodiment of the invention.As shown in Fig. 2 in operation, user is hand-held to be carried
There is the blank of landmark identification pattern, be placed in the lower section of camera 1, camera 1, which is collected, includes the exterior view of landmark identification pattern 2
Picture, and determine behind mark position and deflection angle of the landmark identification pattern 2 in external image, generation module 14 is sent to, it is raw
The deflection angle obtained into module 14 according to acquisition module 13 is projected the plant threedimensional model that acquisition module 12 is obtained, and is obtained
To two-dimentional plant image;The two-dimentional plant image that generation module 14 is obtained is added to what acquisition module 13 was obtained by laminating module 15
At mark position in external image, the image obtained after superposition is shown in presentation device 3.
In summary, using the plant growth display systems disclosed in the embodiment of the present invention, the basis of input module 11 is passed through
Outside input generation plant variety mark and vegetation period mark, acquisition module 12 are identified and described according to the plant variety
Vegetation period mark obtains corresponding plant threedimensional model;The collection of acquisition module 13 includes the exterior view of landmark identification pattern
Picture, and determine mark position and deflection angle of the landmark identification pattern in external image;Generation module 14 is to the three-dimensional mould of plant
Type is projected, and is obtained two-dimentional plant image, is added at mark position.When the embodiment of the present invention can avoid artificial operation,
The disorderly phenomenon of image that fluctuation of service is produced, moreover it is possible to avoid and plant is inputted by a landmark identification pattern in the prior art
Kind is identified and vegetation period mark, and another landmark identification pattern obtains mark position and deflection angle in external image
When the range error that produces, or the phenomenon such as pattern overlapping, the animated image of the output caused is disorderly.
Based on same inventive concept, the step of Fig. 3 is a plant growth methods of exhibiting in one embodiment of the invention
Schematic flow sheet.Referring to Fig. 3, this method includes:
S1, generates plant variety mark according to outside input and vegetation period identifies;
S2, corresponding plant threedimensional model is obtained according to plant variety mark and vegetation period mark;
S3, collection includes the external image of landmark identification pattern, and determines mark of the landmark identification pattern in external image
Will position and deflection angle;
S4, the plant threedimensional model is projected, obtain two-dimentional plant image according to deflection angle;
S5, two-dimentional plant image is added at the mark position in external image.
By being generated according to outside input, plant variety is identified the embodiment of the present invention and vegetation period identifies, so as to
When avoiding artificial operation, the disorderly phenomenon of image that fluctuation of service is produced, moreover it is possible to avoid existing in the art by a mark
Identification icon input plant variety mark and vegetation period mark, another landmark identification pattern obtain the mark in external image
The range error produced when will position and deflection angle, or the phenomenon such as pattern overlapping, the animated image of the output caused are disorderly.
Outside input comes from a control device, and the control device is provided with pressing for the kind for switching plant to be presented
Button, and for the knob in the growth period for switching plant to be presented;
In the specific implementation, the step S1 can specifically include the following step not shown in accompanying drawing:
S101, being generated according to button state in which includes the electric signal of plant variety mark;
S102, being generated according to knob state in which includes the electric signal of vegetation period mark.
Further, the control device is controller, and the controller includes knob and microswitch, contorted by knob
State switches the growth period of plant to be presented, and being generated by microswitch includes the electric signal that the kind of the plant is identified.It is described
Control device also includes the blank for being loaded with landmark identification pattern, to include the outside of landmark identification pattern as what is gathered
Image.This mode is avoided in the prior art, the disorderly phenomenon of the image that fluctuation of service is produced during collection landmark identification pattern.
Further, the step S2 can specifically include the following step not shown in accompanying drawing:
S201, receives the electric signal for including the electric signal of plant variety mark and being identified including the vegetation period, and
Plant variety mark and vegetation period mark are obtained according to the electric signal received.
Further, this method can also include can be with the following step not shown in accompanying drawing:
S6, shows image formed by the mark position in external image that two-dimentional plant image is added to.
In the specific implementation, the step S3 can specifically include the following step not shown in accompanying drawing:
S301, gathers an external image at predetermined time intervals;
S302, judges to whether there is landmark identification pattern in external image;
S303, when there is landmark identification pattern in external image, determines mark of the landmark identification pattern in external image
Will position and deflection angle.
Further, the step S6 can specifically include the following step not shown in accompanying drawing:
S601, when landmark identification pattern is not present in external image, directly displays external image.
In the specific implementation, in operation, the hand-held blank for being loaded with landmark identification pattern of user is placed in the lower section of camera 1,
Being gathered by camera 1 includes the external image of landmark identification pattern, and determines mark of the landmark identification pattern in external image
Position and deflection angle.
In summary, using the plant growth methods of exhibiting disclosed in the embodiment of the present invention, generated and planted by outside input
Article kind is identified and vegetation period mark, and it is three-dimensional to obtain corresponding plant according to plant variety mark and vegetation period mark
Model;Collection includes the external image of landmark identification pattern, and determines mark position of the landmark identification pattern in external image
And deflection angle;Plant threedimensional model is projected, two-dimentional plant image is obtained, is added at mark position.It is of the invention real
When applying example and can avoid artificial operation, the disorderly phenomenon of image that fluctuation of service is produced, moreover it is possible to avoid and pass through in the prior art
One landmark identification pattern input plant variety mark and vegetation period mark, another landmark identification pattern obtain exterior view
Mark position as in and the range error produced during deflection angle, or the phenomenon, the animation of the output caused such as pattern overlapping
Image is disorderly.
In the specification of the present invention, numerous specific details are set forth.It is to be appreciated, however, that embodiments of the invention can be with
Put into practice in the case of these no details.In some instances, known method, structure and skill is not been shown in detail
Art, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that disclose to simplify the present invention and help to understand one or many in each inventive aspect
It is individual, above in the description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single sometimes
In embodiment, figure or descriptions thereof.It is intended to however, should not explain the method for the disclosure in reflection is following:Want
Seek the application claims features more more than the feature being expressly recited in each claim of protection.More precisely, such as
As following claims reflect, inventive aspect is all features less than single embodiment disclosed above.
Therefore, it then follows thus claims of embodiment are expressly incorporated in the embodiment, wherein each right will
Ask itself all as separate embodiments of the invention.
It will be understood by those skilled in the art that can adaptively be changed to the module in the equipment in embodiment
And they are provided in the different one or more equipment of the embodiment.Can the module or unit in embodiment or
Component is combined into a module or unit or component, and can be divided into multiple submodule or subelement or subgroup in addition
Part.Except at least some in such feature and/or process or unit are mutually exclusive parts, any combinations can be used
To all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and such disclosed any side
All processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint right will
Ask, make a summary and accompanying drawing) disclosed in each feature can be by offer is identical, equivalent or the alternative features of similar purpose are replaced.
Although in addition, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of be the same as Example does not mean in of the invention
Within the scope of and form different embodiments.For example, in the following claims, times of embodiment claimed
One of meaning mode can be used in any combination.
The present invention all parts embodiment can be realized with hardware, or with one or more processor run
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that can use in practice
In the equipment of microprocessor or digital signal processor (DSP) to realize a kind of browser terminal according to embodiments of the present invention
Some or all parts some or all functions.The present invention is also implemented as being used to perform side as described herein
The some or all equipment or program of device (for example, computer program and computer program product) of method.It is such
Realizing the program of the present invention can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from internet website and obtained, and either be provided or with any other shape on carrier signal
Formula is provided.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and coming real by means of properly programmed computer
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme, it all should cover among the claim of the present invention and the scope of specification.