CN107018321A - Image processing method and system when a kind of mobile terminal is taken pictures - Google Patents

Image processing method and system when a kind of mobile terminal is taken pictures Download PDF

Info

Publication number
CN107018321A
CN107018321A CN201710125016.9A CN201710125016A CN107018321A CN 107018321 A CN107018321 A CN 107018321A CN 201710125016 A CN201710125016 A CN 201710125016A CN 107018321 A CN107018321 A CN 107018321A
Authority
CN
China
Prior art keywords
target
mobile terminal
long
preview interface
taken pictures
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.)
Pending
Application number
CN201710125016.9A
Other languages
Chinese (zh)
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201710125016.9A priority Critical patent/CN107018321A/en
Publication of CN107018321A publication Critical patent/CN107018321A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-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)
  • Human Computer Interaction (AREA)
  • Image Processing (AREA)

Abstract

The present invention discloses the image processing method and system when a kind of mobile terminal is taken pictures, wherein, method includes step:A, when mobile terminal is taken pictures, when preview interface receive user long-press instruction when, then obtain preview interface on long-press coordinate region target;B, when detecting long-press coordinate and being moved to the next position from current location, control the target to be moved to the next position;C, when detecting photographing instruction, preserve current preview interface as shooting picture.The present invention to the target in preview interface by when taking pictures, moving, so that target is moved to position desired by user, so when user presses camera button, with regard to that can obtain the optimal effect of taking pictures needed for user, the present invention enriches camera function, can obtain the effect of taking pictures of personalization.

Description

