CN106973224A - Control method, control device and the electronic installation of assisted drawing - Google Patents
Control method, control device and the electronic installation of assisted drawing Download PDFInfo
- Publication number
- CN106973224A CN106973224A CN201710138849.9A CN201710138849A CN106973224A CN 106973224 A CN106973224 A CN 106973224A CN 201710138849 A CN201710138849 A CN 201710138849A CN 106973224 A CN106973224 A CN 106973224A
- Authority
- CN
- China
- Prior art keywords
- depth
- master image
- caching
- electronic installation
- depth information
- 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 40
- 238000009434 installation Methods 0.000 title claims abstract description 38
- 238000012545 processing Methods 0.000 claims abstract description 52
- 238000003384 imaging method Methods 0.000 claims description 43
- 230000005055 memory storage Effects 0.000 claims description 6
- 230000006870 function Effects 0.000 description 8
- 238000003860 storage Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000005484 gravity Effects 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 241000272184 Falconiformes Species 0.000 description 2
- 241000287828 Gallus gallus Species 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 210000003128 head Anatomy 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004020 luminiscence type Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 230000001902 propagating effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of control method of assisted drawing.Control method includes:Processing contextual data caches the depth information of master image to obtain;The foreground part of master image is cached according to Depth Information Acquistion;According to foreground part and towards determining current three-D space structure type;Current composition suggestion corresponding with current three-D space structure type is found with memory.In addition, the invention also discloses a kind of control device of assisted drawing and electronic installation.Control method, control device and the electronic installation of the assisted drawing of the present invention determine current three-D space structure type using depth information and direction sensor information, so as to obtain the corresponding current composition suggestion of current three-D space structure type, and then can be with assisted drawing.
Description
Technical field
The present invention relates to imaging technique, more particularly to a kind of control method of assisted drawing, control device and electronic installation.
Background technology
Composition belongs to the professional technical ability of comparison in camera work, and many ordinary consumers do not possess the technical ability of this respect,
Cause the poor visual effect of image.
The content of the invention
It is contemplated that at least solving one of technical problem present in prior art.Therefore, the present invention needs offer one
Plant control method, control device and the electronic installation of assisted drawing.
A kind of control method of assisted drawing, for controlling electronic installation, the electronic installation includes imaging device, direction
Sensor and memory, the imaging device are used to gather contextual data, and the contextual data includes caching master image, the side
It is used to sensing the direction of the imaging device to sensor, the memory storage there are a variety of three-D space structure types and correspondingly
Composition suggestion;The control method comprises the following steps:
The contextual data is handled to obtain the depth information of the caching master image;
The foreground part of master image is cached according to the Depth Information Acquistion;
Current three-D space structure type is determined according to the foreground part and the direction;With
Current composition suggestion corresponding with the current three-D space structure type is found in the memory.
A kind of control device of assisted drawing, for controlling electronic installation, the electronic installation includes imaging device, direction
Sensor and memory, the imaging device are used to gather contextual data, and the contextual data includes caching master image, the side
It is used to sensing the direction of the imaging device to sensor, the memory storage there are a variety of three-D space structure types and correspondingly
Composition suggestion;The control device includes processing module, acquisition module, determining module and finds module.
The processing module is used to handle the contextual data to obtain the depth information of the caching master image.
The acquisition module is used for the foreground part that master image is cached according to the Depth Information Acquistion.
The determining module is used to determine current three-D space structure type according to the foreground part and the direction.
The searching module is used to find corresponding with the current three-D space structure type current in the memory
Composition is advised.
A kind of electronic installation includes imaging device, direction sensor, memory and the control device.
The imaging device is used to gather scene image, and the scene image includes caching master image.
The direction sensor is used for the direction for sensing the imaging device.
The memory storage has a variety of three-D space structure types and the suggestion of corresponding composition.
Control method, control device and the electronic installation of embodiment of the present invention are believed using depth information and direction sensor
Breath determines current three-D space structure type, so as to obtain the corresponding current composition suggestion of current three-D space structure type, enters
And can be with assisted drawing.
The additional aspect and advantage of the present invention will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become from description of the accompanying drawings below to embodiment is combined
Obtain substantially and be readily appreciated that, wherein:
Fig. 1 is the schematic flow sheet of the control method of the assisted drawing of embodiment of the present invention.
Fig. 2 is the high-level schematic functional block diagram of the electronic installation of embodiment of the present invention.
Fig. 3 is the floor map of the electronic installation of embodiment of the present invention.
Fig. 4 is the schematic flow sheet of the control method of some embodiments of the invention.
Fig. 5 is the functional module signal of the processing module of the control device of the electronic installation of some embodiments of the invention
Figure.
Fig. 6 is the schematic flow sheet of the control method of some embodiments of the invention.
Fig. 7 is another high-level schematic functional block diagram of the processing module of some embodiments of the invention.
Fig. 8 is the schematic flow sheet of the control method of some embodiments of the invention.
Fig. 9 is the high-level schematic functional block diagram of the acquisition module of the control device of some embodiments of the invention.
Figure 10 is the schematic flow sheet of the control method of some embodiments of the invention.
Figure 11 is the schematic flow sheet of the control method of some embodiments of the invention.
Figure 12 is another high-level schematic functional block diagram of the control device of some embodiments of the invention.
Figure 13 is the caching master image schematic diagram of some embodiments of the invention.
Figure 14 is the depth image schematic diagram of some embodiments of the invention.
Figure 15 is the three dimensions system schematic of some embodiments of the invention.
Figure 16 is the three-D space structure schematic diagram of some embodiments of the invention.
Main element symbol description:
Electronic installation 100, control device 10, processing module 11, first processing units 112, second processing unit 114,
Three processing units 116, fourth processing unit 118, acquisition module 13, the 5th processing unit 132, searching unit 134, determining module
15th, module 17, control module 19, imaging device 20, direction sensor 30, memory 40, display 50 are found.
Embodiment
Embodiments of the present invention are described below in detail, the embodiment of the embodiment is shown in the drawings, wherein
Same or similar label represents same or similar element or the element with same or like function from beginning to end.Lead to below
It is exemplary to cross the embodiment being described with reference to the drawings, and is only used for explaining the present invention, and it is not intended that to the limit of the present invention
System.
Also referring to Fig. 1 and Fig. 3, the control method of the assisted drawing of embodiment of the present invention can be used for controlling electronics
Device 100.Electronic installation 100 includes imaging device 20, direction sensor 30 and memory 40.Imaging device 20 is used to gather field
Scape data, contextual data includes caching master image.Direction sensor 30 is used for the direction for sensing imaging device 20.Memory 40 is deposited
Contain a variety of three-D space structure types and the suggestion of corresponding composition.Control method comprises the following steps:
S11:Processing contextual data caches the depth information of master image to obtain;
S13:The foreground part of master image is cached according to Depth Information Acquistion;
S15:According to foreground part and towards determining current three-D space structure type;With
S17:Current composition suggestion corresponding with current three-D space structure type is found in memory 40.
Specifically, the direction of imaging device 20 can be understood as the shooting direction of imaging device 20, such as imaging device 20
It is oriented downwards, illustrates that imaging device 20 is shooting the scene on ground;Imaging device 20 is oriented upwards, illustrates imaging device 20
Shooting scene of sky etc..
Also referring to Fig. 2 and Fig. 3, the control device 10 of the assisted drawing of embodiment of the present invention can be used for control electricity
Sub-device 100.Control device 10 includes processing module 11, acquisition module 13, determining module 15 and finds module 17.Processing module
11 are used to handle contextual data to obtain the depth information of caching master image.Acquisition module 13 is used for slow according to Depth Information Acquistion
Deposit the foreground part of master image.Determining module 15 is used for according to foreground part and towards determining current three-D space structure type.
Finding module 17 is used to find current composition suggestion corresponding with current three-D space structure type in memory 40.
In other words, the control method of embodiment of the present invention can be real by the control device 10 of embodiment of the present invention
It is existing, wherein, step S11 can be realized by processing module 11, and step S13 can be realized by acquisition module 13, and step S15 can be by
Determining module 15 realizes that step S17 can be realized by searching module 17.
In some embodiments, the control device 10 of embodiment of the present invention can apply to embodiment of the present invention
Electronic installation 100, in other words the electronic installation 100 of embodiment of the present invention can include the control device of embodiment of the present invention
10。
Control method, control device 10 and the electronic installation 100 of embodiment of the present invention are passed using depth information and direction
The information of sensor 30 determines current three-D space structure type, so as to obtain the corresponding current composition of current three-D space structure type
It is recommended that, and then can be with assisted drawing.
In some embodiments, electronic installation 100 includes mobile phone or tablet personal computer.In embodiments of the present invention, it is electric
Sub-device 100 is mobile phone.
In some embodiments, imaging device 20 includes Front camera and/or rearmounted camera.In embodiment of the present invention
In, imaging device 20 is Front camera.
Referring to Fig. 4, in some embodiments, contextual data includes depth image corresponding with caching master image, step
Rapid S11 comprises the following steps:
S112:Processing depth image caches the depth data of master image to obtain;With
S114:Depth data is handled to obtain depth information.
Referring to Fig. 5, in some embodiments, contextual data includes depth image corresponding with caching master image, place
Managing module 11 includes first processing units 112 and second processing unit 114.First processing units 112 are used to handle depth image
To obtain the depth data of caching master image.Second processing unit 114 is used to handle depth data to obtain depth information.
In other words, step S112 can be realized by first processing units 112, and step S114 can be by second processing unit
114 realize.
So, it is possible to use depth image quickly obtains the depth information of caching master image.
It is appreciated that caching master image is RGB color image, substantial amounts of depth data is included in depth image, that is, is included
The depth information of each personal or object in scene, depth information includes the size and/or scope of depth.Due to caching master image
Color information and the depth information of depth image be one-to-one relation, therefore, the depth letter of caching master image can be obtained
Breath.
In some embodiments, the acquisition modes of depth image corresponding with caching master image include using structure optical depth
Ranging is spent to obtain depth image and obtain depth image two using flight time (time of flight, TOF) depth camera
The mode of kind.
When obtaining depth image using structure light Range finder, imaging device 20 includes camera and the projector.
It is appreciated that structure light Range finder is that the photo structure of certain pattern is projeced into body surface using the projector,
The striation 3-D view modulated by testee shape is formed on surface.Striation 3-D view is detected to obtain by camera
Striation two dimension fault image.Relative position and body surface shape that the distortion degree of striation is depended between the projector and camera
Wide or height.The displacement shown along striation is proportional to the height of body surface, and kink illustrates the change of plane, discontinuously
The physical clearance of display surface.When the timing of relative position one between the projector and camera, by the two-dimentional optical strip image distorted
The three-D profile of coordinate just reproducible body surface, so as to obtain depth information.Structure light Range finder has higher
Resolution ratio and measurement accuracy.
When obtaining depth image using TOF depth cameras, imaging device 20 includes TOF depth cameras.
It is appreciated that the modulation infrared light emission that is sent by sensor record from luminescence unit of TOF depth cameras to
Object, then the phase place change reflected from object, according to the light velocity in the range of a wavelength, can obtain whole in real time
Scene depth distance.TOF depth cameras are not influenceed when calculating depth information by the gray scale and feature on object surface, and can
Rapidly to calculate depth information, with very high real-time.
Referring to Fig. 6, in some embodiments, contextual data includes caching sub-picture corresponding with caching master image,
Step S11 comprises the following steps:
S116:Processing caches master image and caching sub-picture to obtain caching the depth data of master image;With
S118:Depth data is handled to obtain depth information.
Referring to Fig. 7, in some embodiments, contextual data includes caching sub-picture corresponding with caching master image,
Processing module 11 includes the 3rd processing unit 116 and fourth processing unit 118.3rd processing unit 116 is used to handle caching master
Image and caching sub-picture with obtain cache master image depth data.Fourth processing unit 118 be used for handle depth data with
Obtain depth information.
In other words, step S116 can be realized that step S118 can be by fourth processing unit by the 3rd processing unit 116
118 realize.
In this way, the depth information of master image can be cached by handling caching master image and caching sub-picture acquisition.
In some embodiments, imaging device 20 includes main camera and secondary camera.
It is appreciated that depth information can be obtained by binocular stereo vision distance-finding method, now contextual data bag
Include caching master image and caching sub-picture.Wherein, caching master image is shot by main camera and obtained, and caching sub-picture is imaged by pair
Head shoots and obtained.Binocular stereo vision ranging is that same object is imaged from different positions with two identical cameras
To obtain the stereo pairs of object, then go out by algorithmic match the corresponding picture point of stereo pairs, so that parallax is calculated,
Depth information is finally recovered using the method based on triangulation.In this way, by caching master image and caching sub-picture this
Stereo pairs, which are matched, just can obtain the depth information of caching master image.
Referring to Fig. 8, in some embodiments, step S13 comprises the following steps:
S132:The First Point of caching master image is obtained according to depth information;With
S134:Find continuously coupled and regions of depth consecutive variations are used as foreground part with First Point.
Referring to Fig. 9, in some embodiments, acquisition module 13 includes the 5th processing unit 132 and finds unit
134.5th processing unit 132 is used to obtain the First Point for caching master image according to depth information.Finding unit 134 is used to find
It is continuously coupled and regions of depth consecutive variations are used as foreground part with First Point.
In other words, step S132 can be realized by the 5th processing unit 132, and step S134 can be by searching unit 134
Realize.
In this way, the foreground part of caching master image physical link can be obtained, i.e., in reality scene, foreground part is to connect
It is connected together.Using the foreground part of physical link as main body, the relation of foreground part can be intuitively obtained.
Specifically, the first depth that each pixel in caching master image is obtained according to depth information, obtains depth minimum
Pixel is as the First Point of caching master image, and First Point is diffused from First Point equivalent to the beginning of foreground part, obtained
With First Point is continuously coupled and regions of depth consecutive variations, these regions and First Point merger are foreground area.
It should be noted that First Point refer to the minimum corresponding pixel of object of depth, i.e. object distance it is minimum or from
The corresponding pixel of the nearest object of imaging device 20.Adjoining refers to that two pixels link together.During depth consecutive variations
The depth difference for referring to two adjacent pixels is less than predetermined difference value, and the difference of depth is less than two adjoinings of predetermined difference value in other words
Pixel depth consecutive variations.
Referring to Fig. 10, in some embodiments, step S13 may comprise steps of:
S136:The First Point of caching master image is obtained according to depth information;With
S138:The region that the difference of the depth of searching and First Point is less than predetermined threshold is used as foreground part.
In this way, the foreground part of caching master image logical communication link can be obtained, i.e., in reality scene, foreground part may
It is not attached to together, but meets certain logical relation, such as eagle, which dives, grabs the scene of chicken, eagle and chicken thing
May it not linked together in reason, but logically, it can be determined that they are connected.
Specifically, the First Point for caching master image is first obtained according to depth information, First Point is opened equivalent to foreground part
End, is diffused from First Point, and the difference of the depth of acquisition and First Point is less than the region of predetermined threshold, these regions and First Point
Merger is foreground area.
In some embodiments, predetermined threshold can be the value set by user.In this way, user can be according to itself
Demand determine the scope of foreground part, so as to obtain preferable composition suggestion, realize preferable composition.
In some embodiments, predetermined threshold can be the value that control device 10 is determined, not do any limit herein
System.The predetermined threshold that control device 10 is determined can be a fixed value of storage inside or according to different situations, example
Such as the depth of First Point, the numerical value calculated.
In some embodiments, step S13 may comprise steps of:
Find region of the depth in predetermined interval and be used as foreground part.
In this way, the foreground part that depth is in OK range can be obtained.
It is appreciated that in the case of some shootings, foreground part is not the part of foremost, but foremost part is somewhat
Part more rearward, for example, people is sitting in behind computer, computer is earlier, but the talent is main part, so by depth
Region in predetermined interval can be effectively prevented from the incorrect problem of main body'choice as foreground part.
In some embodiments, direction sensor 30 includes gravity sensor, can be obtained into by gravity sensor
As the direction of device 20.
In certain embodiments, it is as follows according to foreground part and towards the method for determining current three-D space structure type:
The direction of imaging device 20 is learnt according to gravity sensor first, works as the previous dynasty from what the direction of imaging device 20 counter can push away image
To, such as when current imaging device 20 is facing forward, can anti-launch plan picture in front and rear distribution, analyze the picture material of foreground part,
There is the special object of two colors in such as foreground part, it may be determined that current spatial structure type belongs to intersecting parallels.
Also referring to Fig. 3 and Figure 11, in some embodiments, electronic installation 100 includes display 50, control method
Comprise the following steps:
S19:Control display 50 shows current composition suggestion.
Figure 12 is referred to, in some embodiments, control device 10 includes control module 19.Control module 19 is used to control
Display 50 processed shows current composition suggestion.
In other words, step S19 can be realized by control module 19.
In this way, can inform that the current composition of user is advised and guides user to operate electronic installation 100, so as to follow current structure
Figure suggestion completes composition.
It is appreciated that control device 10 after the suggestion of current composition is obtained, it is necessary to inform user to realize current composition, lead to
Cross display and show current composition suggestion, how user operates if being understood quickly.
In some embodiments, electronic installation 100 includes electro-acoustic element, and control method comprises the following steps:
Electro-acoustic element is controlled to point out current composition suggestion.
In this way, the mode of voice can be used to prompt the user on how to realize composition.
Also referring to Figure 13-16, in one embodiment, the control imaging device 20 of control device 10 obtains scene number
Include caching master image as shown in fig. 13 that and depth image as described in Figure 14 according to, contextual data, can be with according to depth image
Foreground part is obtained so that as image subject, the direction of the imaging device 20 obtained according to foreground part and direction sensor 30 is built
Vertical three dimensions system as described in Figure 15, current three-D space structure as shown in figure 16 is determined further according to three dimensions system
Type, finally finds the corresponding current composition suggestion of current three-D space structure type, so as to point out user from memory 40
How current composition is completed.
In the description of embodiments of the present invention, term " first ", " second " are only used for describing purpose, without being understood that
To indicate or implying relative importance or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ",
One or more feature can be expressed or be implicitly included to the feature of " second ".In embodiments of the present invention
In description, " multiple " are meant that two or more, unless otherwise specifically defined.
, it is necessary to illustrate in the description of embodiments of the present invention, unless otherwise clearly defined and limited, term
" installation ", " connected ", " connection " should be interpreted broadly, for example, it may be fixedly connected or be detachably connected, or one
Connect body;It can be mechanical connection or electrical connection or can mutually communicate;Can be joined directly together, can also lead to
Cross intermediary to be indirectly connected to, can be connection or the interaction relationship of two elements of two element internals.For ability
For the those of ordinary skill in domain, it can understand that above-mentioned term in embodiments of the present invention specific contains as the case may be
Justice.
In the description of this specification, reference term " embodiment ", " some embodiments ", " schematically implementation
The description of mode ", " example ", " specific example " or " some examples " etc. means the tool with reference to the embodiment or example description
Body characteristicses, structure, material or feature are contained at least one embodiment of the present invention or example.In this manual,
Identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term.Moreover, the specific features of description, knot
Structure, material or feature can in an appropriate manner be combined in any one or more embodiments or example.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include
Module, fragment or the portion of the code of one or more executable instructions for the step of realizing specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not be by shown or discussion suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered use
In the order list for the executable instruction for realizing logic function, it may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processing module or other can be from instruction
The system of execution system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or
Equipment and use.For the purpose of this specification, " computer-readable medium " can be it is any can include, store, communicating, propagating or
Transmission procedure uses for instruction execution system, device or equipment or with reference to these instruction execution systems, device or equipment
Device.The more specifically example (non-exhaustive list) of computer-readable medium includes following:With one or more wirings
Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, can even is that can be in the paper of printing described program thereon or other are suitable for computer-readable medium
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of embodiments of the present invention can be with hardware, software, firmware or combinations thereof come real
It is existing.In the above-described embodiment, multiple steps or method can be with storages in memory and by suitable instruction execution system
The software or firmware of execution is realized.If for example, being realized with hardware, with another embodiment, ability can be used
Any one of following technology known to domain or their combination are realized:With for realizing logic function to data-signal
The discrete logic of logic gates, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array
(PGA), field programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried
Rapid to can be by program to instruct the hardware of correlation to complete, described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing module, also may be used
To be that unit is individually physically present, can also two or more units be integrated in a module.It is above-mentioned integrated
Module can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module
If being realized using in the form of software function module and as independent production marketing or in use, a calculating can also be stored in
In machine read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example
Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, changed, replacing and modification.
Claims (15)
1. a kind of control method of assisted drawing, for controlling electronic installation, it is characterised in that the electronic installation includes imaging
Device, direction sensor and memory, the imaging device are used to gather contextual data, and the contextual data includes caching master map
Picture, the direction sensor is used for the direction for sensing the imaging device, and the memory storage has a variety of three-D space structures
Type and the suggestion of corresponding composition;The control method comprises the following steps:
The contextual data is handled to obtain the depth information of the caching master image;
The foreground part of master image is cached according to the Depth Information Acquistion;
Current three-D space structure type is determined according to the foreground part and the direction;With
Current composition suggestion corresponding with the current three-D space structure type is found in the memory.
2. control method as claimed in claim 1, it is characterised in that the contextual data includes and the caching master image pair
The depth image answered, the processing contextual data with obtain it is described caching master image depth information the step of include it is following
Step:
The depth image is handled to obtain the depth data of the caching master image;With
The depth data is handled to obtain the depth information.
3. control method as claimed in claim 1, it is characterised in that the contextual data includes and the caching master image pair
The caching sub-picture answered, the processing contextual data with obtain it is described caching master image depth information the step of include with
Lower step:
Processing is described to be cached master image and the caching sub-picture to obtain the depth data of the caching master image;With
The depth data is handled to obtain the depth information.
4. control method as claimed in claim 1, it is characterised in that described that master is cached according to the Depth Information Acquistion
The step of foreground part of image, comprises the following steps:
The First Point of the caching master image is obtained according to the depth information;With
Find continuously coupled and regions of depth consecutive variations are used as the foreground part with the First Point.
5. control method as claimed in claim 1, it is characterised in that the electronic installation includes display, the controlling party
Method comprises the following steps:
The display is controlled to show the current composition suggestion.
6. a kind of control device of assisted drawing, for controlling electronic installation, it is characterised in that the electronic installation includes imaging
Device, direction sensor and memory, the imaging device are used to gather contextual data, and the contextual data includes caching master map
Picture, the direction sensor is used for the direction for sensing the imaging device, and the memory storage has a variety of three-D space structures
Type and the suggestion of corresponding composition;The control device includes:
Processing module, the processing module is used to handle the contextual data to obtain the depth information of the caching master image;
Acquisition module, the acquisition module is used for the foreground part that master image is cached according to the Depth Information Acquistion;
Determining module, the determining module is used to determine current three-D space structure class according to the foreground part and the direction
Type;With
Module is found, the searching module is used to find corresponding with the current three-D space structure type in the memory
Current composition suggestion.
7. control device as claimed in claim 6, it is characterised in that the contextual data includes and the caching master image pair
The depth image answered, the processing module includes:
First processing units, the first processing units are used to handle the depth image to obtain the depth of the caching master image
Degrees of data;With
Second processing unit, the second processing unit is used to handle the depth data to obtain the depth information.
8. control device as claimed in claim 6, it is characterised in that the contextual data includes and the caching master image pair
The caching sub-picture answered, the processing module includes:
3rd processing unit, the 3rd processing unit is used to handle the caching master image and the caching sub-picture to obtain
The depth data of the caching master image;With
Fourth processing unit, the fourth processing unit is used to handle the depth data to obtain the depth information.
9. control device as claimed in claim 6, it is characterised in that the acquisition module includes:
5th processing unit, the 5th processing unit be used for according to the depth information obtain it is described caching master image most before
Point;With
Find unit, the searching unit is used to finding and the First Point is continuously coupled and the conduct of depth consecutive variations regions
The foreground part.
10. control device as claimed in claim 6, it is characterised in that the electronic installation includes display, the control dress
Put including:
Control module, the control module is used to control the display to show the current composition suggestion.
11. a kind of electronic installation, it is characterised in that including:
Imaging device, the imaging device is used to gather scene image, and the scene image includes caching master image;
Direction sensor, the direction sensor is used for the direction for sensing the imaging device;
Memory, the memory storage has a variety of three-D space structure types and the suggestion of corresponding composition;With
Control device as described in claim 6-10 any one.
12. electronic installation as claimed in claim 11, it is characterised in that the electronic installation includes mobile phone or tablet personal computer.
13. electronic installation as claimed in claim 11, it is characterised in that the imaging device includes main camera and secondary shooting
Head.
14. electronic installation as claimed in claim 11, it is characterised in that the imaging device includes camera and the projector.
15. electronic installation as claimed in claim 11, it is characterised in that the imaging device includes TOF depth cameras.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710138849.9A CN106973224B (en) | 2017-03-09 | 2017-03-09 | Auxiliary composition control method, control device and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710138849.9A CN106973224B (en) | 2017-03-09 | 2017-03-09 | Auxiliary composition control method, control device and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106973224A true CN106973224A (en) | 2017-07-21 |
CN106973224B CN106973224B (en) | 2020-08-07 |
Family
ID=59329377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710138849.9A Expired - Fee Related CN106973224B (en) | 2017-03-09 | 2017-03-09 | Auxiliary composition control method, control device and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106973224B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107551551A (en) * | 2017-08-09 | 2018-01-09 | 广东欧珀移动通信有限公司 | Game effect construction method and device |
WO2018161323A1 (en) * | 2017-03-09 | 2018-09-13 | 广东欧珀移动通信有限公司 | Depth-based control method and control device and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1551616A (en) * | 2003-05-15 | 2004-12-01 | Lg������ʽ���� | Portable phone with camera and customizable photographic composition guidelines |
CN101540844A (en) * | 2008-03-19 | 2009-09-23 | 索尼株式会社 | Composition determination device, composition determination method, and program |
US20110317873A1 (en) * | 2000-11-06 | 2011-12-29 | Boncyk Wayne C | Image Capture and Identification System and Process |
JP2012080236A (en) * | 2010-09-30 | 2012-04-19 | Hitachi Solutions Ltd | Electronic device, and method and program for displaying captured image area with information |
CN103634588A (en) * | 2012-08-27 | 2014-03-12 | 联想(北京)有限公司 | Image composition method and electronic apparatus |
CN106484086A (en) * | 2015-09-01 | 2017-03-08 | 北京三星通信技术研究有限公司 | The method shooting for auxiliary and its capture apparatus |
-
2017
- 2017-03-09 CN CN201710138849.9A patent/CN106973224B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110317873A1 (en) * | 2000-11-06 | 2011-12-29 | Boncyk Wayne C | Image Capture and Identification System and Process |
CN1551616A (en) * | 2003-05-15 | 2004-12-01 | Lg������ʽ���� | Portable phone with camera and customizable photographic composition guidelines |
CN101540844A (en) * | 2008-03-19 | 2009-09-23 | 索尼株式会社 | Composition determination device, composition determination method, and program |
JP2012080236A (en) * | 2010-09-30 | 2012-04-19 | Hitachi Solutions Ltd | Electronic device, and method and program for displaying captured image area with information |
CN103634588A (en) * | 2012-08-27 | 2014-03-12 | 联想(北京)有限公司 | Image composition method and electronic apparatus |
CN106484086A (en) * | 2015-09-01 | 2017-03-08 | 北京三星通信技术研究有限公司 | The method shooting for auxiliary and its capture apparatus |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018161323A1 (en) * | 2017-03-09 | 2018-09-13 | 广东欧珀移动通信有限公司 | Depth-based control method and control device and electronic device |
US11145086B2 (en) | 2017-03-09 | 2021-10-12 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Electronic device, and method and apparatus for controlling the same |
CN107551551A (en) * | 2017-08-09 | 2018-01-09 | 广东欧珀移动通信有限公司 | Game effect construction method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106973224B (en) | 2020-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106851238B (en) | Method for controlling white balance, white balance control device and electronic device | |
CN106851123A (en) | Exposal control method, exposure-control device and electronic installation | |
CN106993112A (en) | Background-blurring method and device and electronic installation based on the depth of field | |
CN107025635A (en) | Processing method, processing unit and the electronic installation of image saturation based on the depth of field | |
Fabbri et al. | 3D curve sketch: Flexible curve-based stereo reconstruction and calibration | |
CN106851107A (en) | Switch control method, control device and the electronic installation of camera assisted drawing | |
CN106851124A (en) | Image processing method, processing unit and electronic installation based on the depth of field | |
US20170085864A1 (en) | Underwater 3d image reconstruction utilizing triple wavelength dispersion and camera system thereof | |
CN107113415A (en) | The method and apparatus for obtaining and merging for many technology depth maps | |
CN101527046A (en) | Motion detection method, device and system | |
CN106998389A (en) | Control method, control device and the electronic installation of auto composition | |
CN106875433A (en) | Cut control method, control device and the electronic installation of composition | |
CN110798677B (en) | Three-dimensional scene modeling method and device, electronic device, readable storage medium and computer equipment | |
JP2005268847A (en) | Image generating apparatus, image generating method, and image generating program | |
CN106991378B (en) | Depth-based face orientation detection method and device and electronic device | |
CN108399631B (en) | Scale invariance oblique image multi-view dense matching method | |
CN107493427A (en) | Focusing method, device and the mobile terminal of mobile terminal | |
CN111462503A (en) | Vehicle speed measuring method and device and computer readable storage medium | |
CN110880161B (en) | Depth image stitching and fusion method and system for multiple hosts and multiple depth cameras | |
CN113869422B (en) | Multi-camera target matching method, system, electronic device and readable storage medium | |
CN108171116A (en) | Aircraft obstacle avoidance aiding method, device and obstacle avoidance aiding system | |
CN106973224A (en) | Control method, control device and the electronic installation of assisted drawing | |
CN107016651A (en) | Image sharpening method, image sharpening device and electronic installation | |
CN114072842A (en) | Method for determining depth from an image and related system | |
CN106997595A (en) | Color of image processing method, processing unit and electronic installation based on the depth of field |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200807 |