CN105320506B - A kind of method and device obtaining image - Google Patents

A kind of method and device obtaining image Download PDF

Info

Publication number
CN105320506B
CN105320506B CN201410309630.7A CN201410309630A CN105320506B CN 105320506 B CN105320506 B CN 105320506B CN 201410309630 A CN201410309630 A CN 201410309630A CN 105320506 B CN105320506 B CN 105320506B
Authority
CN
China
Prior art keywords
reference picture
user
image
module
coordinate point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410309630.7A
Other languages
Chinese (zh)
Other versions
CN105320506A (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 kind of methods for obtaining image, including:Obtain reference picture data;The reference picture is shown on mobile terminals according to the reference picture data;Image is generated to the operation information of mobile terminal based on the reference picture according to user.The embodiment of the invention also discloses a kind of devices for obtaining image, including:First obtains module, for obtaining reference picture data;Display module, for showing reference picture according to the reference picture data;Second obtains module, for obtaining the user's operation information based on the reference picture;Generation module, for generating 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 more particularly to a kind of method and devices for obtaining image.
Background technique
As mobile terminal especially large-size screen monitors touch the continuous universal of mobile terminal, five loaded on mobile terminals spend eight The different application of door brings many conveniences and interest to people's lives.Loaded on mobile terminal to make figure software a variety of Multiplicity plays on drawing board wantonly for user.
The existing figure software that does can be drawn or be realized and be modified to existing picture by existing tool, still, Want to draw accurate exquisite picture, user there need to be certain picture grounding in basic skills, be unfavorable for user experience;Also, existing work Figure software can be modified picture, but can not achieve the processing to dynamic image, have certain limitation.
Summary of the invention
In view of this, to solve existing technical problem, the embodiment of the present invention is provided:
A method of image is obtained, including:
Obtain reference picture data;
The reference picture is shown on mobile terminals according to the reference picture data;
Image is generated to the operation information of mobile terminal based on the reference picture according to user.
Preferably, the acquisition reference picture data, including:
Real-time image data is obtained from camera.
Preferably, it is described according to user based on the reference picture to the operation information of mobile terminal, generate image, packet It includes:
User is obtained in the track drafting shown on interface for showing the reference picture;
Image is generated according to the track drafting.
Preferably, it is described according to user based on the reference picture to the operation information of mobile terminal, generate image, packet It includes:
Moving coordinate point is determined according to user's operation;
According to user to the moving operation of the mobile terminal, the motion track of the moving coordinate point is obtained;
Image is generated according to the motion track of the moving coordinate point.
Preferably, described that moving coordinate point is determined according to user's operation, including:
Viewfinder area is obtained according to user's operation;
A moving coordinate point is determined in institute's viewfinder area according to preset strategy.
A kind of device obtaining image, including:First obtains module, display module, the second acquisition module and generation module; Wherein,
Described first obtains module, for obtaining reference picture data;
The display module, for showing reference picture according to the reference picture data;
Described second obtains module, for obtaining the user's operation information based on the reference picture;
The generation module, for generating image according to the operation information.
Preferably, described first module is obtained, is specifically used for obtaining real-time image data from camera.
Preferably, described second module is obtained, is specifically used for obtaining user from display module in the displaying reference picture Show interface on track drafting.
Preferably, described second module is obtained, specifically for determining moving coordinate point according to user's operation;And obtain institute State the motion track of moving coordinate point.
Preferably, described second module is obtained, is specifically used for obtaining viewfinder area according to user's operation, later, according to pre- If strategy determines a moving coordinate point in institute's viewfinder area.
A kind of method and device for obtaining image of the embodiment of the present invention, obtains reference picture data;Picture is referred to according to described Face data shows the reference picture on mobile terminals;The operation of mobile terminal is believed based on the reference picture according to user Breath generates image.The scheme through the embodiment of the present invention, the convenient people for not doing figure grounding in basic skills, which copy, does figure and root Image is formed according to motion track, can be improved user experience.
Detailed description of the invention
Fig. 1 is the method flow schematic diagram that image is obtained described in the embodiment of the present invention 1;
Fig. 2 is the apparatus structure schematic diagram that image is obtained described in the embodiment of the present invention 2;
Fig. 3 is a kind of webcam driver Graphics System structural schematic diagram of the embodiment of the present invention 5;
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 6 camera of the embodiment of the present invention obtains;
Fig. 6 is the viewfinder area and moving coordinate point schematic diagram that the embodiment of the present invention 6 determines;
Fig. 7 is the image that the embodiment of the present invention finally obtains.
Specific embodiment
Technical solution of the present invention is described in further detail below by specific embodiment.
Embodiment 1
Fig. 1 is the method flow schematic diagram that image is obtained described in the embodiment of the present invention 1, as shown in Figure 1, this method packet It includes:
Step 101:Obtain reference picture data;
Step 102:The reference picture is shown on mobile terminals according to the reference picture data;
Step 103:Image is generated to the operation information of mobile terminal based on the reference picture according to user.
Optionally, the acquisition reference picture data, including:Real-time image data is obtained from camera.
It should be noted that here, directly picture or video can also be obtained as reference picture from Local or Remote.
It should be noted that described obtain real-time reference picture from camera, including:From being set to the mobile terminal On camera obtain real-time reference picture, alternatively, by communication connection, from the non-camera for being set to the mobile terminal Obtain real-time reference picture.
Optionally, it is described according to user based on the reference picture to the operation information of mobile terminal, generate image, packet It includes:
User is obtained in the track drafting shown on interface for showing the reference picture;
Image is generated according to the track drafting.
Optionally, it is described according to user based on the reference picture to the operation information of mobile terminal, generate image, packet It includes:
Moving coordinate point is determined according to user's operation;
According to user to the moving operation of the mobile terminal, the motion track of the moving coordinate point is obtained;
Image is generated according to the motion track of the moving coordinate point.
Optionally, described that moving coordinate point is determined according to user's operation, including:
Viewfinder area is obtained according to user's operation;
A moving coordinate point is determined in institute's viewfinder area according to preset strategy.
Embodiment 2
Fig. 2 is the apparatus structure schematic diagram that image is obtained described in the embodiment of the present invention 2, as shown in Fig. 2, the device packet It includes:First obtains module 21, display module 22, second obtains module 23 and generation module 24;Wherein,
First obtains module 21, for obtaining reference picture data;
Display module 22, for showing reference picture according to the reference picture data;
Second obtains module 23, for obtaining the user's operation information based on the reference picture;
Generation module 24, for generating image according to the operation information.
Optionally, first module 21 is obtained, is specifically used for obtaining real-time image data from camera.
Optionally, second module 23 is obtained, is showing the reference picture specifically for obtaining user from display module Show the track drafting on interface.
Optionally, second module 23 is obtained, specifically for determining moving coordinate point according to user's operation;And described in obtaining The motion track of moving coordinate point.
Optionally, second module 23 is obtained, is specifically used for obtaining viewfinder area according to user's operation, later, according to default Strategy determines a moving coordinate point in institute's viewfinder area.
Embodiment 3
The present embodiment carries out certain extension to current drawing tools and method, using existing camera, realizes that dynamic takes Scape mapping, reduces the requirement to mapping person's professional standards.
It a kind of is found a view using camera to the method for assisting on drawing board to draw, camera specifically, present embodiments providing Photographing object image can be displayed on painting canvas, and user is facilitated to carry out fine gtinding or quick sketch on drawing board, copy and do figure.
The present embodiment realizes that simple copy does figure especially by following steps:
1, the figure tool that does is opened, painting canvas is opened;
2, camera function is opened;
3, mobile phone camera is directed at some object, object picture is shown on painting canvas.It should be noted that object diagram After piece is shown on painting canvas, image display area can be adjusted by operations such as hand draggings.
4, copy using tools such as paintbrushes and do figure, form simple copies and scheme.
Embodiment 4
Specifically, present embodiments provide it is a kind of found a view using camera to the method for assisting on drawing board to draw, can basis Camera track of finding a view carries out simulation mapping.
The present embodiment realizes that camera is found a view especially by following steps and does figure automatically:
1, the figure tool that does is opened, painting canvas is opened;
2, camera function is opened;
3, mobile phone camera is directed at target of finding a view, Target Photo is shown on painting canvas, it should be noted that Target Photo It is shown in after Target Photo is shown on painting canvas on painting canvas, the operation such as can move by hand, select image display area.
4, it opens camera and does figure function, camera viewfinder area is moved in the position by moving mobile terminal, and system is certainly It is dynamic to find a view, and motion track is recorded, a two-dimension picture is automatically generated on painting canvas.
Mapping, sketch one tree, a facade figure etc. can be carried out using method described in the present embodiment.
Embodiment 5
Fig. 3 is a kind of webcam driver Graphics System structural schematic diagram of the embodiment of the present invention 5, and the module based on Fig. 3 is called Figure is as shown in figure 4, the call relation between module described in Fig. 4 includes:
A:Painting canvas calls painting canvas Seamless integration- processing module, and camera is found a view and is embedded 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 the drawing tools other function modules such as paintbrush/coloring, 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 to find a view mapping, with specific reference to previously selected lines The tools such as color carry out autochart;
G:Painting canvas calling, which is found a view, is displaced processing module, carries out find a view displacement location and determining viewfinder image region;
H:Painting canvas calls image to generate processing module, carries out image procossing, forms image.
Call relation based on shown in Fig. 4 is copied the calling that treatment process is related to and is followed successively by:A-B-C-D-H;Automatically it finds a view The calling that mapping process is related to is followed successively by:A-B-C-D-E-F-G-H.
Embodiment 6
The present embodiment is illustrated so that picture mode of being found a view using dynamic draws the shape of tree as an example.
The present embodiment is directed to one tree shown in fig. 5, generates a quick sketch map by method of dynamically finding a view, specific to wrap It includes:
1, scale O (0,0) position, corresponding X are determined after being embedded in painting canvas, Y-axis determines;
2, viewfinder area and the moving coordinate to be recorded point L1 (x, y) are determined, as shown in Figure 6;
3, setting is found a view, and precision (find a view a cross by one of precision selection of finding a view during namely finding a view, such as every two To interval 1 micron);
4, the thickness for calling painting canvas pen itself, sketch color etc. are determined;
5, it according to the mobile viewfinder area of final picture (realizing by transformation mobile terminal locations) oneself is wanted, successively obtains To L1, L2, L3 ..., the original plotting points such as Ln;
6, according to tool settings and multiple original plotting points, a simple sketch map is generated, as shown in Figure 7.
The scheme through the embodiment of the present invention, the picture of camera live view can be embedded into painting canvas, be used Family can be used paintbrush and copy with reference to mapping, and can also carry out camera and find a view movement, identify moving curve, carry out two dimension Composition.The convenient people for not doing figure grounding in basic skills, which copy, does figure and camera motion track formation image, so as to become To the tool of painting from life for the people interested that draws a picture, carries at any time, is convenient and practical;The embodiment of the present invention has expanded the function of cell phone system Can, the touch display screen and camera of cell phone system are taken full advantage of, quickly does figure, and the long Kubo of electronic format can be used as Works are deposited, and works can be constantly improve, is conducive to cultivate personal interest, improves user experience.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (6)

1. a kind of method for obtaining image, which is characterized in that this method includes:
Obtain reference picture data;
The reference picture is shown on mobile terminals according to the reference picture data;
Image is generated to the operation information of mobile terminal based on the reference picture according to user;
Wherein, it is described according to user based on the reference picture to the operation information of mobile terminal, generate image, including:It obtains User is in the track drafting shown on interface for showing the reference picture;Image is generated according to the track drafting;
Alternatively, determining moving coordinate point according to user's operation;According to user to the moving operation of the mobile terminal, described in acquisition The motion track of moving coordinate point;Image is generated according to the motion track of the moving coordinate point.
2. the method according to claim 1, wherein the acquisition reference picture data, including:
Real-time image data is obtained from camera.
3. the method according to claim 1, wherein described determine moving coordinate point according to user's operation, including:
Viewfinder area is obtained according to user's operation;
A moving coordinate point is determined in institute's viewfinder area according to preset strategy.
4. a kind of device for obtaining image, which is characterized in that the device includes:First obtains module, display module, the second acquisition Module and generation module;Wherein,
Described first obtains module, for obtaining reference picture data;
The display module, for showing reference picture according to the reference picture data;
Described second obtains module, for obtaining the user's operation information based on the reference picture;
The generation module, for generating image according to the operation information;Wherein,
The operation information is:User grasps in the track drafting shown on interface for showing the reference picture, or according to user Make the motion track of determining moving coordinate point.
5. device according to claim 4, which is characterized in that
Described first obtains module, is specifically used for obtaining real-time image data from camera.
6. device according to claim 4, which is characterized in that
Described second obtains module, is specifically used for being taken according to preset strategy later according to user's operation acquisition viewfinder area A moving coordinate point is determined in scene 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 CN105320506A (en) 2016-02-10
CN105320506B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087553B (en) * 2018-08-23 2021-12-28 广东智媒云图科技股份有限公司 Copying painting method
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

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

Also Published As

Publication number Publication date
CN105320506A (en) 2016-02-10

Similar Documents

Publication Publication Date Title
CN111083380B (en) Video processing method, electronic equipment and storage medium
CN103873758B (en) The method, apparatus and equipment that panorama sketch generates in real time
CN101382870A (en) Electronic drafting method
CN103347152A (en) Method, device and terminal for picture processing
CN105447125A (en) Electronic equipment and makeup assisting method
CN105991925A (en) Scene composition indicating method and indicating device
JP6307889B2 (en) Display device, display system, and display method
CN105741232B (en) The automatic bi-directional scaling of the object based on depth map for picture editting
CN106723987A (en) Intelligent platform
CN105320506B (en) A kind of method and device obtaining image
CN104836957A (en) Photo shooting processing method and device
US9137461B2 (en) Real-time camera view through drawn region for image capture
US20240078703A1 (en) Personalized scene image processing method, apparatus and storage medium
CN109934931A (en) Acquisition image, the method and device for establishing target object identification model
CN106713740B (en) Positioning tracking camera shooting method and system
KR20150095787A (en) Pick-up device and pick-up method
CN104917972A (en) Method for remotely controlling picture taking, device and system
US20150206282A1 (en) Image processing device, image processing method, and image processing program
CN110910484A (en) SLAM-based object mapping method from two-dimensional image to three-dimensional real scene
CN113225428A (en) Image copying processing method, device, equipment and computer readable storage medium
CN104954688B (en) Image processing method and image processing apparatus
JP5326816B2 (en) Remote conference system, information processing apparatus, and program
CN107516339B (en) Information processing method and information processing device
JP2012033012A (en) Image tone conversion device, image tone conversion system, image tone conversion method and program
CN116501901A (en) Digital music image display method, system and device

Legal Events

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