Image processing method and system when a kind of mobile terminal is taken pictures
Technical field
A kind of image processing method when being taken pictures the present invention relates to mobile terminal application field, more particularly to mobile terminal and System.
Background technology
With the development and the improvement of people's living standards of mobile Internet, the mobile terminal using mobile phone as representative has been walked Enter huge numbers of families, the routine work of people and all too busy to get away mobile terminal of living, people can utilize mobile terminal call, transmission Information, the audio-visual video of viewing, progress Entertainment etc..As a critical function of mobile terminal, camera function has been The standard configuration of current mobile terminal.People can be recorded using camera function and share various interesting pictures, but work(of taking pictures at present Can only realize and shoot picture fixed in reality scene, but the picture shot sometimes can not meet user's request, i.e., without Method is realized and the target in picture could be adjusted to realize optimal shooting effect.
Therefore, prior art has yet to be improved and developed.
The content of the invention
In view of at above-mentioned the deficiencies in the prior art, picture when being taken pictures it is an object of the invention to provide a kind of mobile terminal Manage method and system, it is intended to solve the problem of existing mobile terminal camera function can not be adjusted to target.
Technical scheme is as follows:
A kind of image processing method when mobile terminal is taken pictures, wherein, including step:
A, when mobile terminal is taken pictures, when preview interface receive user long-press instruction when, then obtain preview interface on long-press sit Mark the target of region;
B, when detecting long-press coordinate and being moved to the next position from current location, control the target to be moved to the next position;
C, when detecting photographing instruction, preserve current preview interface as shooting picture.
Image processing method when described mobile terminal is taken pictures, wherein, the step A is specifically included:
A1, when mobile terminal is taken pictures, an at least target for preview interface is obtained by the method for rim detection;
A2, when preview interface receive user long-press instruction when, obtain long-press coordinate;
A3, the target obtained in long-press coordinate region.
Image processing method when described mobile terminal is taken pictures, wherein, the step C is specifically included:
C1, virtual picture signal is changed into the preview interface after movement;
C2, the virtual picture signal stored in the form of virtual digital signal;
C3, when detecting photographing instruction, the virtual picture signal of storage is read, and export the picture as shooting.
Image processing method when described mobile terminal is taken pictures, wherein, the step B is specifically included:
B1, when detecting long-press coordinate and being moved to the next position from current location, calculate the next position and both current locations The distance between and the two angle between reference line;
B2, the terminal according to the distance and angle acquisition target, and control targe movement is to terminal.
Image processing method when described mobile terminal is taken pictures, wherein, the reference line is horizontal line.
A kind of picture processing system when mobile terminal is taken pictures, wherein, including:
Target Acquisition module, for when mobile terminal is taken pictures, when preview interface receives the long-press instruction of user, then obtaining pre- Look at the target of long-press coordinate region on interface;
Control module, for when detecting long-press coordinate and being moved to the next position from current location, controlling the target movement To the next position;
Photo module, for when detecting photographing instruction, preserving current preview interface as the picture of shooting.
Picture processing system when described mobile terminal is taken pictures, wherein, the Target Acquisition module is specifically included:
Detection unit, for when mobile terminal is taken pictures, an at least target for preview interface to be obtained by the method for rim detection;
Coordinate acquiring unit, when being instructed for receiving the long-press of user when preview interface, obtains long-press coordinate;
Target Acquisition unit, for obtaining the target in long-press coordinate region.
Picture processing system when described mobile terminal is taken pictures, wherein, the photo module is specifically included:
Conversion unit, for changing into virtual picture signal to the preview interface after movement;
Memory cell, for the virtual picture signal to be stored in the form of virtual digital signal;
Output unit, for detecting during photographing instruction, reads the virtual picture signal of storage, and export the figure as shooting Piece.
Picture processing system when described mobile terminal is taken pictures, wherein, the control module is specifically included:
Computing unit, for when detecting long-press coordinate and being moved to the next position from current location, calculating the next position with working as Front position distance therebetween and the two angle between reference line;
Control unit, the terminal for obtaining target according to the distance and angle, and control targe movement is to terminal.
Picture processing system when described mobile terminal is taken pictures, wherein, the reference line is horizontal line.
Beneficial effect:The present invention to the target in preview interface by when taking pictures, moving, so that target is moved To position desired by user, so when user presses camera button, with regard to the optimal effect of taking pictures needed for user, the present invention can be obtained Camera function is enriched, the effect of taking pictures of personalization can be obtained.
Brief description of the drawings
Fig. 1 is the flow chart of image processing method preferred embodiment when a kind of mobile terminal of the invention is taken pictures.
Fig. 2 is the structured flowchart of picture processing system preferred embodiment when a kind of mobile terminal of the invention is taken pictures.
Embodiment
The present invention provides the image processing method and system when a kind of mobile terminal is taken pictures, to make the purpose of the present invention, skill Art scheme and effect are clearer, clear and definite, and the present invention is described in more detail below.It should be appreciated that tool described herein Body embodiment only to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, the flow of image processing method preferred embodiment when Fig. 1 takes pictures for a kind of mobile terminal of the invention Figure, as illustrated, it includes step:
S1, when mobile terminal is taken pictures, when preview interface receive user long-press instruction when, then obtain preview interface on long-press sit Mark the target of region;
S2, when detecting long-press coordinate and being moved to the next position from current location, control the target to be moved to the next position;
S3, when detecting photographing instruction, preserve current preview interface as shooting picture.
In the present invention, when user takes pictures, the camera function of mobile terminal is opened, preview interface occurs, user will can take the photograph As the head alignment object to be shot, so as to required preview interface occur, according to traditional shooting style, user now clicks on Camera button, you can obtain required picture.But often the position of different target can not expire in the composition and picture in picture Sufficient user's request, thus in the present invention, after there is preview interface, the target of adjustment, Ran Houyi needed in long-press preview interface Move to new position, camera button is now clicked on again, it is possible to obtain new picture, and now the position of target there occurs in picture Change, this shooting style enriches camera function, realizes the effect of taking pictures of personalization.
Specifically, the step S1 is specifically included:
S11, when mobile terminal is taken pictures, an at least target for preview interface is obtained by the method for rim detection;
S12, when preview interface receive user long-press instruction when, obtain long-press coordinate;
S13, the target obtained in long-press coordinate region.
In step s 11, when opening mobile terminal camera and being ready for taking pictures, occur on interface of mobile terminal Preview interface, now obtaining at least one target of preview interface, such as preview interface has a personage, then obtains the personage There is a mountain in region, preview interface, then obtaining has a tree in the mountain region, preview interface, then obtain tree place Region.
As for obtain mesh calibration method, can be obtained by way of rim detection, rim detection be image procossing and Basic problem in computer vision, the purpose of rim detection is the obvious point of brightness change in reference numbers image.Image belongs to Significant changes in property generally reflect the critical event and change of attribute, and these include(i)In depth it is discontinuous,(ii)Table Face direction is discontinuous,(iii)Material property change and(iv)Scene lighting changes.
The key step of rim detection includes:1st, filter;2nd, strengthen;3rd, detect;4th, position.Filtering therein refers to utilize Wave filter can cause the damage of edge strength to improve the performance of the edge detector relevant with noise while noise is reduced Lose, so needing appropriateness.Enhancing refers to enhancing edge, and its basis is to determine being changed to for image vertex neighborhood, and enhancing algorithm can With by neighborhood(Or it is local)The point that intensity level has significant change is highlighted, and is completed particular by gradient magnitude is calculated;Inspection Survey and refer to have in the picture the gradient magnitudes of many points than larger, and these points are not necessarily all side in specific application field Edge, so it needs to be determined which point is marginal point, most easy detection foundation is gradient magnitude threshold value;Positioning refers to if one Application scenario requires determination marginal position, then the position at edge can estimate that the orientation at edge also may be used on subpixel resolution To be estimated.
In addition, it should be noted that, in a width preview interface, the target detected may have multiple, can be drawn in preview Target is sketched the contours of in face, the edge of target can specifically be protruded with lines and shown, such user just may be used in preview interface Wherein there are several adjustable targets to find out at a glance, facilitate user's length according to target and mobile.In addition, in preview interface Target is also unsuitable excessive, can excessively cause preview interface become can not it is clear that and treatment effeciency step-down can be caused, be also inconvenient to adjust It is whole, destination number shown in preview interface is arranged on 1 ~ 10 in the present invention, it is assumed that the target in preview interface is excessive, For example when shooting big group photo, then it can increase switching push button in preview interface, can so switch in preview interface and show The target shown, can also realize the click and adjustment of user.
In the step S12, when preview interface receives the long-press instruction of user, long-press coordinate is obtained.User clicks on Position should detect in the range of object edge, can thus obtain the focus of target in target region, side Just follow-up adjustment is carried out.Simultaneously in this step, when receiving long-press instruction in preview interface, then obtain long-press coordinate, I.e. long-press instructs corresponding coordinate, convenient to judge pinned target.
In the step S13, because when obtaining target, the coordinate of each target has known, so now before According to long-press coordinate, you can which judges during the target that current long-press coordinate pinned, such as current long-press coordinate is located at a targets In the range of, then obtain a targets, i.e. current focus and be located in a targets, then a targets can be subsequently adjusted.
Further, the step S2 is specifically included:
S21, when detecting long-press coordinate and being moved to the next position from current location, calculate the next position and both current locations The distance between and the two angle between reference line;
S22, the terminal according to the distance and angle acquisition target, and control targe movement is to terminal.
In the step S21, when long-press coordinate is moved to the next position from current location, obtain current location with it is next The distance between position and angle, distance therein are the air line distance between current location and the next position, folder therein Angle is calculated on the basis of reference line, such as described reference line is horizontal line, then angle therein is with present bit The angle between the line between the next position and horizontal line is put, horizontal line therein can be drawn centered on current location Go out, so as to set up rectangular coordinate system, angle is calculated according to this rectangular coordinate system.Distance is the abscissa according to current location Calculate and obtain with the abscissa and ordinate of ordinate and the next position.
In the step S22, the terminal of target movement just can be calculated according to the distance and angle, mesh is then controlled Mark is mobile to terminal.When obtaining target region, it is preferred that the center of target is also obtained, during subsequent movement Just it is defined and is moved by the center, as the center of irregular target, the method for having many in the prior art can To use, the present invention is repeated no more.
Further, the step S3 is specifically included:
S31, virtual picture signal is changed into the preview interface after movement;
S32, the virtual picture signal stored in the form of virtual digital signal;
S33, when detecting photographing instruction, the virtual picture signal of storage is read, and export the picture as shooting.
Specifically, in step S31, the present invention needs to carry out virtualization process to the preview interface after mobile target, the One step is exactly that the preview interface after movement is changed into virtual picture signal.
In step s 32, the virtual picture signal is stored in depositing for mobile terminal in the form of virtual digital signal In storage unit.
In step S33, when detecting photographing instruction, send virtual picture and export request signal into mobile terminal Central processor, the central processing unit exports request signal according to the virtual picture, and output virtual signal reads instruction, so that The virtual picture signal in memory cell is read, and exports the picture as shooting.
Based on the above method, the present invention also provides picture processing system preferred embodiment when a kind of mobile terminal is taken pictures, As shown in Fig. 2 it includes:
Target Acquisition module 100, for when mobile terminal is taken pictures, when preview interface receives the long-press instruction of user, then obtaining Take the target of long-press coordinate region in preview interface;
Control module 200, for when detecting long-press coordinate and being moved to the next position from current location, controlling the target to move Move to the next position;
Photo module 300, for when detecting photographing instruction, preserving current preview interface as the picture of shooting.
Further, the Target Acquisition module 100 is specifically included:
Detection unit, for when mobile terminal is taken pictures, an at least target for preview interface to be obtained by the method for rim detection;
Coordinate acquiring unit, when being instructed for receiving the long-press of user when preview interface, obtains long-press coordinate;
Target Acquisition unit, for obtaining the target in long-press coordinate region.
Further, the photo module 300 is specifically included:
Conversion unit, for changing into virtual picture signal to the preview interface after movement;
Memory cell, for the virtual picture signal to be stored in the form of virtual digital signal;
Output unit, for detecting during photographing instruction, reads the virtual picture signal of storage, and export the figure as shooting Piece.
Further, the control module 200 is specifically included:
Computing unit, for when detecting long-press coordinate and being moved to the next position from current location, calculating the next position with working as Front position distance therebetween and the two angle between reference line;
Control unit, the terminal for obtaining target according to the distance and angle, and control targe movement is to terminal.
Further, the reference line is horizontal line.
Ins and outs on above-mentioned modular unit have been described in detail in method above, therefore are repeated no more.
One of ordinary skill in the art will appreciate that all or part of flow in above-described embodiment method, can be by Computer program instructs the hardware of correlation to complete, and described computer program can be stored in a computer read/write memory medium In, program is upon execution, it may include the flow of the embodiment of above-mentioned each method.Storage medium therein can for magnetic disc, CD, Read-only memory(ROM)Or random access memory(RAM)Deng.
In summary, the present invention to the target in preview interface by when taking pictures, moving, so that target is moved To position desired by user, so when user presses camera button, with regard to the optimal effect of taking pictures needed for user, the present invention can be obtained Camera function is enriched, the effect of taking pictures of personalization can be obtained.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (10)

  1. Image processing method when 1. a kind of mobile terminal is taken pictures, it is characterised in that including step:
    A, when mobile terminal is taken pictures, when preview interface receive user long-press instruction when, then obtain preview interface on long-press sit Mark the target of region;
    B, when detecting long-press coordinate and being moved to the next position from current location, control the target to be moved to the next position;
    C, when detecting photographing instruction, preserve current preview interface as shooting picture.
  2. Image processing method when 2. mobile terminal according to claim 1 is taken pictures, it is characterised in that the step A tools Body includes:
    A1, when mobile terminal is taken pictures, an at least target for preview interface is obtained by the method for rim detection;
    A2, when preview interface receive user long-press instruction when, obtain long-press coordinate;
    A3, the target obtained in long-press coordinate region.
  3. Image processing method when 3. mobile terminal according to claim 1 is taken pictures, it is characterised in that the step C tools Body includes:
    C1, virtual picture signal is changed into the preview interface after movement;
    C2, the virtual picture signal stored in the form of virtual digital signal;
    C3, when detecting photographing instruction, the virtual picture signal of storage is read, and export the picture as shooting.
  4. Image processing method when 4. mobile terminal according to claim 1 is taken pictures, it is characterised in that the step B tools Body includes:
    B1, when detecting long-press coordinate and being moved to the next position from current location, calculate the next position and both current locations The distance between and the two angle between reference line;
    B2, the terminal according to the distance and angle acquisition target, and control targe movement is to terminal.
  5. Image processing method when 5. mobile terminal according to claim 4 is taken pictures, it is characterised in that the reference line is Horizontal line.
  6. Picture processing system when 6. a kind of mobile terminal is taken pictures, it is characterised in that including:
    Target Acquisition module, for when mobile terminal is taken pictures, when preview interface receives the long-press instruction of user, then obtaining pre- Look at the target of long-press coordinate region on interface;
    Control module, for when detecting long-press coordinate and being moved to the next position from current location, controlling the target movement To the next position;
    Photo module, for when detecting photographing instruction, preserving current preview interface as the picture of shooting.
  7. Picture processing system when 7. mobile terminal according to claim 6 is taken pictures, it is characterised in that the Target Acquisition Module is specifically included:
    Detection unit, for when mobile terminal is taken pictures, an at least target for preview interface to be obtained by the method for rim detection;
    Coordinate acquiring unit, when being instructed for receiving the long-press of user when preview interface, obtains long-press coordinate;
    Target Acquisition unit, for obtaining the target in long-press coordinate region.
  8. Picture processing system when 8. mobile terminal according to claim 6 is taken pictures, it is characterised in that the photo module Specifically include:
    Conversion unit, for changing into virtual picture signal to the preview interface after movement;
    Memory cell, for the virtual picture signal to be stored in the form of virtual digital signal;
    Output unit, for detecting during photographing instruction, reads the virtual picture signal of storage, and export the figure as shooting Piece.
  9. Picture processing system when 9. mobile terminal according to claim 6 is taken pictures, it is characterised in that the control module Specifically include:
    Computing unit, for when detecting long-press coordinate and being moved to the next position from current location, calculating the next position with working as Front position distance therebetween and the two angle between reference line;
    Control unit, the terminal for obtaining target according to the distance and angle, and control targe movement is to terminal.
  10. Picture processing system when 10. mobile terminal according to claim 9 is taken pictures, it is characterised in that the reference line For horizontal line.
CN201710125016.9A 2017-03-03 2017-03-03 Image processing method and system when a kind of mobile terminal is taken pictures Pending CN107018321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710125016.9A CN107018321A (en) 2017-03-03 2017-03-03 Image processing method and system when a kind of mobile terminal is taken pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710125016.9A CN107018321A (en) 2017-03-03 2017-03-03 Image processing method and system when a kind of mobile terminal is taken pictures

Publications (1)

Publication Number Publication Date
CN107018321A true CN107018321A (en) 2017-08-04

Family

ID=59440206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710125016.9A Pending CN107018321A (en) 2017-03-03 2017-03-03 Image processing method and system when a kind of mobile terminal is taken pictures

Country Status (1)

Country Link
CN (1) CN107018321A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109068055A (en) * 2018-08-10 2018-12-21 维沃移动通信有限公司 A kind of patterning process, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103126089A (en) * 2011-11-24 2013-06-05 深圳汇洁集团股份有限公司 Anti-displacement cup and anti-displacement brassiere
CN105955626A (en) * 2016-04-29 2016-09-21 广东小天才科技有限公司 Photographing search method and device
CN106406695A (en) * 2016-09-05 2017-02-15 上海斐讯数据通信技术有限公司 Long-pressing photographing system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103126089A (en) * 2011-11-24 2013-06-05 深圳汇洁集团股份有限公司 Anti-displacement cup and anti-displacement brassiere
CN105955626A (en) * 2016-04-29 2016-09-21 广东小天才科技有限公司 Photographing search method and device
CN106406695A (en) * 2016-09-05 2017-02-15 上海斐讯数据通信技术有限公司 Long-pressing photographing system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109068055A (en) * 2018-08-10 2018-12-21 维沃移动通信有限公司 A kind of patterning process, terminal and storage medium

