CN108650442A - Image processing method and device, storage medium, electronic equipment - Google Patents

Image processing method and device, storage medium, electronic equipment Download PDF

Info

Publication number
CN108650442A
CN108650442A CN201810465516.1A CN201810465516A CN108650442A CN 108650442 A CN108650442 A CN 108650442A CN 201810465516 A CN201810465516 A CN 201810465516A CN 108650442 A CN108650442 A CN 108650442A
Authority
CN
China
Prior art keywords
image
close shot
brightness
distant view
parameter
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
CN201810465516.1A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810465516.1A priority Critical patent/CN108650442A/en
Publication of CN108650442A publication Critical patent/CN108650442A/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/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • 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/67Focus control based on electronic image sensor signals
    • 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
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Image Processing (AREA)

Abstract

This application involves a kind of image processing methods and device, electronic equipment, computer readable storage medium, distant view image and close shot image are acquired to Same Scene respectively by two cameras, then to determining the first image parameter adjustment factor to the first image parameter of close shot image according to the first image parameter of distant view image, and the first image parameter of close shot image is adjusted according to the first image parameter adjustment factor.After to the adjustment of the first image parameter of close shot image so that the first image parameter of distant view image and close shot image is more close, then close shot image will be synthesized with distant view image after overregulating, the image that obtains that treated.Carry out in this way image synthesize obtained image can more natural reality.

Description

