Summary of the invention
The embodiment of the present invention provides a kind of image processing method and relevant device, can carry out independent setting to focusing and photometry point according to user's needs, improves shooting effect, and the user experiences.
First aspect present invention provides a kind of image processing method, comprising:
Obtain first on the first figure layer and touch input signal;
According to described the first touch input signal, determine focus data;
Obtain second on the second figure layer and touch input signal;
According to described the second touch input signal, determine photometric data;
When receiving the shooting control command, obtain image according to imaging parameters, described imaging parameters comprises described focus data and described photometric data.
Optionally, describedly touch input signal according to described first, determine focus data, comprising:
According to described the first touch input signal, determine the position of focusing area in display frame;
According to the position of described focusing area, calculate focal length to determine focusing.
Optionally, describedly touch input signal according to described second, determine photometric data, comprising:
According to described the second touch input signal, determine the position of photometry region in display frame;
According to the position of described photometry region, determine the benchmark light intensity of described display frame.
Optionally, described position according to described photometry region, determine to comprise the benchmark light intensity of described display frame:
According to the position of described photometry region, determine the benchmark light intensity that described photometry region central light strength is described display frame; Or,
According to the position of described photometry region, determine the benchmark light intensity that described photometry region is described display frame with respect to average intensity or the weighting light intensity of described display frame.
Optionally, describedly obtain image when receiving when taking control command according to imaging parameters, comprising:
When receiving the shooting control command, obtain image according to described focal length, described focusing, described benchmark light intensity, aperture, light-inletting quantity, colour temperature.
Optionally, described method also comprises: focusing area and photometry region are carried out initialization.
Second aspect present invention also provides a kind of image-data processing apparatus, comprising:
The first acquisition module is used for obtaining first on the first figure layer and touches input signal;
The first determination module is used for determining focus data according to described the first touch input signal;
The second acquisition module is used for obtaining second on the second figure layer and touches input signal;
The second determination module is used for determining photometric data according to described the second touch input signal;
Image-forming module is used for obtaining image according to imaging parameters when receiving the shooting control command, and described imaging parameters comprises described focus data and described photometric data.
Optionally, described the first determination module, concrete being used for determined the position of focusing area in display frame according to described the first touch input signal; According to the position of described focusing area, calculate focal length to determine focusing.
Optionally, described the second determination module is used for determining the position of photometry region in display frame according to described the second touch input signal; According to the position of described photometry region, determine the benchmark light intensity of described display frame.
Optionally, described the second determination module, concrete being used for determined the position of photometry region in display frame according to described the second touch input signal; According to the position of described photometry region, determine the benchmark light intensity that described photometry region central light strength is described display frame; Perhaps, according to the position of described photometry region, determine the benchmark light intensity that described photometry region is described display frame with respect to average intensity or the weighting light intensity of described display frame.
Optionally, described image-forming module, concrete being used for obtained image according to described focal length, described focusing, described benchmark light intensity, aperture, light-inletting quantity, colour temperature when receiving the shooting control command.
Optionally, described equipment also comprises: initialization module is used for focusing area and photometry region are carried out initialization.
As can be seen from the above technical solutions, a kind of image processing method and relevant device that the embodiment of the present invention provides, can determine focus data and photometric data at different figure layers, so that the user can be as required, realize that at different figure layers the independent of focusing and photometry point arranges, improve shooting effect, promoted user satisfaction.
Embodiment
The embodiment of the present invention provides a kind of image processing method and relevant device, can carry out independent setting to focusing and photometry point according to user's needs, improves shooting effect, and the user experiences.
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, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtain under the creative work prerequisite.
Below be elaborated respectively.
Please refer to Fig. 1, the schematic flow sheet of a kind of image processing method that Fig. 1 provides for the embodiment of the present invention, wherein, described method comprises:
S101, obtain first on the first figure layer and touch input signal;
S102, touch input signal according to described first, determine focus data;
Be understandable that, described the first figure layer can be thought focusing figure layer, and described first touches input signal can think that the user adjusts or determine the touch operation of focusing area;
S103, obtain second on the second figure layer and touch input signal;
S104, touch input signal according to described second, determine photometric data;
Be understandable that, described the second figure layer can be thought photometry figure layer, and described second touches input signal can think that the user adjusts or determine the touch operation of photometry region;
S105, when receiving when taking control command, obtain image according to imaging parameters, described imaging parameters comprises described focus data and described photometric data.
Be understandable that, in some execution mode of the present invention, focus data and photometric data can be thought view data, described imaging parameters can comprise the view data that obtains in step S101 to S104, and described imaging parameters can also comprise the light of preview composition time domain and the feature of subject etc.;
In addition, in some embodiments, can first execution in step S101 and S102, then execution in step S103 and S104, in some embodiments, also can first execution in step S103 and S104, then execution in step S101 and S102, namely can first determine focus data, determine again photometric data, can first determine photometric data yet, then determine focus data, the present invention does not do concrete restriction to its execution in step.
From the above, a kind of image processing method that the embodiment of the present invention provides, can determine focus data and photometric data at different figure layers, so that the user can be as required, realize that at different figure layers the independent of focusing and photometry point arranges, improve shooting effect, promoted user satisfaction.
Please refer to Fig. 2, another schematic flow sheet of the image processing method that Fig. 2 provides for the embodiment of the present invention in this embodiment, for convenience of understanding and description scheme, is set described method and is applied in camera, and wherein, described method comprises:
S201, obtain first on the first figure layer and touch input signal;
S202, touch input signal according to described first, determine the position of focusing area in display frame;
S203, according to the position of described focusing area, calculate focal length to determine focusing;
Be understandable that, in this execution mode of the present invention, the position of focusing area in described display frame, described focal length and described focusing can be thought focus data;
S204, obtain second on the second figure layer and touch input signal;
S205, touch input signal according to described second, determine the position of photometry region in display frame;
S206, according to the position of described photometry region, determine the benchmark light intensity of described display frame;
Be understandable that, in this execution mode of the present invention, in described display frame, the position of photometry region and described benchmark light intensity can be thought photometric data;
In addition, in some embodiments, can first execution in step S201, S202 and S203, then execution in step S204, S205 and S206, in some embodiments, also can first execution in step 204, S205 and S206, then execution in step S201, S202 and S203 namely can first determine focus data, determine again photometric data, can first determine photometric data yet, then determine focus data, the present invention does not do concrete restriction to its execution in step.
Preferably, described method can also comprise: focusing area and photometry region are carried out initialization, namely work as the user and enter shoot function, and according to the camera parameter that the camera system platform provides, the size of initialization preview screen; What easily expect is, the camera operation system platform carries the touch-screen hypervisor, carry out touch screen case distribution and processing, set in advance photometry indication and focusing are indicated with different diagrammatic representations, and divide and account for different figure layers, focusing is the center that the center of focusing area can be defaulted as whole display frame, and the photometry point is that the center of photometry region can be defaulted as is focusing;
When the user uses, camera is according to the touch input signal that obtains on difference figure layer, determine the position of the focusing area in current display frame and the position of photometry region, namely the user can as required, adopt the form that touches automatically to adjust the position of focusing area and the position of photometry region;
Wherein, determining of focusing is position according to current definite focusing area, the calculating focal length is determined, the center of described focusing acquiescence focusing area, thereafter, this focusing Real-time Feedback to system platform, be that is to say the position of the focusing area that can adjust according to the user, control in real time camera and change focal length; Namely benchmark light intensity is put in photometry, and further, the definite of benchmark light intensity can carry out specific implementation based on following mode: according to the position of described photometry region, determine the benchmark light intensity that described photometry region central light strength is described display frame; Perhaps, position according to described photometry region, determine the benchmark light intensity that described photometry region is described display frame with respect to average intensity or the weighting light intensity of described display frame, after the benchmark light intensity is determined, it is fed back to system platform in real time, that is to say the position of the photometry region that can adjust according to the user, the light intensity of real time altering camera preview screen.
S207, when receiving when taking control command, obtain image according to described focal length, described focusing, described benchmark light intensity, aperture, light-inletting quantity, colour temperature;
Wherein, described focal length, described focusing, described benchmark light intensity, aperture, light-inletting quantity, colour temperature can be thought imaging parameters, and the parameter when described imaging parameters can also comprise the preview composition and the feature of subject etc. are not done concrete restriction herein.
The user completes the selection of photometry region and the selection of focusing area, after namely determining photometry point and focusing, presses the button of taking pictures, and can control camera and take pictures according to described imaging parameters, obtains the photo that the user needs.
from the above, a kind of image processing method that the embodiment of the present invention provides, can determine focus data and photometric data at different figure layers, so that the user can be as required, realize that at different figure layers the independent of focusing and photometry point arranges, that is to say the focusing in display frame in the time of to allow the user set preview freely, be free to simultaneously select the photometry benchmark of whole preview screen, to eliminate the bright especially or dim part in whole photo, promote photographic quality, perhaps select specific contrast benchmark luminous point in preview screen by the user, complete the making of special-effect photo.Thereby the availability and the user that promote the smart mobile phone camera experience.
For ease of better implementing the technical scheme of the embodiment of the present invention, the embodiment of the present invention also is provided for implementing the relevant apparatus of above-mentioned image processing method.Wherein identical in the implication of noun and above-mentioned image processing method method, the explanation of specific implementation details in can reference method embodiment.
Please refer to Fig. 3, the structural representation of a kind of image-data processing apparatus that Fig. 3 provides for the embodiment of the present invention, wherein, described image-data processing apparatus comprises:
Thefirst acquisition module 301 is used for obtaining first on the first figure layer and touches input signal;
Thefirst determination module 302 is used for determining focus data according to described the first touch input signal;
Thesecond acquisition module 303 is used for obtaining second on the second figure layer and touches input signal;
Thesecond determination module 304 is used for determining photometric data according to described the second touch input signal;
Image-formingmodule 305 is used for obtaining image according to imaging parameters when receiving the shooting control command, and described imaging parameters comprises described focus data and described photometric data.
Wherein, described image-data processing apparatus can be the electronic equipments such as camera or smart mobile phone;
Be understandable that, described the first figure layer can be thought focusing figure layer, and described first touches input signal can think that the user adjusts or determine the touch operation of focusing area; Described the second figure layer can be thought photometry figure layer, and described second touches input signal can think that the user adjusts or determine the touch operation of photometry region;
In addition, in some embodiments, can be thefirst acquisition module 301 and the first first execution action ofdetermination module 302, thesecond acquisition module 303 and the second rear execution action ofdetermination module 304, in some embodiments, can be also thesecond acquisition module 303 and the second first execution action ofdetermination module 304, thefirst acquisition module 301 and the first rear execution action ofdetermination module 302, namely can first determine focus data, determine again photometric data, can first determine photometric data yet, then determine focus data, the present invention does not do concrete restriction to its execution in step.
From the above, a kind of image-data processing apparatus that the embodiment of the present invention provides, can determine focus data and photometric data at different figure layers, so that the user can be as required, realize that at different figure layers the independent of focusing and photometry point arranges, improve shooting effect, promoted user satisfaction.
Optionally, described thefirst determination module 302 can specifically be used for determining the position of focusing area in display frame according to described the first touch input signal; According to the position of described focusing area, calculate focal length to determine focusing.
Optionally, described thesecond determination module 303 can be used for determining the position of photometry region in display frame according to described the second touch input signal; According to the position of described photometry region, determine the benchmark light intensity of described display frame.
Be understandable that, in this execution mode of the present invention, the position of focusing area in described display frame, described focal length and described focusing can be thought focus data, in described display frame, the position of photometry region and described benchmark light intensity can be thought photometric data;
Preferably, described equipment can also comprise: initialization module is used for focusing area and photometry region are carried out initialization.What easily expect is, the image-data processing apparatus operating system platform carries the touch-screen hypervisor, carry out touch screen case distribution and processing, set in advance photometry indication and focusing are indicated with different diagrammatic representations, and divide and account for different figure layers, focusing is the center that the center of focusing area can be defaulted as whole display frame, and the photometry point is that the center of photometry region can be defaulted as is focusing;
The image-data processing apparatus that the embodiment of the present invention provides can be according to the touch input signal that obtains on difference figure layer, determine the position of the focusing area in current display frame and the position of photometry region, namely the user can be as required, adopt the form that touches automatically to adjust the position of focusing area and the position of photometry region, and focusing and the reference light hard real time that calculates fed back to system platform, change focal length with real-time control image-data processing apparatus, change the light intensity of image-data processing apparatus preview screen.
Further, described thesecond determination module 303 can specifically be used for determining the position of photometry region in display frame according to described the second touch input signal; According to the position of described photometry region, determine the benchmark light intensity that described photometry region central light strength is described display frame; Perhaps, according to the position of described photometry region, determine the benchmark light intensity that described photometry region is described display frame with respect to average intensity or the weighting light intensity of described display frame.
Optionally, described image-formingmodule 305 can specifically be used for obtaining image according to described focal length, described focusing, described benchmark light intensity, aperture, light-inletting quantity, colour temperature when receiving the shooting control command.
Wherein, described focal length, described focusing, described benchmark light intensity, aperture, light-inletting quantity, colour temperature can be thought imaging parameters, and the parameter when described imaging parameters can also comprise the preview composition and the feature of subject etc. are not done concrete restriction herein.
from the above, a kind of image-data processing apparatus that the embodiment of the present invention provides, can determine focus data and photometric data at different figure layers, so that the user can be as required, realize that at different figure layers the independent of focusing and photometry point arranges, that is to say the focusing in display frame in the time of to allow the user set preview freely, be free to simultaneously select the photometry benchmark of whole preview screen, to eliminate the bright especially or dim part in whole photo, promote photographic quality, perhaps select specific contrast benchmark luminous point in preview screen by the user, complete the making of special-effect photo.Thereby the availability and the user that promote the smart mobile phone camera experience.
The those skilled in the art can be well understood to, and is the convenience described and succinct, and the equipment of foregoing description and the specific works process of the unit module in equipment can with reference to the corresponding process in preceding method embodiment, not repeat them here.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be completed by the hardware that program command is correlated with, aforesaid program can be stored in a computer read/write memory medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), the various media that can be program code stored such as random access memory (RAM, Random Access Memory), magnetic disc or CD.
Above a kind of image processing method provided by the present invention and relevant device are described in detail, for one of ordinary skill in the art, thought according to the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.