Similar Documents

Publication Publication Date Title
US9516214B2 (en) Information processing device and information processing method
CN104767933B (en) A method of having the portable digital equipment and screening photo of camera function
TWI554936B (en) Image processing device, image processing method and computer product program
JP6336117B2 (en) Building height calculation method, apparatus and storage medium
CN108174185B (en) Photographing method, device and terminal
CN107230187A (en) The method and apparatus of multimedia signal processing
CN103945134B (en) A kind of shooting of photo and inspection method and its terminal
CN105578023A (en) Image quick photographing method and device
CN109285136A (en) A kind of Multiscale Fusion method, apparatus, storage medium and the terminal of image
CN107231524A (en) Image pickup method and device, computer installation and computer-readable recording medium
CN109981972B (en) Target tracking method of robot, robot and storage medium
CN107645628B (en) Information processing method and device
CN104994287B (en) A kind of image pickup method and mobile terminal based on wide-angle camera
WO2019222889A1 (en) Image feature extraction method and device
CN102158648A (en) Image capturing device and image processing method
CN103472907B (en) Method and system for determining operation area
CN112689221B (en) Recording method, recording device, electronic equipment and computer readable storage medium
CN104394326A (en) Photometry method and terminal
CN112116068B (en) Method, equipment and medium for splicing all-around images
CN109948525A (en) It takes pictures processing method, device, mobile terminal and storage medium
CN108234879A (en) It is a kind of to obtain the method and apparatus for sliding zoom video
CN105306806A (en) Mobile terminal and photographing method thereof
CN106156762A (en) Take pictures processing method and processing device
WO2024022349A1 (en) Image processing method and apparatus, and electronic device and storage medium
US20140354784A1 (en) Shooting method for three dimensional modeling and electronic device supporting the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170804