Image processing method and device, storage medium, electronic equipment
Technical field
This application involves field of computer technology, more particularly to a kind of image processing method and device, storage medium, electricity Sub- equipment.
Background technology
In recent years, with the continuous development of mobile terminal the relevant technologies, many mobile terminals are all configured with dual camera, with Improve the quality of taking pictures of user.
Dual camera in mobile terminal generally comprises a wide-angle camera and a focal length camera, wherein wide-angle Camera is a kind of photographing device of wide viewing angle, can accommodate more scenery apart from interior limited;Focal length camera is one The photographing device of kind long-focus, is typically used for shooting the scenery of same distance of mobile terminal farther out.It is existing to be provided in movement eventually Dual camera in end will shoot obtained two pictures and synthesize a bat commonly used in being shot simultaneously to scenery Take the photograph the preferable picture of effect.But the effect of image synthesis is unable to meet the increasing quality of taking pictures of people always and want It asks.
Invention content
A kind of image processing method of the embodiment of the present application offer and device, storage medium, electronic equipment, can improve image The accuracy of processing.
A kind of image processing method, which is characterized in that including:
Close shot image is acquired by the first camera, and acquires the distant view image of Same Scene by second camera;
The first figure is determined to the first image parameter of the close shot image according to the first image parameter of the distant view image As parameter regulation coefficient, and the first image parameter of close shot image is adjusted according to described first image parameter regulation coefficient Section;
Close shot image after overregulating is synthesized with the distant view image, the image that obtains that treated.
A kind of image processing apparatus, which is characterized in that described device includes:
Image capture module for acquiring close shot image by the first camera, and is acquired by second camera same The distant view image of scene;
Image adjustment module, for the first figure according to the first image parameter of the distant view image to the close shot image As parameter determines the first image parameter adjustment factor, and according to described first image parameter regulation coefficient to the first of close shot image Image parameter is adjusted;
Image synthesis unit is obtained for synthesizing the close shot image after overregulating with the distant view image Treated image.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of image processing method as described above is realized when row.
A kind of electronic equipment, including memory, processor and storage are on a memory and the meter that can run on a processor The step of calculation machine program, processor executes image processing method as described above when executing computer program.
Above-mentioned image processing method and device, storage medium, electronic equipment acquire close shot image by the first camera, And the distant view image of Same Scene is acquired by second camera.According to the first image parameter of distant view image to close shot image First image parameter determines the first image parameter adjustment factor, and according to the first image parameter adjustment factor to the of close shot image One image parameter is adjusted.It close shot image will be synthesized with distant view image after overregulating, the image that obtains that treated. Distant view image and close shot image are acquired to Same Scene respectively by two cameras, then to the first figure according to distant view image As parameter determines the first image parameter adjustment factor to the first image parameter of close shot image, and adjusted according to the first image parameter The first image parameter of close shot image is adjusted in coefficient.After the first image parameter adjustment to close shot image, make The first image parameter for obtaining distant view image and close shot image is more close, subsequently carries out image in this way and synthesizes obtained image meeting More natural reality.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the internal structure chart of electronic equipment in one embodiment;
Fig. 2 is the flow chart of image processing method in one embodiment;
Fig. 3 is the flow chart for the method that the brightness of image is adjusted in one embodiment;
Fig. 4 is the flow chart of image combining method in Fig. 2;
Fig. 5 is the flow chart for carrying out image synthetic method in Fig. 4 according to the result of Feature Points Matching;
Fig. 6 is the structural schematic diagram of image processing apparatus in one embodiment;
Fig. 7 is the structural schematic diagram of image adjustment module in Fig. 6;
Fig. 8 is the structural schematic diagram of image synthesis unit in Fig. 6;
Fig. 9 is the block diagram of the part-structure of the relevant mobile phone of electronic equipment provided in one embodiment.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
Fig. 1 is the internal structure schematic diagram of electronic equipment in one embodiment.As shown in Figure 1, the electronic equipment includes logical Cross processor, memory and the network interface of system bus connection.Wherein, which is used to provide calculating and control ability, Support the operation of entire electronic equipment.Memory for storing data, program etc., at least one computer journey is stored on memory Sequence, the computer program can be executed by processor, to realize the image suitable for electronic equipment provided in the embodiment of the present application Processing method.Memory may include that magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc. are non-volatile Storage medium or random access memory (Random-Access-Memory, RAM) etc..For example, in one embodiment, depositing Reservoir includes non-volatile memory medium and built-in storage.Non-volatile memory medium is stored with operating system and computer journey Sequence.The computer program can be performed by processor, for a kind of realization image procossing that each embodiment is provided below Method.Built-in storage provides the running environment of cache for the operating system computer program in non-volatile memory medium. Network interface can be Ethernet card or wireless network card etc., for being communicated with external electronic equipment.The electronic equipment can To be mobile phone, tablet computer or personal digital assistant or Wearable etc..
In one embodiment, as shown in Fig. 2, providing a kind of image processing method, it is applied in Fig. 1 in this way It is illustrated for electronic equipment, including:
Step 220, close shot image is acquired by the first camera, and acquires the distant view of Same Scene by second camera Image.
Electronic equipment involved in the embodiment of the present application is configured with the electronic equipment of dual camera, and mainstream is double at present Camera scheme includes mainly following three kinds:The first, which is that black and white+colour is double, takes the photograph scheme.In two cameras, black and white camera lens is negative Duty captures details profile, and colored camera lens is then full-time to fill color.Black and white is double to take the photograph combination compared to single camera at parsing power, night Details taken pictures etc. is even better.It is for second the major-minor dual camera technology of different pixels, wherein high pixel main lens It is responsible for imaging, secondary mirror head is then full-time to measure the data such as depth of field, it can be achieved that the functions such as focus afterwards of first taking pictures.The third is wide-angle+length Zoom lens scheme uses wide-angle lens when clapping close shot, telephoto lens is used when clapping distant view, to realize optical zoom function.
Close shot image is acquired by the first camera, and acquires the distant view image of Same Scene by second camera.Closely Scape image is the image that the clear distant view of close shot obscures, and distant view image is then the image that the clear close shot of distant view obscures.
Step 240, the first figure is determined to the first image parameter of close shot image according to the first image parameter of distant view image As parameter regulation coefficient, and the first image parameter of close shot image is adjusted according to the first image parameter adjustment factor.
After obtaining close shot image and distant view image respectively, the first image parameter of distant view image is further obtained, Wherein image parameter may include resolution ratio, brightness, tone etc..The first image parameter for obtaining close shot image, according to prospect map First image parameter of picture determines the first image parameter adjustment factor to the first image parameter of close shot image, according to the first image The first image parameter of close shot image is adjusted in parameter regulation coefficient, generates the close shot image after adjusting.After adjusting The first image parameter of close shot image and the first image parameter of distant view image be closer to so that two figures are in subsequent image Will not seeming during synthesis, difference is too big, it appears lofty.
Step 260, the close shot image after overregulating is synthesized with distant view image, the image that obtains that treated.
Image synthesis is also referred to as image co-registration, is by a mathematical model that the multiple image from different sensors is comprehensive The process that a width meets the image of application-specific demand is synthesized, so as to which effectively the advantages of different images, is combined, Improve the ability to image information analysis and extraction.The main purpose of image co-registration is the place by redundant data between multiple image It manages to improve the reliability of image, the clarity of image is improved by the processing of the complementary information between multiple image.According to melting The residing stage difference of processing is closed, image co-registration can be typically divided between Pixel-level, feature level and decision level.The level of fusion is not Together, used algorithm, applicable range also differ.Close shot image after overregulating is closed with distant view image At the image that obtains that treated.
In the embodiment of the present application, distant view image and close shot image are acquired to Same Scene respectively by two cameras, so Afterwards to determining that the first image parameter adjusts system to the first image parameter of close shot image according to the first image parameter of distant view image Number, and the first image parameter of close shot image is adjusted according to the first image parameter adjustment factor.By to close shot image The first image parameter adjustment after so that the first image parameter of distant view image and close shot image is more close, follow-up in this way Carry out image synthesize obtained image can more natural reality.
In one embodiment, the first image parameter includes brightness,
The first image parameter tune is determined to the first image parameter of close shot image according to the first image parameter of distant view image Save coefficient, the first image parameter adjustment factor be adjusted for the first image parameter to close shot image, including:
Brightness regulation coefficient is determined to the brightness of close shot image according to the brightness of distant view image, and according to brightness regulation coefficient The brightness of close shot image is adjusted.
Specifically, if the luminance difference of the close shot image and distant view image that are acquired is larger, and other image parameters are poor It is not smaller, then it selects brightness as reference from image parameter, the brightness of close shot image and distant view image is handled.It is selecting It selects after the first image parameter includes brightness, then after obtaining close shot image and distant view image respectively, further obtains The brightness of distant view image, the brightness for obtaining close shot image.Brightness is determined to the brightness of close shot image according to the brightness of distant view image Adjustment factor, brightness regulation coefficient are generally obtained by the ratio calculation according to the brightness of distant view image to the brightness of close shot image, After the brightness of close shot image is adjusted according to the brightness regulation coefficient in this way so that the brightness of close shot image and prospect map The brightness of picture relatively, this avoid the difference in brightness of the brightness of close shot image and distant view image is too big, then can drop significantly The image effect quality of the low image subsequently synthesized.
In the embodiment of the present application, image parameter may include resolution ratio, brightness, tone etc., be selected from image parameter bright Degree as reference, is handled the brightness of close shot image and distant view image.Certainly it can also select in other examples Other image parameters as reference, if such as the tone of close shot image and distant view image that is acquired differ greatly, and other Image parameter difference it is smaller, then from image parameter select tone as reference, to the tone of close shot image and distant view image It is handled.In the above-described embodiments, when handling the brightness of image, brightness regulation coefficient is first calculated, the brightness tune Coefficient is saved for the ratio calculation gained according to the brightness of distant view image to the brightness of close shot image, according to the brightness regulation coefficient pair After the brightness of close shot image is adjusted so that the brightness of close shot image and the brightness of distant view image relatively, are kept away in this way The difference in brightness of the brightness and distant view image of having exempted from close shot image is too big, then can substantially reduce the image effect of the image subsequently synthesized Fruit quality.
In one embodiment, as shown in figure 3, determining brightness tune to the brightness of close shot image according to the brightness of distant view image Coefficient is saved, and the brightness of close shot image is adjusted according to brightness regulation coefficient, including:
Step 320, the brightness of close shot image and the brightness of distant view image are obtained.
Specifically, the average brightness of the average brightness and distant view image of close shot image can be got.
Step 340, judge whether the difference of the brightness of close shot image and the brightness of distant view image is more than predetermined threshold value.
After getting the average brightness of average brightness and distant view image of close shot image, compare being averaged for close shot image The size of the average brightness of brightness and distant view image.Judge whether the difference of the brightness of close shot image and the brightness of distant view image is big In predetermined threshold value.Predetermined threshold value is an empirical value, and during repeatedly being synthesized to image, what is summed up works as close shot figure The difference of the average brightness of picture and the average brightness of distant view image is more than the image for the image being then synthesized after some threshold value Quality cannot reach effect so that image synthesizes obtained image and cannot permeate entirety.
Step 360, if so, determining brightness regulation coefficient to the brightness of close shot image according to the brightness of distant view image, and Light efficiency processing is carried out to close shot image according to brightness regulation coefficient.
If judging result is more than predetermined threshold value for the difference of the brightness of close shot image and the brightness of distant view image, then just needing Determine brightness regulation coefficient.Specifically, brightness regulation coefficient is determined to the brightness of close shot image according to the brightness of distant view image, I.e. the brightness regulation coefficient is root obtained by the ratio calculation according to the average brightness of distant view image to the average brightness of close shot image The brightness of close shot image is adjusted according to the brightness regulation coefficient.Such as close shot image all pixels point brightness value is multiplied by this Brightness regulation coefficient so that brightness of the brightness of the close shot image after adjusting close to distant view image.Certainly, if the brightness regulation Coefficient is obtained by the ratio calculation according to the average brightness of close shot image to the average brightness of distant view image, according to the brightness regulation The brightness of distant view image is adjusted in coefficient.This avoid the difference in brightness of the brightness of close shot image and distant view image too Greatly, then the image effect quality of the image subsequently synthesized can be substantially reduced.
Light efficiency processing is carried out to close shot image according to brightness regulation coefficient, specifically, obtaining the center in pending image Pixel, obtaining light efficiency according to central pixel point enhances model, and it is using central pixel point as light source analogy light that light efficiency, which enhances model, The model of line power variation.Enhance the light efficiency enhancing coefficient that model calculates each pixel in pending image according to light efficiency.Root Enhance coefficient according to light efficiency and light efficiency enhancing processing is carried out to each pixel in pending image.
Light efficiency enhancing processing refers to the processing for enhancing the brightness of image.It, can after calculating light efficiency enhancing coefficient Light efficiency enhancing processing is carried out to each pixel in pending image to enhance coefficient according to light efficiency.Light efficiency can specifically be passed through Enhancing coefficient is overlapped to pending image or the mode of product carries out light efficiency enhancing processing.It is understood that in image Pixel value value range be generally [0,255], therefore by light efficiency enhancing processing after pending image pixel Value cannot be more than 255.
In the embodiment of the present application, judge whether the difference of the brightness of close shot image and the brightness of distant view image is more than default threshold Value.If more than predetermined threshold value, then illustrate that the difference of the brightness of close shot image and the brightness of distant view image is excessive, it will influence follow-up The quality of the image of synthesis.Therefore, brightness regulation coefficient is calculated, is adjusted to connect by the brightness of two images according to brightness regulation coefficient Closely, subsequently carry out in this way image synthesize obtained image can more natural reality.
In one embodiment, as shown in figure 4, step 260, close shot image will carry out after overregulating with distant view image Synthesis, the image that obtains that treated, including:
Step 262, the close shot image and distant view image after overregulating are obtained.
Step 264, the close shot image after overregulating is subjected to Feature Points Matching with distant view image.
Above-mentioned to close shot image or after the brightness of distant view image is adjusted, the close shot figure after adjusting is obtained Picture and distant view image.Feature Points Matching is carried out with distant view image to the close shot image after overregulating.Specifically, general to use The image matching algorithm of feature based carries out Feature Points Matching to close shot image and distant view image.The images match of feature based is calculated Method does not directly rely on grey scale pixel value usually, but can again be carried out after more complicated image processing process extracts feature Match.Characteristic matching refers to by extracting the feature of two or more images (features such as point, line, surface) respectively, joining to feature Number description, then carries out a kind of matched algorithm with described parameter.
Step 266, the close shot image after overregulating is closed with distant view image according to the result of Feature Points Matching At.
Obtain to close shot image and distant view image carry out after Feature Points Matching as a result, according to the result of Feature Points Matching Close shot image after overregulating is synthesized with distant view image.So that the image after synthesis combines together, it is natural and It is humorous.
In the embodiment of the present application, to close shot image and distant view image by way of Feature Points Matching, image synthesis is carried out. Characteristic matching refers to carrying out parameter by extracting the feature of two or more images (features such as point, line, surface) respectively to feature and retouching It states, a kind of matched algorithm is then carried out with described parameter.Pass through Feature Points Matching in this way and then carries out image Synthesis, the amalgamation of the image so then synthesized is more preferable, more natural reality.
It in one embodiment, will be after overregulating according to the result of Feature Points Matching as shown in figure 5, step 266 Close shot image is synthesized with distant view image, including:
Step 266a obtains the first part in the close shot image after adjusting.
Step 266b obtains the second part in distant view image.
Under normal circumstances, the clarity of the foreground part in acquired close shot image is relatively high, and acquired distant view The clarity of foreground part in image is generally relatively low.And when needing to be synthesized close shot image and distant view image, then The advantages of two images can be extracted, closes the non-foreground part in the foreground part and distant view image in close shot image At the obtained image will have both the feature that foreground part is clear and background partial visual field is larger.Close shot figure after adjusting First part as in refers generally to the foreground part in close shot image, and the second part in distant view image refers generally in distant view image Non- foreground part.It is of course also possible to be configured according to the demand of user and accordingly.
First part is carried out splicing with second part according to the result of Feature Points Matching and synthesized, obtained everywhere by step 266c Image after reason.
After non-foreground part in the foreground part and distant view image in obtaining close shot image, by this two parts into Row splicing synthesis, the image after being synthesized.
In the embodiment of the present application, when needing to be synthesized close shot image and distant view image, then two width figures can be extracted The advantages of picture, synthesizes the non-foreground part in the foreground part and distant view image in close shot image, the obtained figure As the feature that foreground part is clear and background partial visual field is larger will be had both.
In one embodiment, the first camera is wide-angle camera, and second camera is focal length camera.
In the embodiment of the present application, dual camera uses wide-angle camera+focal length camera, is used by left and right camera Different angle of visibilities makes two cameras find a view difference.Wide-angle camera is used when clapping close shot, is taken the photograph using focal length when clapping distant view As head, to realize optical zoom function.Therefore, close shot image is acquired by the first camera, and is adopted by second camera Collect the distant view image of Same Scene.So under normal circumstances, then the first camera is wide-angle camera, and second camera is focal length Camera.
In a specific embodiment, a kind of image processing method is provided, the electronics being applied in this way in Fig. 1 It is illustrated for equipment, including:
Step 1 acquires close shot image by wide-angle camera, and acquires the distant view of Same Scene by focal length camera Image;
Step 2 obtains the average brightness of close shot image and the average brightness of distant view image;
Step 3, judges whether the difference of the average brightness of close shot image and the average brightness of distant view image is more than default threshold Value;
Step 4, if so, determining brightness regulation coefficient, and root to the brightness of close shot image according to the brightness of distant view image Light efficiency processing is carried out to close shot image according to brightness regulation coefficient;
Step 5 obtains close shot image and distant view image after overregulating;
Close shot image after overregulating is carried out Feature Points Matching, according to characteristic point by step 6 with distant view image The result matched synthesizes the close shot image after overregulating with distant view image, the image after being synthesized.
In the embodiment of the present application, wide-angle camera is used when clapping close shot, and focal length camera is used when clapping distant view.Then it obtains Take the brightness of close shot image and the brightness of distant view image.Judge the brightness of close shot image and the brightness of distant view image difference whether More than predetermined threshold value.If so, brightness regulation coefficient is determined to the brightness of close shot image according to the brightness of distant view image, and according to Brightness regulation coefficient carries out light efficiency processing to close shot image.Close shot image after overregulating is subjected to feature with distant view image Point matching.The close shot image after overregulating is synthesized with distant view image according to the result of Feature Points Matching, is closed At image later.So that the image after synthesis combines together, natural harmony.
In one embodiment, as shown in fig. 6, providing a kind of image processing apparatus 600, device includes:Image Acquisition Module 602, image adjustment module 604 and image synthesis unit 606.Wherein,
Image capture module 602 for acquiring close shot image by the first camera, and is acquired together by second camera The distant view image of one scene;
Image adjustment module 604, for being joined to the first image of close shot image according to the first image parameter of distant view image Number determines the first image parameter adjustment factor, and according to the first image parameter adjustment factor to the first image parameter of close shot image It is adjusted;
Image synthesis unit 606 obtains everywhere for synthesizing the close shot image after overregulating with distant view image Image after reason.
In one embodiment, image adjustment module 604 is additionally operable to the brightness according to distant view image to the bright of close shot image Degree determines brightness regulation coefficient, and the brightness of close shot image is adjusted according to brightness regulation coefficient.
In one embodiment, as shown in fig. 7, image adjustment module 604 includes:
Brightness of image acquisition module 604a, the brightness of brightness and distant view image for obtaining close shot image;
Judgment module 604b, whether the difference of the brightness of brightness and distant view image for judging close shot image, which is more than, is preset Threshold value;
Light efficiency processing module 604c, for if so, being determined to the brightness of close shot image according to the brightness of distant view image bright Adjustment factor is spent, and light efficiency processing is carried out to close shot image according to brightness regulation coefficient.
In one embodiment, as shown in figure 8, image synthesis unit 606, including:
Image collection module 606a after adjusting, for obtaining close shot image and distant view image after overregulating;
Feature Points Matching module 606b, for close shot image and distant view image progress characteristic point that will be after overregulating Match;
Synthesis module 606c, for according to the result of Feature Points Matching by the close shot image and prospect map after overregulating As being synthesized.
In one embodiment, synthesis module 606c is additionally operable to obtain the first part in the close shot image after adjusting; Obtain the second part in distant view image;First part and second part are subjected to splicing conjunction according to the result of Feature Points Matching At the image that obtains that treated.
The division of modules is only used for for example, in other embodiments, can will scheme in above-mentioned image processing apparatus As processing unit is divided into different modules as required, to complete all or part of function of above-mentioned image processing apparatus.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated The step of image processing method that the various embodiments described above are provided is realized when machine program is executed by processor.
In one embodiment, a kind of electronic equipment is provided, including memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor realizes the figure that the various embodiments described above are provided when processor executes computer program As the step of processing method.
The embodiment of the present application also provides a kind of computer program products, when run on a computer so that calculate Machine executes the step of image processing method that the various embodiments described above are provided.、
The embodiment of the present application also provides a kind of electronic equipment.As shown in figure 9, for convenience of description, illustrating only and this Apply for that the relevant part of embodiment, particular technique details are not disclosed, please refers to the embodiment of the present application method part.The electronics is set Include mobile phone, tablet computer, PDA (Personal DigitalAssistant, personal digital assistant), POS for that can be The arbitrary terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using electronic equipment as mobile phone For:
Fig. 9 is the block diagram with the part-structure of the relevant mobile phone of electronic equipment provided by the embodiments of the present application.With reference to figure 9, Mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, input unit 930, display unit 940, passes memory 920 Sensor 950, voicefrequency circuit 990, Wireless Fidelity (wireless fidelity, WiFi) module 970, processor 980, Yi Ji electricity The components such as source 990.It, can be with it will be understood by those skilled in the art that handset structure shown in Fig. 9 does not constitute the restriction to mobile phone Including than illustrating more or fewer components, either combining certain components or different components arrangement.
Wherein, RF circuits 910 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station After downlink information receives, handled to processor 980;The data of uplink can also be sent to base station.In general, RF circuits include but Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 910 can also be communicated with network and other equipment by radio communication.Above-mentioned channel radio Letter can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email, Short message service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation Software program and module, to execute various function application and the data processing of mobile phone.Memory 920 can include mainly Program storage area and data storage area, wherein program storage area can storage program area, the application journey needed at least one function Sequence (such as the application program of sound-playing function, application program of image player function etc.) etc.;Data storage area can store root Created data (such as audio data, address list etc.) etc. are used according to mobile phone.In addition, memory 920 may include high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other volatile solid-state parts.
Input unit 930 can be used for receiving the number or character information of input, and generate the user setting with mobile phone 900 And the related key signals input of function control.Specifically, input unit 930 may include touch panel 931 and other inputs Equipment 932.Touch panel 931, alternatively referred to as touch screen collect user on it or neighbouring touch operation (such as user Use the operation of any suitable object or attachment such as finger, stylus on touch panel 931 or near touch panel 931), And corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 931 may include touching inspection Survey two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation The signal brought, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will It is converted into contact coordinate, then gives processor 980, and can receive order that processor 980 is sent and be executed.In addition, The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave may be used and realize touch panel 931.In addition to touch surface Plate 931, input unit 930 can also include other input equipments 932.Specifically, other input equipments 932 may include but not It is limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.) etc..
Display unit 940 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display panel 941.In one embodiment, liquid crystal display (Liquid may be used Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 941.In one embodiment, touch panel 931 can cover display panel 941, when touch panel 931 is examined It measures and sends processor 980 on it or after neighbouring touch operation to determine the type of touch event, be followed by subsequent processing device 980 provide corresponding visual output according to the type of touch event on display panel 941.Although in fig.9, touch panel 931 be to realize input and the input function of mobile phone as two independent components with display panel 941, but in certain implementations In example, can be integrated by touch panel 931 and display panel 941 and that realizes mobile phone output and input function.
Mobile phone 900 may also include at least one sensor 950, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 941, and proximity sensor can close display panel when mobile phone is moved in one's ear 941 and/or backlight.Motion sensor may include acceleration transducer, can detect by acceleration transducer and adds in all directions The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity Other sensors such as meter, thermometer, infrared sensor etc..
Voicefrequency circuit 990, loud speaker 991 and microphone 992 can provide the audio interface between user and mobile phone.Audio-frequency electric The transformed electric signal of the audio data received can be transferred to loud speaker 991 by road 990, and sound is converted to by loud speaker 991 Signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 992, is turned after being received by voicefrequency circuit 990 It is changed to audio data, then by after the processing of audio data output processor 980, another mobile phone can be sent to through RF circuits 910, or Person exports audio data to memory 920 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 970 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 9 is shown WiFi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone 900, it can omit as needed.
Processor 980 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment, it handles Device 980 may include one or more processing units.In one embodiment, processor 980 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc.;Modulation /demodulation is handled Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone 900 further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 980 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.
In one embodiment, mobile phone 900 can also include camera, bluetooth module etc..
Used in this application may include to any reference of memory, storage, database or other media is non-volatile And/or volatile memory.Suitable nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access Memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously Cannot the limitation to the application the scope of the claims therefore be interpreted as.It should be pointed out that for those of ordinary skill in the art For, under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the guarantor of the application Protect range.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (10)

1. a kind of image processing method, which is characterized in that including:
Close shot image is acquired by the first camera, and acquires the distant view image of Same Scene by second camera;
The first image, which is joined, to be determined to the first image parameter of the close shot image according to the first image parameter of the distant view image Number adjustment factor, and the first image parameter of close shot image is adjusted according to described first image parameter regulation coefficient;
Close shot image after overregulating is synthesized with the distant view image, the image that obtains that treated.
2. according to the method described in claim 1, it is characterized in that, described first image parameter includes brightness,
The parameter according to the distant view image determines the first image parameter to the first image parameter of the close shot image Adjustment factor, described first image parameter regulation coefficient be adjusted for the first image parameter to close shot image, including:
Brightness regulation coefficient is determined to the brightness of the close shot image according to the brightness of the distant view image, and according to the brightness The brightness of close shot image is adjusted in adjustment factor.
3. according to the method described in claim 2, it is characterized in that, the brightness according to the distant view image is to the close shot The brightness of image determines brightness regulation coefficient, and the brightness of close shot image is adjusted according to the brightness regulation coefficient, packet It includes:
Obtain the brightness of the close shot image and the brightness of the distant view image;
Judge whether the difference of the brightness of the close shot image and the brightness of the distant view image is more than predetermined threshold value;
If so, brightness regulation coefficient is determined to the brightness of the close shot image according to the brightness of the distant view image, and according to The brightness regulation coefficient carries out light efficiency processing to close shot image.
4. according to the method described in claim 1, it is characterized in that, it is described will after overregulating close shot image and the distant view Image is synthesized, the image that obtains that treated, including:
Obtain the close shot image after overregulating and the distant view image;
The close shot image after overregulating and the distant view image are subjected to Feature Points Matching;
The close shot image after overregulating is synthesized with the distant view image according to the result of Feature Points Matching.
5. according to the method described in claim 1, it is characterized in that, the result according to Feature Points Matching by described through toning Close shot image after section is synthesized with the distant view image, including:
Obtain the first part in the close shot image after the adjusting;
Obtain the second part in the distant view image;
The first part is carried out splicing with the second part according to the result of Feature Points Matching to synthesize, obtains that treated Image.
6. according to the method described in claim 5, it is characterized in that, the first part in close shot image after the adjusting is Foreground part in the distant view image.
7. according to the method described in claim 1, it is characterized in that, first camera be wide-angle camera, described second Camera is focal length camera.
8. a kind of image processing apparatus, which is characterized in that described device includes:
Image capture module for acquiring close shot image by the first camera, and acquires Same Scene by second camera Distant view image;
Image adjustment module, for being joined to the first image of the close shot image according to the first image parameter of the distant view image Number determines the first image parameter adjustment factor, and according to described first image parameter regulation coefficient to the first image of close shot image Parameter is adjusted;
Image synthesis unit is handled for synthesizing the close shot image after overregulating with the distant view image Image afterwards.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of image processing method as described in any one of claim 1 to 7 is realized when processor executes.
10. a kind of electronic equipment, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, which is characterized in that the processor is realized when executing the computer program described in any one of claim 1 to 7 Image processing method the step of.
CN201810465516.1A 2018-05-16 2018-05-16 Image processing method and device, storage medium, electronic equipment Pending CN108650442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810465516.1A CN108650442A (en) 2018-05-16 2018-05-16 Image processing method and device, storage medium, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810465516.1A CN108650442A (en) 2018-05-16 2018-05-16 Image processing method and device, storage medium, electronic equipment

Publications (1)

Publication Number Publication Date
CN108650442A true CN108650442A (en) 2018-10-12

Family

ID=63755836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810465516.1A Pending CN108650442A (en) 2018-05-16 2018-05-16 Image processing method and device, storage medium, electronic equipment

Country Status (1)

Country Link
CN (1) CN108650442A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072058A (en) * 2019-05-28 2019-07-30 珠海格力电器股份有限公司 Image capturing device, method and terminal
CN111836017A (en) * 2020-07-15 2020-10-27 广东欧谱曼迪科技有限公司 Ultra-long depth-of-field ultra-wide dynamic endoscopic camera system and method
CN111986263A (en) * 2020-06-28 2020-11-24 百度在线网络技术(北京)有限公司 Image processing method, image processing device, electronic equipment and storage medium
WO2022017111A1 (en) * 2020-07-21 2022-01-27 腾讯科技(深圳)有限公司 Image processing method and apparatus, electronic device and computer-readable storage medium
WO2022166765A1 (en) * 2021-02-05 2022-08-11 深圳传音控股股份有限公司 Image processing method, mobile terminal and storage medium
CN117253179A (en) * 2023-11-20 2023-12-19 合肥中科类脑智能技术有限公司 Distribution line bird nest detection method, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103826065A (en) * 2013-12-12 2014-05-28 小米科技有限责任公司 Image processing method and apparatus
CN106454121A (en) * 2016-11-11 2017-02-22 努比亚技术有限公司 Double-camera shooting method and device
CN106534689A (en) * 2016-11-22 2017-03-22 珠海格力电器股份有限公司 Multiple cameras-based image synthesis method and apparatus
CN106851122A (en) * 2017-02-27 2017-06-13 上海兴芯微电子科技有限公司 The scaling method and device of the auto exposure parameter based on dual camera system
US20180070018A1 (en) * 2016-09-07 2018-03-08 Multimedia Image Solution Limited Method of utilizing wide-angle image capturing element and long-focus image capturing element for achieving clear and precise optical zooming mechanism

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103826065A (en) * 2013-12-12 2014-05-28 小米科技有限责任公司 Image processing method and apparatus
US20180070018A1 (en) * 2016-09-07 2018-03-08 Multimedia Image Solution Limited Method of utilizing wide-angle image capturing element and long-focus image capturing element for achieving clear and precise optical zooming mechanism
CN106454121A (en) * 2016-11-11 2017-02-22 努比亚技术有限公司 Double-camera shooting method and device
CN106534689A (en) * 2016-11-22 2017-03-22 珠海格力电器股份有限公司 Multiple cameras-based image synthesis method and apparatus
CN106851122A (en) * 2017-02-27 2017-06-13 上海兴芯微电子科技有限公司 The scaling method and device of the auto exposure parameter based on dual camera system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072058A (en) * 2019-05-28 2019-07-30 珠海格力电器股份有限公司 Image capturing device, method and terminal
CN111986263A (en) * 2020-06-28 2020-11-24 百度在线网络技术(北京)有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN111986263B (en) * 2020-06-28 2023-09-12 百度在线网络技术(北京)有限公司 Image processing method, device, electronic equipment and storage medium
CN111836017A (en) * 2020-07-15 2020-10-27 广东欧谱曼迪科技有限公司 Ultra-long depth-of-field ultra-wide dynamic endoscopic camera system and method
WO2022017111A1 (en) * 2020-07-21 2022-01-27 腾讯科技(深圳)有限公司 Image processing method and apparatus, electronic device and computer-readable storage medium
WO2022166765A1 (en) * 2021-02-05 2022-08-11 深圳传音控股股份有限公司 Image processing method, mobile terminal and storage medium
CN117253179A (en) * 2023-11-20 2023-12-19 合肥中科类脑智能技术有限公司 Distribution line bird nest detection method, storage medium and electronic equipment
CN117253179B (en) * 2023-11-20 2024-02-02 合肥中科类脑智能技术有限公司 Distribution line bird nest detection method, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN108650442A (en) Image processing method and device, storage medium, electronic equipment
CN107635101B (en) Shooting method, shooting device, storage medium and electronic equipment
CN106791472B (en) A kind of exposure method and terminal
CN114092364B (en) Image processing method and related device
CN113973173B (en) Image synthesis method and electronic equipment
CN106878588A (en) A kind of video background blurs terminal and method
CN107566742B (en) Shooting method, shooting device, storage medium and electronic equipment
CN107623818B (en) Image exposure method and mobile terminal
CN107968917B (en) Image processing method and device, computer equipment, computer readable storage medium
KR20150039019A (en) Mobile terminal and control method thereof
CN107729889A (en) Image processing method and device, electronic equipment, computer-readable recording medium
CN107995422A (en) Image capturing method and device, computer equipment, computer-readable recording medium
CN109002787A (en) Image processing method and device, storage medium, electronic equipment
CN105407295B (en) Mobile terminal filming apparatus and method
KR20160127606A (en) Mobile terminal and the control method thereof
CN106713744A (en) Method and apparatus for realizing light painting photography, and shooting device
CN106851119B (en) Picture generation method and equipment and mobile terminal
CN109086761A (en) Image processing method and device, storage medium, electronic equipment
CN106851113A (en) A kind of photographic method and mobile terminal based on dual camera
CN107124556A (en) Focusing method, device, computer-readable recording medium and mobile terminal
KR20130010590A (en) Electronic device and the operating method thereof
CN107147823A (en) Exposure method, device, computer-readable recording medium and mobile terminal
CN104751488A (en) Photographing method for moving track of moving object and terminal equipment
CN110363702B (en) Image processing method and related product
CN109561255B (en) Terminal photographing method and device and storage medium

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: 20181012