CN105320506A - Method and device for obtaining image - Google Patents

Method and device for obtaining image Download PDF

Info

Publication number
CN105320506A
CN105320506A CN201410309630.7A CN201410309630A CN105320506A CN 105320506 A CN105320506 A CN 105320506A CN 201410309630 A CN201410309630 A CN 201410309630A CN 105320506 A CN105320506 A CN 105320506A
Authority
CN
China
Prior art keywords
reference picture
user
acquisition module
coordinate point
image
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
Application number
CN201410309630.7A
Other languages
Chinese (zh)
Other versions
CN105320506B (en
Inventor
郝素芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201410309630.7A priority Critical patent/CN105320506B/en
Publication of CN105320506A publication Critical patent/CN105320506A/en
Application granted granted Critical
Publication of CN105320506B publication Critical patent/CN105320506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a method for obtaining an image. The method comprises the steps that reference picture data are obtained; a reference picture is displayed on a mobile terminal according to the reference picture data; the image is generated according to operation information of a user to the mobile terminal on the basis of the reference picture. The embodiment of the invention further discloses a device for obtaining the image, the device for obtaining the image comprises a first acquisition module, a display module, a second acquisition module and a generation module, wherein the first acquisition module is used for obtaining the reference picture data, the display module is used for displaying the reference picture according to the reference picture data, the second acquisition module is used for obtaining the operation information of the user on the basis of the reference picture, and the generation module is used for generating the image according to the operation information.

Description

A kind of method and device obtaining image
Technical field
The present invention relates to image processing techniques, particularly relate to a kind of method and the device that obtain image.
Background technology
Along with mobile terminal particularly large-size screen monitors touch the constantly universal of mobile terminal, it is a lot of convenient and interesting that the omnifarious different application loaded on mobile terminals brings to the life of people.Mobile terminal loads to make figure software varied, wantonly can play on drawing board for user.
The existing figure of being software can rely on existing instrument to carry out drawing or realize to revise existing picture, but want to draw accurately exquisite picture, user need have certain picture grounding in basic skills, is unfavorable for Consumer's Experience; Further, existing mapping software can be revised picture, but can not realize the process to dynamic image, has certain limitation.
Summary of the invention
In view of this, for solving the technical matters of existing existence, the embodiment of the present invention provides:
Obtain a method for image, comprising:
Obtain reference picture data;
Described reference picture is shown on mobile terminals according to described reference picture data;
According to user based on the operation information of described reference picture to mobile terminal, synthetic image.
Preferably, described acquisition reference picture data, comprising:
Real-time view data is obtained from camera.
Preferably, described according to user based on the operation information of described reference picture to mobile terminal, synthetic image, comprising:
Obtain the track drafting of user on the displaying interface showing described reference picture;
According to described track drafting synthetic image.
Preferably, described according to user based on the operation information of described reference picture to mobile terminal, synthetic image, comprising:
According to user operation determination moving coordinate point;
According to the mobile operation of user to described mobile terminal, obtain the motion track of described moving coordinate point;
According to the motion track synthetic image of described moving coordinate point.
Preferably, described according to user operation determination moving coordinate point, comprising:
View area is obtained according to user operation;
In institute's view area, a moving coordinate point is determined according to preset strategy.
Obtain a device for image, comprising: the first acquisition module, display module, the second acquisition module and generation module; Wherein,
Described first acquisition module, for obtaining reference picture data;
Described display module, for according to described reference picture data display reference picture;
Described second acquisition module, for obtaining the user's operation information based on described reference picture;
Described generation module, for according to described operation information synthetic image.
Preferably, described first acquisition module, specifically for obtaining real-time view data from camera.
Preferably, described second acquisition module, specifically for obtaining the track drafting of user on the displaying interface showing described reference picture from display module.
Preferably, described second acquisition module, specifically for according to user operation determination moving coordinate point; And obtain the motion track of described moving coordinate point.
Preferably, described second acquisition module, specifically for obtaining view area according to user operation, afterwards, determines a moving coordinate point according to preset strategy in institute's view area.
A kind of method and device obtaining image of the embodiment of the present invention, obtains reference picture data; Described reference picture is shown on mobile terminals according to described reference picture data; According to user based on the operation information of described reference picture to mobile terminal, synthetic image.By the scheme described in the embodiment of the present invention, the convenient people not doing figure grounding in basic skills carries out imitation and is figure and forms image according to motion track, can improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the method flow schematic diagram of the acquisition image described in the embodiment of the present invention 1;
Fig. 2 is the apparatus structure schematic diagram of the acquisition image described in the embodiment of the present invention 2;
Fig. 3 is the embodiment of the present invention 5 one kinds of webcam driver Graphics System structural representations;
Fig. 4 is the call relation schematic diagram in the embodiment of the present invention 5 between each module;
Fig. 5 is the image that the embodiment of the present invention 6 camera obtains;
Fig. 6 is the view area determined of the embodiment of the present invention 6 and moving coordinate point schematic diagram;
Fig. 7 is the image that the embodiment of the present invention finally obtains.
Embodiment
Below by specific embodiment, technical scheme of the present invention is described in further detail.
Embodiment 1
Fig. 1 is the method flow schematic diagram of the acquisition image described in the embodiment of the present invention 1, and as shown in Figure 1, the method comprises:
Step 101: obtain reference picture data;
Step 102: show described reference picture on mobile terminals according to described reference picture data;
Step 103: according to user based on the operation information of described reference picture to mobile terminal, synthetic image.
Optionally, described acquisition reference picture data, comprising: obtain real-time view data from camera.
It should be noted that, also directly can obtain picture or video as with reference to image from Local or Remote here.
It should be noted that, describedly obtain real-time reference picture from camera, comprising: obtain real-time reference picture from the camera be arranged at described mobile terminal, or, by communication connection, obtain real-time reference picture from the non-camera being arranged at described mobile terminal.
Optionally, described according to user based on the operation information of described reference picture to mobile terminal, synthetic image, comprising:
Obtain the track drafting of user on the displaying interface showing described reference picture;
According to described track drafting synthetic image.
Optionally, described according to user based on the operation information of described reference picture to mobile terminal, synthetic image, comprising:
According to user operation determination moving coordinate point;
According to the mobile operation of user to described mobile terminal, obtain the motion track of described moving coordinate point;
According to the motion track synthetic image of described moving coordinate point.
Optionally, described according to user operation determination moving coordinate point, comprising:
View area is obtained according to user operation;
In institute's view area, a moving coordinate point is determined according to preset strategy.
Embodiment 2
Fig. 2 is the apparatus structure schematic diagram of the acquisition image described in the embodiment of the present invention 2, and as shown in Figure 2, this device comprises: the first acquisition module 21, display module 22, second acquisition module 23 and generation module 24; Wherein,
First acquisition module 21, for obtaining reference picture data;
Display module 22, for according to described reference picture data display reference picture;
Second acquisition module 23, for obtaining the user's operation information based on described reference picture;
Generation module 24, for according to described operation information synthetic image.
Optionally, the first acquisition module 21, specifically for obtaining real-time view data from camera.
Optionally, the second acquisition module 23, specifically for obtaining the track drafting of user on the displaying interface showing described reference picture from display module.
Optionally, the second acquisition module 23, specifically for according to user operation determination moving coordinate point; And obtain the motion track of described moving coordinate point.
Optionally, the second acquisition module 23, specifically for obtaining view area according to user operation, afterwards, determines a moving coordinate point according to preset strategy in institute's view area.
Embodiment 3
The present embodiment carries out certain expansion to current drawing tools and method, utilizes existing camera, realizes dynamically finding a view mapping, reduces the requirement to mapping person's professional standards.
Concrete, present embodiments provide and a kind ofly utilize camera to find a view drawing board is assisted the method for drawing, camera photographing object image can be presented on painting canvas, facilitate user carry out on drawing board fine gtinding or fast sketch, copy and be figure.
The present embodiment realizes simple imitation especially by following steps and is figure:
1, open and make figure instrument, open painting canvas;
2, camera function is opened;
3, mobile phone camera is aimed at some objects, object picture is presented on painting canvas.It should be noted that, after object picture is presented on painting canvas, can by operations such as hand draggings, adjustment image display area.
4, use the instruments such as paintbrush to carry out imitation and be figure, form one and simply copy figure.
Embodiment 4
Concrete, present embodiments provide and a kind ofly utilize camera to find a view drawing board is assisted the method for drawing, simulation can be carried out map according to camera track of finding a view.
The present embodiment realizes camera especially by following steps and finds a view and be automatically figure:
1, open and make figure instrument, open painting canvas;
2, camera function is opened;
3, aimed at by mobile phone camera and to find a view target, Target Photo is presented on painting canvas, it should be noted that, Target Photo is presented at after Target Photo on painting canvas is presented on painting canvas, can by hand moves operation of etc.ing, selection image display area.
4, open camera and do figure function, move camera view area by the position of moving mobile terminal, system is found a view automatically, and record move track, painting canvas generates a two-dimension picture automatically.
Adopt the method described in the present embodiment can carry out mapping, sketch one tree, a facade figure etc.
Embodiment 5
Fig. 3 is the embodiment of the present invention 5 one kinds of webcam driver Graphics System structural representations, based on Fig. 3 module calling graph as shown in Figure 4, the call relation described in Fig. 4 between module comprises:
A: painting canvas calls painting canvas Seamless integration-processing module, finds a view camera and embeds in painting canvas;
B: painting canvas calls webcam driver module, enables camera;
C: painting canvas calls imaging displacement locating module, determines viewfinder range;
D: painting canvas calls paintbrush/painted other functional modules such as drawing tool such as grade, maps in view-finder;
E: painting canvas calls graphics driver, carries out graphics process;
F: painting canvas calls drawing tool Seamless integration-processing modules implement and to find a view mapping, specifically according to instruments such as previously selected line colors, carries out autochart;
G: painting canvas calls displacement processing module of finding a view, carries out finding a view displacement location and determining viewfinder image region;
H: painting canvas calling graph, as generating process module, carries out image procossing, forms image.
Based on the call relation shown in Fig. 4, calling that imitation processing procedure relates to is followed successively by: A-B-C-D-H; Automatically calling that mapping process of finding a view relates to is followed successively by: A-B-C-D-E-F-G-H.
Embodiment 6
The present embodiment is described for the shape adopting picture mode of dynamically finding a view and draw tree.
The present embodiment, for the one tree shown in Fig. 5, generates a quick sketch map by the dynamic method of finding a view, specifically comprises:
1, determine scale O (0,0) position, corresponding X after embedding painting canvas, Y-axis is determined;
2, moving coordinate point L1 (x, y) determined view area and will record, as shown in Figure 6;
3, precision (selection of precision of finding a view in process of namely finding a view, such as every two 1 micron, lateral separations of finding a view) of finding a view is set;
4, the thickness, sketch color etc. of calling painting canvas pen own is determined;
5, according to oneself want final picture move view area (by conversion mobile terminal locations realize), get successively L1, L2, L3 ..., the original plotting point such as Ln;
6, according to tool settings and multiple original plotting point, a simple sketch map is generated, as shown in Figure 7.
By the scheme described in the embodiment of the present invention, can be embedded in painting canvas by the picture of camera live view, user can use paintbrush to copy with reference to mapping, and also can carry out camera and to find a view movement, identify moving curve, carry out two-dimentional composition.The convenient people not doing figure grounding in basic skills carries out imitation and is figure and camera motion track forms image, thus can become the instrument of painting from life to the people interested that draws a picture, and carries at any time, convenient and practical; The embodiment of the present invention has expanded the function of cell phone system, takes full advantage of touch display screen and the camera of cell phone system, is figure fast, and works can be preserved for a long time as electronic format, and constantly can improve works, be conducive to cultivating personal interest, improve Consumer's Experience.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (10)

1. obtain a method for image, it is characterized in that, the method comprises:
Obtain reference picture data;
Described reference picture is shown on mobile terminals according to described reference picture data;
According to user based on the operation information of described reference picture to mobile terminal, synthetic image.
2. method according to claim 1, is characterized in that, described acquisition reference picture data, comprising:
Real-time view data is obtained from camera.
3. method according to claim 1 and 2, is characterized in that, described according to user based on the operation information of described reference picture to mobile terminal, synthetic image, comprising:
Obtain the track drafting of user on the displaying interface showing described reference picture;
According to described track drafting synthetic image.
4. method according to claim 1 and 2, is characterized in that, described according to user based on the operation information of described reference picture to mobile terminal, synthetic image, comprising:
According to user operation determination moving coordinate point;
According to the mobile operation of user to described mobile terminal, obtain the motion track of described moving coordinate point;
According to the motion track synthetic image of described moving coordinate point.
5. method according to claim 4, is characterized in that, described according to user operation determination moving coordinate point, comprising:
View area is obtained according to user operation;
In institute's view area, a moving coordinate point is determined according to preset strategy.
6. obtain a device for image, it is characterized in that, this device comprises: the first acquisition module, display module, the second acquisition module and generation module; Wherein,
Described first acquisition module, for obtaining reference picture data;
Described display module, for according to described reference picture data display reference picture;
Described second acquisition module, for obtaining the user's operation information based on described reference picture;
Described generation module, for according to described operation information synthetic image.
7. device according to claim 6, is characterized in that,
Described first acquisition module, specifically for obtaining real-time view data from camera.
8. the device according to claim 6 or 7, is characterized in that,
Described second acquisition module, specifically for obtaining the track drafting of user on the displaying interface showing described reference picture from display module.
9. the device according to claim 6 or 7, is characterized in that,
Described second acquisition module, specifically for according to user operation determination moving coordinate point; And obtain the motion track of described moving coordinate point.
10. device according to claim 9, is characterized in that,
Described second acquisition module, specifically for obtaining view area according to user operation, afterwards, determines a moving coordinate point according to preset strategy in institute's view area.
CN201410309630.7A 2014-06-30 2014-06-30 A kind of method and device obtaining image Active CN105320506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410309630.7A CN105320506B (en) 2014-06-30 2014-06-30 A kind of method and device obtaining image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410309630.7A CN105320506B (en) 2014-06-30 2014-06-30 A kind of method and device obtaining image

Publications (2)

Publication Number Publication Date
CN105320506A true CN105320506A (en) 2016-02-10
CN105320506B CN105320506B (en) 2018-11-23

Family

ID=55247939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410309630.7A Active CN105320506B (en) 2014-06-30 2014-06-30 A kind of method and device obtaining image

Country Status (1)

Country Link
CN (1) CN105320506B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087553A (en) * 2018-08-23 2018-12-25 广东智媒云图科技股份有限公司 A kind of imitation drawing method
CN109324749A (en) * 2018-09-10 2019-02-12 Oppo(重庆)智能科技有限公司 Drawing practice, device, storage medium and electronic equipment
WO2020124603A1 (en) * 2018-12-21 2020-06-25 深圳市柔宇科技有限公司 Drawing method, drawing apparatus, and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867744A (en) * 2009-04-20 2010-10-20 Tcl集团股份有限公司 TV set having electronic drawing function and realizing method thereof
CN103777852A (en) * 2012-10-18 2014-05-07 腾讯科技(深圳)有限公司 Image obtaining method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867744A (en) * 2009-04-20 2010-10-20 Tcl集团股份有限公司 TV set having electronic drawing function and realizing method thereof
CN103777852A (en) * 2012-10-18 2014-05-07 腾讯科技(深圳)有限公司 Image obtaining method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087553A (en) * 2018-08-23 2018-12-25 广东智媒云图科技股份有限公司 A kind of imitation drawing method
CN109324749A (en) * 2018-09-10 2019-02-12 Oppo(重庆)智能科技有限公司 Drawing practice, device, storage medium and electronic equipment
CN109324749B (en) * 2018-09-10 2021-04-06 Oppo(重庆)智能科技有限公司 Drawing method, drawing device, storage medium and electronic equipment
WO2020124603A1 (en) * 2018-12-21 2020-06-25 深圳市柔宇科技有限公司 Drawing method, drawing apparatus, and electronic device
CN113168722A (en) * 2018-12-21 2021-07-23 深圳市柔宇科技股份有限公司 Drawing method, drawing device and electronic equipment

Also Published As

Publication number Publication date
CN105320506B (en) 2018-11-23

Similar Documents

Publication Publication Date Title
USRE43545E1 (en) Virtual skywriting
TWI410608B (en) Use the point of interest information to display the system and method of the smartphone lens image
CN109584295A (en) The method, apparatus and system of automatic marking are carried out to target object in image
CN103455480B (en) A kind of position search method based on electronic chart and device
CN105005970A (en) Augmented reality implementation method and apparatus
CN103268621B (en) A kind of house realistic picture generates method and apparatus
CN103679204A (en) Image identification and creation application system and method based on intelligent mobile device platform
CN104657934B (en) A kind for the treatment of method and apparatus of image data
CN101382870A (en) Electronic drafting method
CN102915310A (en) Generating method of electronic maps, navigation method and navigation device
CN106382937A (en) Navigation method and navigation terminal
JP2005135355A (en) Data authoring processing apparatus
JP6096634B2 (en) 3D map display system using virtual reality
CN108829250A (en) A kind of object interaction display method based on augmented reality AR
CN112242004B (en) AR scene virtual engraving method and system based on illumination rendering
CN105677818A (en) Drawing method and system based on mobile positioning and electronic map
CN105205194A (en) System and method for generating scenic area map
CN106611056B (en) Method and device for cutting three-dimensional simulation map
CN202171801U (en) Generating device including position information pictures and processing device including position information pictures
CN110361005A (en) Positioning method, positioning device, readable storage medium and electronic equipment
CN107808009B (en) Stamp platform-based two-dimensional and three-dimensional map linkage method
CN105320506A (en) Method and device for obtaining image
CN104821135B (en) It is a kind of to realize the method and device that paper map is combined display with electronic map
CN107958491B (en) Matching method of mobile augmented reality virtual coordinates and construction site coordinates
CN105807274A (en) Radar location method and system based on social platform and social platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant