CN105812572A - Image saving method and terminal - Google Patents

Image saving method and terminal Download PDF

Info

Publication number
CN105812572A
CN105812572A CN201610269091.8A CN201610269091A CN105812572A CN 105812572 A CN105812572 A CN 105812572A CN 201610269091 A CN201610269091 A CN 201610269091A CN 105812572 A CN105812572 A CN 105812572A
Authority
CN
China
Prior art keywords
original image
terminal
preservation
preservation form
view
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
CN201610269091.8A
Other languages
Chinese (zh)
Other versions
CN105812572B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610269091.8A priority Critical patent/CN105812572B/en
Publication of CN105812572A publication Critical patent/CN105812572A/en
Application granted granted Critical
Publication of CN105812572B publication Critical patent/CN105812572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Studio Devices (AREA)

Abstract

The embodiments of the invention disclose an image saving method and a terminal. The method can comprise: the terminal shoots an original image within the coverage of a camera via the camera; the terminal acquires current shooting scene parameters; the terminal inquires a corresponding relation between the shooting scene parameters and saving formats via the current shooting scene parameters to determine the saving format corresponding to the original image; and the terminal stores the original image according to the saving format corresponding to the original image. By adopting the method, the terminal can acquire the current shooting scene parameters while shooting and determine the saving format of the original image according to the current shooting scene parameters, so that the saving format of the original image can be determined according to the processing requirement of a user.

Description

The method of a kind of image preservation and terminal
Technical field
The present invention relates to field of terminal technology, particularly relate to method and terminal that a kind of image preserves.
Background technology
Along with the development of terminal technology, mobile terminal, in daily life except communication tool, also plays increasing role, for instance, photographing unit, camera, the means of payment etc..Mobile terminal is in the process taken pictures; the photo of shooting would generally be preserved according to default set form; such as bitmap (BMP; Bitmap) form; associating photo expert group (JPEG; JointPhotographicExpertsGROUP) form, digital news gathering (DNG, DigitalNewsGathering) form etc..Various picture formats for self purposes and use scene, all can have corresponding advantage and defect.Therefore, the photo of shooting is preserved by mobile terminal according to default set form, and user can be caused according to the process demand of photo cannot to determine the form of photo.
Summary of the invention
Present invention is primarily targeted at and propose method and the terminal that a kind of image preserves, it is intended to according to user, the photo of shooting can be preserved by the process demand of photo.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
First aspect, embodiments provides a kind of method that image preserves, and described method includes:
Terminal is by the original image in photographic head taking lens coverage;
Described terminal collects current photographed scene parameter;
Described terminal is by the corresponding relation between described current photographed scene parameter query photographed scene parameter and preservation form, it is determined that the preservation form that described original image is corresponding;
Described original image is preserved by described terminal according to the preservation form that described original image is corresponding.
Optionally, described terminal collects current photographed scene parameter, including: described terminal check object of finding a view in shooting described original image process;
Correspondingly, described terminal is by the corresponding relation between described current photographed scene parameter query photographed scene parameter and preservation form, it is determined that the preservation form that described original image is corresponding, specifically includes:
The classification of described object of finding a view is mated by described terminal with the object type of finding a view preset;
When the classification of described object of finding a view meet default find a view object type time, it is determined that the preservation form that described original image is corresponding is the first preservation form;
When the classification of described object of finding a view do not meet default find a view object type time, it is determined that the preservation form that described original image is corresponding is the second preservation form;Wherein, described first the editorial of form is preserved higher than the described second editorial preserving form.
Optionally, described terminal check object of finding a view in shooting described original image process, specifically include:
Described terminal, in shooting described original image process, arbitrarily captures a picture frame from viewfinder image;
Described terminal extracts the profile of described picture frame;
Described terminal obtains the black and white profile of described picture frame after the profile of described picture frame is passed through binary conversion treatment;
Described terminal according to the black and white profile of described picture frame determine described in find a view object.
Optionally, described terminal collects current photographed scene parameter, including: described terminal gathers environmental information in shooting described original image process;
Correspondingly, described terminal is by the corresponding relation between described current photographed scene parameter query photographed scene parameter and preservation form, it is determined that the preservation form that described original image is corresponding, specifically includes:
The described environmental information collected is mated by described terminal with the environmental information preset;
When the described environmental information collected meets described default environmental information, it is determined that the preservation form that described original image is corresponding is the first preservation form;
When the described environmental information collected does not meet described default environmental information, it is determined that the preservation form that described original image is corresponding is the second preservation form;Wherein, described first the editorial of form is preserved higher than the described second editorial preserving form.
Optionally, described terminal gathers environmental information in shooting described original image process, specifically includes:
Described terminal, in shooting described original image process, obtains positional information by the positioner of self;
Or, described terminal, in shooting described original image process, obtains the motion state parameters of described terminal by the acceleration transducer of self.
Second aspect, embodiments provides a kind of terminal, and described terminal includes taking module, collection module, enquiry module and preservation module;Wherein,
Described taking module, for by the original image in photographic head taking lens coverage;
Described collection module, for collecting current photographed scene parameter;
Described enquiry module, for by the corresponding relation between described current photographed scene parameter query photographed scene parameter and preservation form, it is determined that the preservation form that described original image is corresponding;
Described preservation module, for preserving described original image according to the preservation form that described original image is corresponding.
Optionally, described collection module, for confirming described taking module object of finding a view in shooting described original image process;
Correspondingly, described enquiry module, for mating the classification of described object of finding a view with the object type of finding a view preset;And,
When the classification of described object of finding a view meet default find a view object type time, it is determined that the preservation form that described original image is corresponding is the first preservation form;And,
When the classification of described object of finding a view do not meet default find a view object type time, it is determined that the preservation form that described original image is corresponding is the second preservation form;Wherein, described first the editorial of form is preserved higher than the described second editorial preserving form.
Optionally, described collection module, specifically for:
In shooting described original image process, from viewfinder image, arbitrarily capture a picture frame;
And, extract the profile of described picture frame;
And, by the profile of described picture frame by, after binary conversion treatment, obtaining the black and white profile of described picture frame;
And, according to the black and white profile of described picture frame determine described in find a view object.
Optionally, described collection module, for shooting at described taking module, described original image process gathers environmental information;
Correspondingly, described enquiry module, specifically for:
The described environmental information collected is mated with the environmental information preset;
And, when the described environmental information collected meets described default environmental information, it is determined that the preservation form that described original image is corresponding is the first preservation form;
And, when the described environmental information collected does not meet described default environmental information, it is determined that the preservation form that described original image is corresponding is the second preservation form;Wherein, described first the editorial of form is preserved higher than the described second editorial preserving form.
Optionally, described collection module, for shooting in described original image process at described taking module, obtain positional information by positioner;
Or, shoot in described original image process at described taking module, obtained the motion state parameters of described terminal by acceleration transducer.
A kind of terminal that the embodiment of the present invention provides and the method that image preserves, terminal can obtain current photographed scene parameter when shooting, and the preservation form of original image is determined according to current photographed scene parameter such that it is able to the preservation form of original image is determined according to the process demand of user.
Accompanying drawing explanation
A kind of optional hardware architecture diagram of a kind of mobile terminal that Fig. 1 provides for the embodiment of the present invention;
The method flow schematic diagram that a kind of image that Fig. 2 provides for the embodiment of the present invention preserves;
A kind of schematic flow sheet determining preservation form that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 finds a view for a kind of confirmation that the embodiment of the present invention provides the schematic flow sheet of object;
A kind of terminal demonstration interface schematic diagram that Fig. 5 provides for the embodiment of the present invention;
The another kind of terminal demonstration interface schematic diagram that Fig. 6 provides for the embodiment of the present invention;
Fig. 7 determines the schematic flow sheet preserving form for the another kind that the embodiment of the present invention provides;
The method detailed process schematic diagram that a kind of image that Fig. 8 provides for the embodiment of the present invention preserves;
The structural representation of a kind of terminal that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing 1.In follow-up description, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for being conducive to the explanation of the present invention, itself do not have specific meaning.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include the mobile terminal of such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable media player (PMP), guider etc. and the fixed terminal of such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for the element of mobile purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is a kind of optional hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, audio/video (A/V) input block 120, user input unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 illustrates the mobile terminal with various assembly, it should be understood that be not required for implementing all assemblies illustrated, it is possible to alternatively implement more or less of assembly, will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and wireless communication system or network.Such as, wireless communication unit can include at least one in mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Mobile communication module 112 sends radio signals at least one in base station (such as, access point, node B etc.), exterior terminal and server and/or receives from it radio signal.Such radio signal can include voice call signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can internally or externally be couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include bluetoothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.The typical case of positional information module 115 is GPS (global positioning system).According to current technology, GPS module 115 calculates from the range information of three or more satellites and correct time information and the Information application triangulation for calculating, thus according to longitude, latitude with highly accurately calculate three-dimensional current location information.Currently, the method for calculating position and temporal information uses three satellites and the error by the position using an other satellite correction to calculate and temporal information.Additionally, GPS module 115 can calculate velocity information by Continuous plus current location information in real time.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121, and the view data of the camera 121 static images to being obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memorizer 160 (or other storage medium) or be transmitted via wireless communication unit 110, it is possible to provide two or more cameras 121 according to the structure of mobile terminal.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, mobile terminal 100 acceleration or deceleration move and direction etc., and generate the order of operation for controlling mobile terminal 100 or signal.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense this sliding-type phone and open or close.It addition, sensing unit 140 can detect power subsystem 190 and whether provide whether electric power or interface unit 170 couple with external device (ED).Sensing unit 140 can include proximity transducer 141 and below in conjunction with touch screen, this will be described.
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port of the device with identification module, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses the various information of mobile terminal 100 and can include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..It addition, the device (hereinafter referred to " identifying device ") with identification module can take the form of smart card, therefore, identify that device can be connected with mobile terminal 100 via port or other connecting device.Interface unit 170 may be used for receiving from the input (such as, data message, electric power etc.) of external device (ED) and the one or more elements being transferred in mobile terminal 100 by the input received or may be used for transmission data between mobile terminal and external device (ED).
Additionally, when mobile terminal 100 is connected with external base, interface unit 170 can serve as and allows to provide the path of mobile terminal 100 or can serve as to allow to be transferred to the path of mobile terminal from the various command signals of base input by it from base electric power by it.May serve as whether identification mobile terminal is accurately fitted within the signal base from the various command signals of base input or electric power.Output unit 150 is configured to provide output signal (such as, audio signal, video signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.
Output unit 150 can include display unit 151 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show the user interface (UI) relevant with call or other communicate (such as, text messaging, multimedia file download etc.) or graphic user interface (GUI).When being in video calling pattern or image capture mode when mobile terminal 100, display unit 151 can show the image of image and/or the reception caught, UI or GUI illustrating video or image and correlation function etc..
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch screen time, display unit 151 can serve as input equipment and output device.Display unit 151 can include at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc..Some in these display may be constructed such that transparence is to allow user to watch from outside, and this is properly termed as transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc..According to the specific embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, mobile terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch input pressure and touch input position and touch input area.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can temporarily store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And, memorizer 160 can store the vibration about the various modes exported when touching and being applied to touch screen and the data of audio signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium includes flash memory, hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected the network storage device cooperation of the storage function performing memorizer 160 with by network.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.It addition, controller 180 can include the multi-media module 181 for reproducing (or playback) multi-medium data, multi-media module 181 can construct in controller 180, or it is so structured that separates with controller 180.Controller 180 can perform pattern recognition process, so that the handwriting input performed on the touchscreen or picture drafting input are identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides the suitable electric power operated needed for each element and assembly.
Various embodiment described herein can to use such as computer software, hardware or its any combination of computer-readable medium to implement.Hardware is implemented, embodiment described herein can pass through to use application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, at least one that is designed to perform in the electronic unit of function described herein to implement, in some cases, such embodiment can be implemented in controller 180.Implementing for software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, by the slide type mobile terminal in the various types of mobile terminals describing such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that utilization operates via such as wired and wireless communication system and the satellite-based communication system of frame or packet transmission data.
Based on above-mentioned mobile terminal hardware configuration, it is proposed to each embodiment of the present invention.
Embodiment one
Referring to Fig. 2, the method that a kind of image that it illustrates the embodiment of the present invention provides preserves, the method can apply to the terminal with photographic head, and described method may include that
S201: terminal is by the original image in photographic head taking lens coverage.
S202: terminal collects current photographed scene parameter.
S203: terminal is by the corresponding relation between current photographed scene parameter query photographed scene parameter and preservation form, it is determined that for the preservation form that original image is corresponding.
S204: original image is preserved by terminal according to the preservation form that described original image is corresponding.
By the technical scheme shown in Fig. 2, it should be noted that, terminal can obtain current photographed scene parameter when shooting, and determine the preservation form of original image according to current photographed scene parameter such that it is able to determine the preservation form of original image according to the process demand of user.
Exemplarily, optionally implementing in process at one, terminal collects current photographed scene parameter, including: terminal check object of finding a view in shooting original image process;
Correspondingly, referring to Fig. 3, terminal is by the corresponding relation between current photographed scene parameter query photographed scene parameter and preservation form, it is determined that for the preservation form that original image is corresponding, specifically may include that
S2031A: the classification of object of finding a view is mated by terminal with the object type of finding a view preset.
S2032A: when the classification of object of finding a view meet default find a view object type time, it is determined that the preservation form that original image is corresponding is the first preservation form.
S2033A: when the classification of object of finding a view do not meet default find a view object type time, it is determined that the preservation form that original image is corresponding is the second preservation form;Wherein, first the editorial editorial higher than the second preservation form of form is preserved.
Specifically, in the present embodiment, the first preservation form can be DNG form;Second preservation form can be JEPG form.It is to be appreciated that saved as by image after DNG form, DNG format picture is easy to the later stage and is processed, but the memory space taken is bigger;After image saves as JEPG form, JEPG format picture is not easy to later stage process, but the memory space taken is less.
Originally implementing in process, referring to Fig. 4, terminal check object of finding a view in shooting original image process, it is possible to including:
S401: terminal, in shooting original image process, arbitrarily captures a picture frame from viewfinder image.
S402: terminal extracts the profile of picture frame.
S403: after the profile of picture frame is passed through binary conversion treatment by terminal, obtains the black and white profile of picture frame.
S404: terminal determines, according to the black and white profile of picture frame, object of finding a view.
Specifically, by the flow process shown in Fig. 4, when terminal is landscape according to the object of finding a view that the black and white profile of picture frame is determined in original image, terminal demonstration interface as shown in Figure 5 is example, owing to landscape is according to carrying out landscaping treatment without follow-up, therefore, it can the original image of landscape photograph is saved as JEPG form;When terminal determines the object of finding a view in original image for personage according to the black and white profile of picture frame, terminal demonstration interface as shown in Figure 6 is example, owing to personage follow-up carries out obscuring according to typically requiring, liquefy, renders and the landscaping treatment such as sharpening, therefore, it can the original image of personage's photograph is saved as DNG form.
Exemplarily, optionally implementing in process at another, terminal collects current photographed scene parameter, including: terminal gathers environmental information in shooting original image process;
Correspondingly, referring to Fig. 7, terminal is by the corresponding relation between current photographed scene parameter query photographed scene parameter and preservation form, it is determined that for the preservation form that original image is corresponding, specifically include:
S2031B: the environmental information collected is mated by terminal with the environmental information preset.
S2032B: when the environmental information collected meets default environmental information, it is determined that the preservation form that original image is corresponding is the first preservation form.
S2033B: when the environmental information collected does not meet default environmental information, it is determined that the preservation form that original image is corresponding is the second preservation form;Wherein, first the editorial editorial higher than the second preservation form of form is preserved.
With aforementioned to implement process identical, first to preserve form can be DNG form;Second preservation form can be JEPG form.
Originally implementing in process, terminal gathers environmental information in shooting original image process, specifically includes:
Terminal, in shooting original image process, obtains positional information by the positioner of self;
Or, terminal, in shooting original image process, obtains the motion state parameters of terminal by the acceleration transducer of self.
It should be noted that when environmental information is positional information, if positional information is travelling scenery point, original image is more likely landscape photograph, carries out landscaping treatment from without follow-up, therefore, when positional information is travelling scenery point, it is possible to the original image herein photographed is saved as JEPG form;
If positional information is near incity, city road or building, original image is more likely that personage is shone, it is necessary to follow-up landscaping treatment, therefore, when positional information is near incity, city road or building, it is possible to the original image herein photographed is saved as DNG form.
When environmental information is motion state parameters, if motion state parameters sign terminal is in high-speed motion state, now original image needs to carry out follow-up picture processing, so saving as DNG form;If motion state parameters sign terminal is in low speed or stationary motion state, now original image is made without follow-up picture processing, so saving as JEPG form.
Illustrating it is to be appreciated that the present embodiment employs find a view object and environmental information as the example of photographed scene parameter, those skilled in the art can arrange other photographed scene parameter according to actual needs, and the present embodiment does not repeat.
Present embodiments provide a kind of method that image preserves, terminal can obtain current photographed scene parameter when shooting, and the preservation form of original image is determined according to current photographed scene parameter such that it is able to the preservation form of original image is determined according to the process demand of user.
Embodiment two
Based on the technology design that previous embodiment is identical, referring to Fig. 8, it illustrates the method detailed process of a kind of image preservation that the embodiment of the present invention provides, it is possible to including:
S801: picture editor's custom of terminal record user.
It should be noted that historical photograph can be classified by terminal, and the frequency of counting user editor and process photo of all categories, thus knowing that user is accustomed to for the editor of photo.In the present embodiment, editor's custom of user can be set as: user often edits or processes portrait photographs;User least often edits and processes picture with scenes.
S802: terminal is by the original image in photographic head taking lens coverage.
S803: terminal, in shooting described original image process, arbitrarily captures a picture frame from viewfinder image.
S804: terminal extracts the profile of picture frame.
S805: after the profile of picture frame is passed through binary conversion treatment by terminal, obtains the black and white profile of picture frame.
S806: terminal determines, according to the black and white profile of picture frame, object of finding a view.
It is to be appreciated that the process of step S803 to S806 can be implementing of terminal check object of finding a view in shooting original image process, therefore, terminal just can determine the preservation form of original image according to editor's custom of find a view object and user;Specifically may include that
S807: when terminal is landscape according to the object of finding a view that the black and white profile of picture frame is determined in original image, described original image is saved as JEPG form.
S808: when terminal determines the object of finding a view in original image for personage according to the black and white profile of picture frame, described original image is saved as DNG form.
It is to be appreciated that owing to landscape is according to carrying out landscaping treatment without follow-up, therefore, it can the original image of landscape photograph is saved as JEPG form;Owing to personage follow-up carries out obscuring according to typically requiring, liquefy, renders and the landscaping treatment such as sharpening, therefore, it can the original image of personage's photograph is saved as DNG form.
Present embodiments provide the method detailed process that a kind of image preserves, terminal can obtain current photographed scene parameter when shooting, and the preservation form of original image is determined according to current photographed scene parameter such that it is able to the preservation form of original image is determined according to the process demand of user.
Embodiment three
Based on the technology design that previous embodiment is identical, referring to Fig. 9, it illustrates the structure of a kind of terminal 90 that the embodiment of the present invention provides, this terminal 90 may include that taking module 901, collection module 902, enquiry module 903 and preserves module 904;Wherein,
Described taking module 901, for by the original image in photographic head taking lens coverage;
Described collection module 902, for collecting current photographed scene parameter;
Described enquiry module 903, for by the corresponding relation between described current photographed scene parameter query photographed scene parameter and preservation form, it is determined that the preservation form that described original image is corresponding;
Described preservation module 904, for preserving described original image according to the preservation form that described original image is corresponding.
In such scheme, described collection module 902, for confirming the described taking module 901 object of finding a view in shooting described original image process;
Correspondingly, described enquiry module 903, for mating the classification of described object of finding a view with the object type of finding a view preset;And,
When the classification of described object of finding a view meet default find a view object type time, it is determined that the preservation form that described original image is corresponding is the first preservation form;And,
When the classification of described object of finding a view do not meet default find a view object type time, it is determined that the preservation form that described original image is corresponding is the second preservation form;Wherein, described first the editorial of form is preserved higher than the described second editorial preserving form.
In such scheme, described collection module 902, specifically for:
In shooting described original image process, from viewfinder image, arbitrarily capture a picture frame;
And, extract the profile of described picture frame;
And, by the profile of described picture frame by, after binary conversion treatment, obtaining the black and white profile of described picture frame;
And, according to the black and white profile of described picture frame determine described in find a view object.
In such scheme, described collection module 902, for shooting collection environmental information in described original image process at described taking module 901;
Correspondingly, described enquiry module 903, specifically for:
The described environmental information collected is mated with the environmental information preset;
And, when the described environmental information collected meets described default environmental information, it is determined that the preservation form that described original image is corresponding is the first preservation form;
And, when the described environmental information collected does not meet described default environmental information, it is determined that the preservation form that described original image is corresponding is the second preservation form;Wherein, described first the editorial of form is preserved higher than the described second editorial preserving form.
In such scheme, described collection module 902, for shooting in described original image process at described taking module 901, obtain positional information by positioner;
Or, shoot in described original image process at described taking module 901, obtained the motion state parameters of described terminal by acceleration transducer.
It should be noted that, in this article, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or device not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or device.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of this key element, method, article or device.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to above-described embodiment method and realize, hardware can certainly be passed through, but in a lot of situation, the former is embodiment more preferably.Based on such understanding, the part that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, server, air-conditioner, or the network equipment etc.) perform the method described by each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (10)

1. the method that an image preserves, it is characterised in that described method includes:
Terminal is by the original image in photographic head taking lens coverage;
Described terminal collects current photographed scene parameter;
Described terminal is by the corresponding relation between described current photographed scene parameter query photographed scene parameter and preservation form, it is determined that the preservation form that described original image is corresponding;
Described original image is preserved by described terminal according to the preservation form that described original image is corresponding.
2. method according to claim 1, it is characterised in that described terminal collects current photographed scene parameter, including: described terminal check object of finding a view in shooting described original image process;
Correspondingly, described terminal is by the corresponding relation between described current photographed scene parameter query photographed scene parameter and preservation form, it is determined that the preservation form that described original image is corresponding, specifically includes:
The classification of described object of finding a view is mated by described terminal with the object type of finding a view preset;
When the classification of described object of finding a view meet default find a view object type time, it is determined that the preservation form that described original image is corresponding is the first preservation form;
When the classification of described object of finding a view do not meet default find a view object type time, it is determined that the preservation form that described original image is corresponding is the second preservation form;Wherein, described first the editorial of form is preserved higher than the described second editorial preserving form.
3. method according to claim 2, it is characterised in that described terminal check object of finding a view in shooting described original image process, specifically includes:
Described terminal, in shooting described original image process, arbitrarily captures a picture frame from viewfinder image;
Described terminal extracts the profile of described picture frame;
Described terminal obtains the black and white profile of described picture frame after the profile of described picture frame is passed through binary conversion treatment;
Described terminal according to the black and white profile of described picture frame determine described in find a view object.
4. method according to claim 1, it is characterised in that described terminal collects current photographed scene parameter, including: described terminal gathers environmental information in shooting described original image process;
Correspondingly, described terminal is by the corresponding relation between described current photographed scene parameter query photographed scene parameter and preservation form, it is determined that the preservation form that described original image is corresponding, specifically includes:
The described environmental information collected is mated by described terminal with the environmental information preset;
When the described environmental information collected meets described default environmental information, it is determined that the preservation form that described original image is corresponding is the first preservation form;
When the described environmental information collected does not meet described default environmental information, it is determined that the preservation form that described original image is corresponding is the second preservation form;Wherein, described first the editorial of form is preserved higher than the described second editorial preserving form.
5. method according to claim 4, it is characterised in that described terminal gathers environmental information in shooting described original image process, specifically includes:
Described terminal, in shooting described original image process, obtains positional information by the positioner of self;
Or, described terminal, in shooting described original image process, obtains the motion state parameters of described terminal by the acceleration transducer of self.
6. a terminal, it is characterised in that described terminal includes taking module, collection module, enquiry module and preservation module;Wherein,
Described taking module, for by the original image in photographic head taking lens coverage;
Described collection module, for collecting current photographed scene parameter;
Described enquiry module, for by the corresponding relation between described current photographed scene parameter query photographed scene parameter and preservation form, it is determined that the preservation form that described original image is corresponding;
Described preservation module, for preserving described original image according to the preservation form that described original image is corresponding.
7. terminal according to claim 6, it is characterised in that described collection module, for confirming described taking module object of finding a view in shooting described original image process;
Correspondingly, described enquiry module, for mating the classification of described object of finding a view with the object type of finding a view preset;And,
When the classification of described object of finding a view meet default find a view object type time, it is determined that the preservation form that described original image is corresponding is the first preservation form;And,
When the classification of described object of finding a view do not meet default find a view object type time, it is determined that the preservation form that described original image is corresponding is the second preservation form;Wherein, described first the editorial of form is preserved higher than the described second editorial preserving form.
8. terminal according to claim 7, it is characterised in that described collection module, specifically for:
In shooting described original image process, from viewfinder image, arbitrarily capture a picture frame;
And, extract the profile of described picture frame;
And, by the profile of described picture frame by, after binary conversion treatment, obtaining the black and white profile of described picture frame;
And, according to the black and white profile of described picture frame determine described in find a view object.
9. terminal according to claim 6, it is characterised in that described collection module, gathers environmental information for shooting at described taking module in described original image process;
Correspondingly, described enquiry module, specifically for:
The described environmental information collected is mated with the environmental information preset;
And, when the described environmental information collected meets described default environmental information, it is determined that the preservation form that described original image is corresponding is the first preservation form;
And, when the described environmental information collected does not meet described default environmental information, it is determined that the preservation form that described original image is corresponding is the second preservation form;Wherein, described first the editorial of form is preserved higher than the described second editorial preserving form.
10. terminal according to claim 9, it is characterised in that described collection module, for shooting in described original image process at described taking module, obtains positional information by positioner;
Or, shoot in described original image process at described taking module, obtained the motion state parameters of described terminal by acceleration transducer.
CN201610269091.8A 2016-04-27 2016-04-27 Image saving method and terminal Active CN105812572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610269091.8A CN105812572B (en) 2016-04-27 2016-04-27 Image saving method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610269091.8A CN105812572B (en) 2016-04-27 2016-04-27 Image saving method and terminal

Publications (2)

Publication Number Publication Date
CN105812572A true CN105812572A (en) 2016-07-27
CN105812572B CN105812572B (en) 2020-01-07

Family

ID=56458663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610269091.8A Active CN105812572B (en) 2016-04-27 2016-04-27 Image saving method and terminal

Country Status (1)

Country Link
CN (1) CN105812572B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002281441A (en) * 2001-03-22 2002-09-27 Konica Corp Photographing device
CN103716547A (en) * 2014-01-15 2014-04-09 厦门美图之家科技有限公司 Smart mode photographing method
CN103916597A (en) * 2014-03-17 2014-07-09 厦门美图之家科技有限公司 Shooting method based on simulated scenario
CN103929582A (en) * 2013-01-14 2014-07-16 三星电子(中国)研发中心 Method for setting and sharing shoot parameters, portable terminal and server
CN104202529A (en) * 2014-09-18 2014-12-10 深圳市科松电子有限公司 Method and device for controlling states of cameras
CN104539846A (en) * 2014-12-26 2015-04-22 小米科技有限责任公司 Picture shooting method, device and terminal
CN105551070A (en) * 2015-12-09 2016-05-04 广州市久邦数码科技有限公司 Camera system capable of loading map elements in real time

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002281441A (en) * 2001-03-22 2002-09-27 Konica Corp Photographing device
CN103929582A (en) * 2013-01-14 2014-07-16 三星电子(中国)研发中心 Method for setting and sharing shoot parameters, portable terminal and server
CN103716547A (en) * 2014-01-15 2014-04-09 厦门美图之家科技有限公司 Smart mode photographing method
CN103916597A (en) * 2014-03-17 2014-07-09 厦门美图之家科技有限公司 Shooting method based on simulated scenario
CN104202529A (en) * 2014-09-18 2014-12-10 深圳市科松电子有限公司 Method and device for controlling states of cameras
CN104539846A (en) * 2014-12-26 2015-04-22 小米科技有限责任公司 Picture shooting method, device and terminal
CN105551070A (en) * 2015-12-09 2016-05-04 广州市久邦数码科技有限公司 Camera system capable of loading map elements in real time

Also Published As

Publication number Publication date
CN105812572B (en) 2020-01-07

Similar Documents

Publication Publication Date Title
CN106502693B (en) A kind of image display method and device
CN105430295B (en) Image processing apparatus and method
CN106530241B (en) Image blurring processing method and device
CN114119758B (en) Method for acquiring vehicle pose, electronic device and computer-readable storage medium
CN106331499B (en) Focusing method and photographing device
CN103037075A (en) Mobile terminal and method for generating an out-of-focus image
CN105335458B (en) Preview picture method and device
CN104683697A (en) Shooting parameter adjusting method and device
CN105827961A (en) Mobile terminal and focusing method
CN105100603A (en) Photographing triggering device embedded in intelligent terminal and method of triggering photographing device
CN105120164B (en) The processing means of continuous photo and method
CN107071263A (en) A kind of image processing method and terminal
CN105681894A (en) Device and method for displaying video file
CN106686212A (en) Automatic brightness adjusting method and terminal
CN106534552B (en) Mobile terminal and its photographic method
CN105163035A (en) Mobile terminal shooting system and mobile terminal shooting method
CN106534590A (en) Photo processing method and apparatus, and terminal
CN106506945A (en) A kind of control method and terminal
CN106021292B (en) A kind of device and method for searching picture
CN106303044B (en) A kind of mobile terminal and obtain the method to coke number
CN105357441B (en) A kind of image-pickup method and mobile terminal
CN106651773A (en) Picture processing method and device
CN105683959A (en) Information processing device, information processing method, and information processing system
CN106506963A (en) A kind of photographic method and terminal based on dual camera
CN106303291B (en) A kind of image processing method and terminal

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