WO2017114088A1 - 一种自动白平衡方法及装置、终端、存储介质 - Google Patents

一种自动白平衡方法及装置、终端、存储介质 Download PDF

Info

Publication number
WO2017114088A1
WO2017114088A1 PCT/CN2016/108098 CN2016108098W WO2017114088A1 WO 2017114088 A1 WO2017114088 A1 WO 2017114088A1 CN 2016108098 W CN2016108098 W CN 2016108098W WO 2017114088 A1 WO2017114088 A1 WO 2017114088A1
Authority
WO
WIPO (PCT)
Prior art keywords
weight
statistical information
color temperature
camera
current
Prior art date
Application number
PCT/CN2016/108098
Other languages
English (en)
French (fr)
Inventor
蒋涛
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2017114088A1 publication Critical patent/WO2017114088A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control

Definitions

  • the present invention relates to the field of image processing technologies, and in particular, to an automatic white balance method and device, a terminal, and a storage medium.
  • the black body is heated from absolute zero.
  • the temperature rise is called 1 Kelvin (indicated by the letter K).
  • K Kelvin
  • the black body radiates visible light, its spectral composition and its contribution. It also feels that the temperature rises and the corresponding changes occur.
  • the temperature at which the black body radiates a certain color of light is set as the color temperature at which the light source of the same color light is emitted. It is worth noting that the spectral distribution of the actual light source is different, and the color temperature only represents the degree of weight of the energy, and does not reflect the spectral distribution, so even a light source of the same color temperature may cause different color reactions.
  • the human eye and the brain have certain physiological and psychological adaptability to the color temperature, so the color seen is less affected by the color temperature shift, and the camera (camera camera) sensor (sersor) does not have this ability, so it is shot. If the photo is not subjected to white balance, the color seen by the human eye will be greatly deviated.
  • White balance which refers to the color reproduction of an image of an object originally white in the process of image processing, removing the influence of the color temperature of the external light source, so that it also displays white on the photo.
  • the current AWB (Automatic White Balance) algorithm is various, usually in the current frame through the gray world method and the white world method, the gray decision point and the white decision point are counted, and then according to the decision point of the previous frame.
  • the decision point for calculating the current frame determines the Rgain (red gain) and Bgain (blue gain) of the current frame.
  • Rgain red gain
  • Bgain blue gain
  • the existing AWB algorithm has many drawbacks: 1) due to the limitation of the lens. When the lens enters the big face When a yellow object, a light blue object, or a light green object is accumulated, the current AWB algorithm causes the object to be photographed to be white; 2) the human eye is in an environment where both light sources exist simultaneously, such as A light and D65 light, human eye The object seen when moving from the A light area to the D65 light area is blue overall, and the whole object seen when moving from the D65 light area to the A light area is yellowish.
  • the current AWB algorithm is calculated only based on statistics. White balance does not meet the direct feeling of the human eye.
  • the main purpose of the embodiments of the present invention is to provide an automatic white balance method and device, a terminal, and a storage medium, which are intended to solve the problem that the existing white balance algorithm does not conform to the human eye and the user experience is poor.
  • Obtaining a reference point from the photo determining a color temperature of the environment in which the camera is located according to the reference point, the color temperature including a historical color temperature and a current color temperature;
  • the photo is white balanced using the color temperature of the environment in which the current camera is located.
  • the acquiring motion state information of the camera includes:
  • the camera's moving distance and moving time are obtained by a gyroscope and an accelerometer.
  • the determining, according to the motion state information, a color temperature of an environment in which the current camera is located includes:
  • the weight of the historical statistical information is related to the moving distance, the smaller the moving distance is, the greater the weight of the historical statistical information is, the larger the moving distance is, and the smaller the weight of the historical statistical information is;
  • the weight of the current statistical information is related to the moving distance, and the smaller the moving distance is, the smaller the weight of the current statistical information is, the larger the moving distance is, and the greater the weight of the current statistical information is;
  • the color temperature of the environment in which the current camera is located is selected according to the weight of the historical statistical information and the weight of the current statistical information.
  • the weight of the historical statistical information is also related to the moving time. The shorter the moving time, the greater the weight of the historical statistical information, and the longer the moving time, the smaller the weight of the historical statistical information.
  • the obtaining a reference point from the photo is: using a white world method and a gray world method to find a white point from the photo as a reference point.
  • an embodiment of the present invention further provides an automatic white balance device, including:
  • a color temperature acquisition module configured to obtain a reference point from the photo, and determine a color temperature of the environment in which the camera is located according to the reference point, where the color temperature includes a historical color temperature and a current color temperature;
  • a motion state acquisition module configured to acquire motion state information of the camera
  • a determining module configured to determine, according to the motion state information, a color temperature of an environment in which the current camera is located
  • the white balance module is configured to white balance the photo with the color temperature of the environment in which the current camera is located.
  • the motion state acquisition module is configured to acquire a moving distance and a moving time of the camera by a gyroscope and an accelerometer.
  • the determining module includes:
  • the historical weight calculation unit is configured to calculate a weight of the historical statistical information, wherein the weight of the historical statistical information is related to the moving distance, and the smaller the moving distance is, the greater the weight of the historical statistical information is, the larger the moving distance is, and the historical statistical information is The smaller the weight;
  • the current weight calculation unit is configured to calculate a weight of the current statistical information, where the weight of the current statistical information is related to the moving distance, and the smaller the moving distance is, the smaller the weight of the current statistical information is, the larger the moving distance is, and the current statistical information is The greater the weight;
  • a selecting unit configured to calculate a weight according to the historical statistical information and the current statistical information The weight selects the color temperature of the environment in which the camera is currently located.
  • the weight of the historical statistical information is also related to the moving time. The shorter the moving time, the greater the weight of the historical statistical information, and the longer the moving time, the smaller the weight of the historical statistical information.
  • the color temperature acquisition module is configured to find a white point from a photo as a reference point using a white world method and a gray world method.
  • the present invention also provides a mobile terminal comprising the above described apparatus.
  • an embodiment of the present invention provides a mobile terminal, including a camera and a processor, where the processor is configured to:
  • Obtaining a reference point from the photo determining a color temperature of the environment in which the camera is located according to the reference point, the color temperature including a historical color temperature and a current color temperature;
  • the photo is white balanced using the color temperature of the environment in which the current camera is located.
  • a computer storage medium is stored in the computer storage medium, where the computer executable instructions are configured to perform the following steps:
  • Obtaining a reference point from the photo determining a color temperature of the environment in which the camera is located according to the reference point, the color temperature including a historical color temperature and a current color temperature;
  • the photo is white balanced using the color temperature of the environment in which the current camera is located.
  • the invention provides an automatic white balance method and device, a terminal and a storage medium, wherein: a reference point is obtained from a photo, and a color temperature of an environment in which the camera is located is determined according to a reference point, the color temperature package Include the historical color temperature and the current color temperature; obtain the motion state information of the camera; determine the color temperature of the environment in which the current camera is located according to the motion state information; perform white balance on the photo using the color temperature of the environment in which the current camera is located, and pass the motion state of the camera The information determines the color temperature of the environment in which the camera is located, so that the photograph taken has a more realistic color, which is in line with the human eye and improves the user experience.
  • FIG. 1 is a schematic structural diagram of hardware of an optional mobile terminal embodying various embodiments of the present invention
  • FIG. 2 is a block diagram showing the electrical structure of a camera embodying various embodiments of the present invention.
  • Embodiment 3 is a flowchart of an automatic white balance method according to Embodiment 1 of the present invention.
  • Figure 4 is a reference point acquisition interface diagram of the first embodiment of the present invention.
  • Figure 5 is a diagram showing the motion state information acquisition interface of the first embodiment of the present invention.
  • FIG. 6 is a flowchart of an automatic white balance method according to Embodiment 2 of the present invention.
  • Figure 7 is a block diagram showing an exemplary structure of an automatic white balance apparatus according to a third embodiment of the present invention.
  • Fig. 8 is a block diagram showing an exemplary structure of an automatic white balance apparatus according to a fourth embodiment of the present invention.
  • the mobile terminal can be implemented in various forms.
  • the terminal described in the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal Mobile terminals of digital assistants), PADs (tablets), PMPs (portable multimedia players), navigation devices, and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
  • PDA personal Mobile terminals of digital assistants
  • PADs tablets
  • PMPs portable multimedia players
  • navigation devices and the like
  • fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
  • FIG. 1 is a schematic structural diagram of hardware of an optional mobile terminal embodying various embodiments of the present invention.
  • the mobile terminal 100 may include a wireless communication unit 110, an A/V (Audio/Video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. and many more.
  • Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
  • Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication system or network.
  • the wireless communication unit can include at least one of the mobile communication module 112, the wireless internet module 113, and the short-range communication module 114.
  • the mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server.
  • a base station e.g., an access point, a Node B, etc.
  • Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
  • the wireless internet module 113 supports wireless internet access of the mobile terminal.
  • the module can be internally or externally coupled to the terminal.
  • the wireless Internet access technologies involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
  • the short range communication module 114 is a module for supporting short range communication.
  • Some examples of short-range communication technologies include BluetoothTM, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), ZigbeeTM, and the like.
  • the A/V input unit 120 is for receiving an audio or video signal.
  • the A/V input unit 120 may include a camera 121 and a microphone 1220 that processes image data of still pictures or video obtained by the image capturing device in a video capturing mode or an image capturing mode.
  • the processed image frame can be displayed on the display unit 151.
  • the image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 1210 may be provided according to the configuration of the mobile terminal.
  • the microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data.
  • the processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode.
  • the microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
  • the user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal.
  • the user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc.
  • a touch screen can be formed.
  • the sensing unit 140 detects the current state of the mobile terminal 100 (eg, the open or closed state of the mobile terminal 100), the location of the mobile terminal 100, the presence or absence of contact (ie, touch input) by the user with the mobile terminal 100, and the mobile terminal.
  • the sensing unit 140 can sense whether the slide type phone is turned on or off.
  • the sensing unit 140 can detect whether the power supply unit 190 provides power or whether the interface unit 170 is coupled to an external device.
  • the interface unit 170 serves as a connection between the at least one external device and the mobile terminal 100 interface.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the identification module may be stored to verify various information used by the user using the mobile terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identity Module (USIM), and the like.
  • the device having the identification module may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 100 via a port or other connection device.
  • the interface unit 170 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal and external device Transfer data between.
  • the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal.
  • Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base.
  • Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner.
  • the output unit 150 may include a display unit 151, an audio output module 152, and the like.
  • the display unit 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 can display a user interface (UI) or a graphical user interface (GUI) related to a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
  • UI user interface
  • GUI graphical user interface
  • the display unit 151 can function as an input device and an output device.
  • the display unit 151 may include liquid crystal At least one of a display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like.
  • LCD liquid crystal At least one of a display
  • TFT-LCD thin film transistor LCD
  • OLED organic light emitting diode
  • a flexible display a three-dimensional (3D) display, and the like.
  • 3D three-dimensional
  • Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
  • TOLED Transparent Organic Light Emitting Diode
  • the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) .
  • the touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
  • the audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like.
  • the audio signal is output as sound.
  • the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100.
  • the audio output module 152 can include a speaker, a buzzer, and the like.
  • the memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
  • the memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
  • the controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs and Control and processing related to voice calls, data communications, video calls, and the like. Additionally, the controller 180 can include a multimedia module 1810 for reproducing (or playing back) multimedia data, which can be constructed within the controller 180 or can be configured to be separate from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
  • the power supply unit 190 receives external power or internal power under the control of the controller 180 and provides appropriate power required to operate the various components and components.
  • the various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
  • the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein, in some cases, such an embodiment may be at the controller 180 Implemented in the middle.
  • implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation.
  • the software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160 and executed by
  • the mobile terminal has been described in terms of its function.
  • a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
  • Figure 2 is a block diagram of the electrical structure of the camera.
  • the photographic lens 1211 is composed of a plurality of optical lenses for forming a subject image, and is a single focus lens or a zoom lens.
  • the photographic lens 1211 is movable in the optical axis direction under the control of the lens driver 1221, and the lens driver 1221 is based on a control signal from the lens driving control circuit 1222,
  • the focus position of the photographing lens 1211 is controlled, and in the case of the zoom lens, the focus distance can also be controlled.
  • the lens drive control circuit 1222 performs drive control of the lens driver 1221 in accordance with a control command from the microcomputer 1217.
  • An imaging element 1212 is disposed on the optical axis of the photographic lens 1211 near the position of the subject image formed by the photographic lens 1211.
  • the imaging element 1212 is for capturing an image of a subject and acquiring captured image data.
  • Photodiodes constituting each pixel are arranged two-dimensionally and in a matrix on the imaging element 1212. Each photodiode generates a photoelectric conversion current corresponding to the amount of received light, and the photoelectric conversion current is charged by a capacitor connected to each photodiode.
  • the front surface of each pixel is provided with a Bayer array of RGB color filters.
  • the imaging element 1212 is connected to the imaging circuit 1213.
  • the imaging circuit 1213 performs charge accumulation control and image signal readout control in the imaging element 1212, and performs waveform shaping after reducing the reset noise of the read image signal (analog image signal). Further, gain improvement or the like is performed to obtain an appropriate signal level.
  • the imaging circuit 1213 is connected to an A/D converter 1214 that performs analog-to-digital conversion on the analog image signal and outputs a digital image signal (hereinafter referred to as image data) to the bus 1227.
  • the bus 1227 is a transmission path for transmitting various data read or generated inside the camera.
  • the A/D converter 1214 is connected to the bus 1227, and an image processor 1215, a JPEG processor 1216, a microcomputer 1217, a SDRAM (Synchronous Dynamic Random Access Memory) 1218, and a memory interface are also connected. (hereinafter referred to as memory I/F) 1219, LCD (Liquid Crystal Display) driver 1220.
  • memory I/F memory I/F
  • LCD Liquid Crystal Display
  • the image processor 1215 performs various kinds of images such as OB subtraction processing, white balance adjustment, color matrix calculation, gamma conversion, color difference signal processing, noise removal processing, simultaneous processing, edge processing, and the like on the image data based on the output of the imaging element 1212. deal with.
  • the JPEG processor 1216 compresses the image data read out from the SDRAM 1218 in accordance with the JPEG compression method when the image data is recorded on the recording medium 1225. Further, the JPEG processor 1216 performs for image reproduction display Decompression of JPEG image data.
  • the file recorded on the recording medium 1225 is read, and after the compression processing is performed in the JPEG processor 1216, the decompressed image data is temporarily stored in the SDRAM 1218 and displayed on the LCD 1226.
  • the JPEG method is adopted as the image compression/decompression method.
  • the compression/decompression method is not limited thereto, and other compression/decompression methods such as MPEG, TIFF, and H.264 may be used.
  • the microcomputer 1217 functions as a control unit of the entire camera, and collectively controls various processing sequences of the camera.
  • the microcomputer 1217 is connected to the operation unit 1223 and the flash memory 1224.
  • the operating unit 1223 includes, but is not limited to, a physical button or a virtual button, and the entity or virtual button may be a power button, a camera button, an edit button, a dynamic image button, a reproduction button, a menu button, a cross button, an OK button, a delete button, an enlarge button
  • the operation controls such as various input buttons and various input keys detect the operational state of these operation controls.
  • the detection result is output to the microcomputer 1217. Further, a touch panel is provided on the front surface of the LCD 1226 as a display, and the touch position of the user is detected, and the touch position is output to the microcomputer 1217.
  • the microcomputer 1217 executes various processing sequences corresponding to the user's operation in accordance with the detection result from the operation position of the operation unit 1223.
  • the flash memory 1224 stores programs for executing various processing sequences of the microcomputer 1217.
  • the microcomputer 1217 performs overall control of the camera in accordance with the program. Further, the flash memory 1224 stores various adjustment values of the camera, and the microcomputer 1217 reads out the adjustment value, and performs control of the camera in accordance with the adjustment value.
  • the SDRAM 1218 is an electrically rewritable volatile memory for temporarily storing image data or the like.
  • the SDRAM 1218 temporarily stores image data output from the A/D converter 1214 and image data processed in the image processor 1215, the JPEG processor 1216, and the like.
  • the memory interface 1219 is connected to the recording medium 1225, and performs control for writing image data and a file header attached to the image data to the recording medium 1225 and reading out from the recording medium 1225.
  • the recording medium 1225 is, for example, a recording such as a memory card that can be detachably attached to the camera body.
  • the medium is not limited thereto, and may be a hard disk or the like built in the camera body.
  • the LCD driver 1210 is connected to the LCD 1226, and stores image data processed by the image processor 1215 in the SDRAM 1218.
  • the image data stored in the SDRAM 1218 is read and displayed on the LCD 1226, or the image data stored in the JPEG processor 1216 is compressed.
  • the JPEG processor 1216 reads the compressed image data of the SDRAM 1218, decompresses it, and displays the decompressed image data through the LCD 1226.
  • the LCD 1226 is configured to display an image on the back of the camera body.
  • the LCD 1226 LCD is not limited thereto, and various display panels (LCD 1226) such as an organic EL may be used.
  • various display panels such as an organic EL may be used.
  • the present invention is not limited thereto, and various display panels such as an organic EL may be used.
  • this embodiment provides an automatic white balance method, where the method includes the following steps:
  • S40 Perform white balance on the photo by using the color temperature of the environment in which the current camera is located.
  • the camera is all mobile terminals having a photographing function, such as a professional camera for photographing only or a mobile phone with photographing function, because white balance refers to the original in the process of image processing.
  • the image of the object whose color is white is color-reduced, and the effect of the color temperature of the external light source is removed, so that the white color is also displayed on the photo. Therefore, as shown in FIG. 4, the area which may be a white point is first taken from the photo as a reference point.
  • the judgment of the color temperature is a relatively mature technology, and will not be described again;
  • the auxiliary module such as the instrument and the accelerometer determines whether the camera is moving slowly, quickly moving or just turning on the camera.
  • the present invention distinguishes these three situations by collecting motion state information of the camera.
  • the acquiring the motion state information of the camera includes: acquiring a moving distance and a moving time of the camera by using a gyroscope and an accelerometer, and determining that the camera is by the ratio of the moving distance and the moving time. Slowly moving or moving fast, and the collection of moving distance and moving time is more intuitive, and it is also directly available from gyroscopes and accelerometers.
  • the weight of the historical statistical information is determined by the moving distance output by the gyroscope and the moving time of the accelerometer output. The smaller the moving distance, the greater the weight of the historical statistical information, the larger the moving distance, and the historical statistical information.
  • the relationship between the weight of the historical statistical information and the moving distance and the moving time is in accordance with a Gaussian function or a Weibull distribution; the weight of the current statistical information and the moving distance are The relationship between the two is consistent with a Gaussian function or a Weibull distribution. It should be understood that the relationship between the weight of the historical statistical information, the weight of the current statistical information, and the moving distance and the moving time may also be other relationships that conform to the inverse correlation feature, and those skilled in the art are All equivalent alternatives and obvious variations of the above-described embodiments obtained by reasonably predicting the same performance or use are within the scope of the invention. protected range.
  • the camera slowly changes from the A color temperature to the D color temperature, and the distance travels is small, and the moving distance calculated by the gyroscope is small.
  • the final color temperature is judged to be close to the A color temperature; the camera moves a large distance from the A color temperature to When the D color temperature is used, the moving distance of the calculated output of the gyroscope is large, and based on the above weight determination, the final color temperature is judged to be close to the D color temperature.
  • the color temperature of the environment in which the camera is located is determined by the motion state information of the camera, so that the photograph taken has a more realistic color, conforms to the human eye, and improves the user experience.
  • the background is a light blue cloth.
  • the light blue cloth will be white as a white point, and the yellow person will have a yellowish or reddish face.
  • a true pale blue background cloth and a real human skin color will be taken, which is in line with the human eye.
  • the S30 includes:
  • the weight of the current statistical information is related to the moving distance. The smaller the moving distance is, the smaller the weight of the current statistical information is. The larger the moving distance is, the larger the weight of the current statistical information is.
  • the weight of the historical statistical information is also related to the moving time. The shorter the moving time, the greater the weight of the historical statistical information, and the longer the moving time, the smaller the weight of the historical statistical information.
  • the relationship between the weight of the historical statistical information and the moving distance and the moving time is in accordance with a Gaussian function or a Weibull distribution; the weight of the current statistical information and the moving distance are The relationship between the two is consistent with a Gaussian function or a Weibull distribution. It should be understood that the relationship between the weight of the historical statistical information, the weight of the current statistical information, and the moving distance and the moving time may also be other relationships that conform to the inverse correlation feature, and those skilled in the art are All equivalent alternatives and obvious variations of the above-described embodiments, which are obtained by reasonable prediction, are all within the scope of the invention.
  • an automatic white balance device includes:
  • the color temperature acquisition module 10 is configured to obtain a reference point from the photo, and determine a color temperature of the environment in which the camera is located according to the reference point, where the color temperature includes a historical color temperature and a current color temperature;
  • the motion state acquiring module 20 is configured to acquire motion state information of the camera
  • the determining module 30 is configured to determine, according to the motion state information, a color temperature of an environment in which the current camera is located;
  • the white balance module 40 is configured to white balance the photo with the color temperature of the environment in which the current camera is located.
  • the color temperature of the environment in which the camera is located is determined by the motion state information of the camera, so that the photograph taken has a more realistic color, conforms to the human eye, and improves the user experience.
  • the motion state acquiring module is configured to acquire a moving distance and a moving time of the camera by using a gyroscope and an accelerometer.
  • the color temperature acquisition module is configured to adopt a white world method and a gray world.
  • the boundary method finds the white point from the photo as a reference point.
  • the determining module 30 includes:
  • the historical weight calculation unit 31 is configured to calculate the weight of the historical statistical information, wherein the weight of the historical statistical information is related to the moving distance, and the smaller the moving distance is, the greater the weight of the historical statistical information is, the larger the moving distance is, and the historical statistical information is. The smaller the weight;
  • the current weight calculation unit 32 is configured to calculate a weight of the current statistical information, where the weight of the current statistical information is related to the moving distance, and the smaller the moving distance is, the smaller the weight of the current statistical information is, the larger the moving distance is, and the current statistical information is. The greater the weight;
  • the selecting unit 33 is configured to select a color temperature of an environment in which the current camera is located according to the weight of the historical statistical information and the weight of the current statistical information.
  • the weight of the historical statistical information is also related to the moving time. The shorter the moving time, the greater the weight of the historical statistical information, and the longer the moving time, the smaller the weight of the historical statistical information.
  • the relationship between the weight of the historical statistical information and the moving distance and the moving time is in accordance with a Gaussian function or a Weibull distribution; the weight of the current statistical information and the moving distance are The relationship between the two is consistent with a Gaussian function or a Weibull distribution. It should be understood that the relationship between the weight of the historical statistical information, the weight of the current statistical information, and the moving distance and the moving time may also be other relationships that conform to the inverse correlation feature, and those skilled in the art are All equivalent alternatives and obvious variations of the above-described embodiments, which are obtained by reasonable prediction, are all within the scope of the invention.
  • Each module included in the automatic white balance device in the embodiment of the present invention, and each unit included in each module can be implemented by a processor in the mobile terminal; of course, it can also be implemented by a logic circuit;
  • the processor can be a central processing unit (CPU), micro processing (MPU), digital signal processor (DSP) or field programmable gate array (FPGA).
  • the automatic white balance method described above is implemented in the form of a software function module and sold or used as a stand-alone product, it may also be stored in a computer readable storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to perform an automatic white balance method in the embodiment of the present invention.
  • an embodiment of the present invention further provides a mobile terminal, including a camera and a processor, where the processor is configured to:
  • Obtaining a reference point from the photo determining a color temperature of the environment in which the camera is located according to the reference point, the color temperature including a historical color temperature and a current color temperature;
  • the photo is white balanced using the color temperature of the environment in which the current camera is located.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the reference point is obtained from the photo, the color temperature of the environment in which the camera is located is determined according to the reference point, the color temperature includes a historical color temperature and a current color temperature; the motion state information of the camera is acquired; and the current camera is determined according to the motion state information.
  • the color temperature of the environment; the white temperature of the photo is measured by the color temperature of the environment in which the current camera is located, and the color temperature of the environment in which the camera is located is determined by the motion state information of the camera, so that the photograph taken has a more realistic color, conforming to the human eye. The feeling of improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Television Image Signal Generators (AREA)
  • Studio Devices (AREA)

Abstract

本发明公开了一种自动白平衡方法及装置、终端和存储介质,属于图像处理技术领域,该方法包括:从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;获取相机的运动状态信息;根据所述运动状态信息判断当前相机所处环境的色温;采用所述当前相机所处环境的色温对照片进行白平衡。

Description

一种自动白平衡方法及装置、终端、存储介质 技术领域
本发明涉及图像处理技术领域,尤其涉及一种自动白平衡方法及装置、终端、存储介质。
背景技术
将黑体从绝对零度开始加温,温度每升高一度称为1开氏度(用字母K来表示),当温度升高到一定程度时候,黑体便辐射出可见光,其光谱成份以及给人的感觉也会着温度的不断升高发生相应的变化。于是,就把黑体辐射一定色光的温度定为发射相同色光光源的色温。值得注意的是,实际光源的光谱分布各不相同,而色温只是代表了能量的偏重程度,并不反映光谱分布,所以即使相同色温的光源,也可能引起不同的色彩反应。人眼及大脑对色温有一定的生理和心理的自适应性,所以看到的颜色受色温偏移的影响较小,而相机(camera摄像头)的传感器(sersor)没有这种能力,所以拍出来的照片不经过白平衡处理的话,和人眼看到的颜色会有较大的偏差。
白平衡,它指的是在图像处理的过程中,对原本材质为白色的物体的图像进行色彩还原,去除外部光源色温的影响,使其在照片上也显示白色。目前的AWB(Automatic white balance,自动白平衡)算法多种多样,通常是在当前帧通过灰色世界法和白色世界法,统计出灰色决策点和白色决策点,然后根据上一帧的决策点来计算当前帧的决策点决定当前帧的Rgain(红色增益)和Bgain(蓝色增益)。而人们对摄像头的自动白平衡的自适应性和准确率的要求越来越高,需要更优的算法计算白平衡,但目前现存的AWB算法存在很大弊端:1)由于镜头的画面限制,当镜头中进入大面 积黄色物体、淡蓝色物体或淡绿色物体时,目前的AWB算法会导致所拍的物体发白;2)人眼在同时存在两种光源的环境中,如A光和D65光,人眼刚从A光区域转至D65光区域时所看到的的物体整体偏蓝,从D65光区域移至A光区域时所看到的物体整体偏黄,目前的AWB算法是只根据统计来计算白平衡,不符合人眼的直接感觉。
发明内容
本发明实施例的主要目的在于提出一种自动白平衡方法及装置、终端、存储介质,旨在解决现有白平衡算法不符合人眼感觉,用户体验差的问题。
为实现上述目的,本发明实施例的技术方案如下:
本发明实施例提供的一种自动白平衡方法,所述方法包括步骤:
从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;
获取相机的运动状态信息;
根据所述运动状态信息判断当前相机所处环境的色温;
采用所述当前相机所处环境的色温对照片进行白平衡。
在本发明的其他实施例中,所述获取相机的运动状态信息包括:
通过陀螺仪和加速度计获取相机的移动距离和移动时间。
在本发明的其他实施例中,所述根据所述运动状态信息判断当前相机所处环境的色温包括:
计算历史统计信息的权重,所述历史统计信息的权重与所述移动距离有关,移动距离越小,历史统计信息的权重越大,移动距离越大,历史统计信息的权重越小;
计算当前统计信息的权重,所述当前统计信息的权重与所述移动距离有关,移动距离越小,当前统计信息的权重越小,移动距离越大,当前统计信息的权重越大;
根据所述历史统计信息的权重和所述当前统计信息的权重选择当前相机所处环境的色温。
在本发明的其他实施例中,所述历史统计信息的权重还与所述移动时间有关,移动时间越短,历史统计信息的权重越大,移动时间越长,历史统计信息的权重越小。
在本发明的其他实施例中,所述从照片中获取参考点为:采用白色世界法和灰色世界法从照片中找到白点作为参考点。
第二方面,本发明实施例还提出一种自动白平衡装置,包括:
色温获取模块,配置为从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;
运动状态获取模块,配置为获取相机的运动状态信息;
判断模块,配置为根据所述运动状态信息判断当前相机所处环境的色温;
白平衡模块,配置为采用所述当前相机所处环境的色温对照片进行白平衡。
在本发明的其他实施例中,所述运动状态获取模块配置为:通过陀螺仪和加速度计获取相机的移动距离和移动时间。
在本发明的其他实施例中,所述判断模块包括:
历史权重计算单元,配置为计算历史统计信息的权重,所述历史统计信息的权重与所述移动距离有关,移动距离越小,历史统计信息的权重越大,移动距离越大,历史统计信息的权重越小;
当前权重计算单元,配置为计算当前统计信息的权重,所述当前统计信息的权重与所述移动距离有关,移动距离越小,当前统计信息的权重越小,移动距离越大,当前统计信息的权重越大;
选择单元,配置为根据所述历史统计信息的权重和所述当前统计信息 的权重选择当前相机所处环境的色温。
在本发明的其他实施例中,所述历史统计信息的权重还与所述移动时间有关,移动时间越短,历史统计信息的权重越大,移动时间越长,历史统计信息的权重越小。
在本发明的其他实施例中,所述色温获取模块配置为:采用白色世界法和灰色世界法从照片中找到白点作为参考点。
此外,为实现上述目的,本发明还提出一种移动终端,包括以上所述的装置。
第三方面,本发明实施例提供一种移动终端,包括相机和处理器,其中所述处理器配置为:
从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;
获取相机的运动状态信息;
根据所述运动状态信息判断当前相机所处环境的色温;
采用所述当前相机所处环境的色温对照片进行白平衡。
第四方面,本发明实施例一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令配置为执行以下步骤:
从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;
获取相机的运动状态信息;
根据所述运动状态信息判断当前相机所处环境的色温;
采用所述当前相机所处环境的色温对照片进行白平衡。
本发明提出的一种自动白平衡方法及装置、终端、存储介质,其中:从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包 括历史色温和当前色温;获取相机的运动状态信息;根据所述运动状态信息判断当前相机所处环境的色温;采用所述当前相机所处环境的色温对照片进行白平衡,通过相机的运动状态信息判断相机所处环境的色温,使拍出的相片具有更真实的色彩,符合人眼的感觉,提高了用户体验。
附图说明
图1为实现本发明各个实施例一个可选的移动终端的硬件结构示意图;
图2为实现本发明各个实施例的相机的电气结构框图;
图3为本发明实施例一的自动白平衡方法流程图;
图4位本发明实施例一的参考点获取界面图;
图5位本发明实施例一的运动状态信息获取界面图;
图6为本发明实施例二的自动白平衡方法流程图;
图7为本发明的实施例三的自动白平衡装置的示范性结构框图;
图8为本发明的实施例四的自动白平衡装置的示范性结构框图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明的技术方案,并不用于限定本发明的保护范围。
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如模块、部件或单元的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,模块与部件可以混合地使用。
移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人 数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。
图1为实现本发明各个实施例一个可选的移动终端的硬件结构示意图。
移动终端100可以包括无线通信单元110、A/V(音频/视频)输入单元120、用户输入单元130、感测单元140、输出单元150、存储器160、接口单元170、控制器180和电源单元190等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信系统或网络之间的无线电通信。例如,无线通信单元可以包括移动通信模块112、无线互联网模块113、短程通信模块114中的至少一个。
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的各种类型的数据。
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括WLAN(无线LAN)(Wi-Fi)、Wibro(无线宽带)、Wimax(全球微波互联接入)、HSDPA(高速下行链路分组接入)等等。
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等等。
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括摄像头121和麦克风1220,摄像头121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经摄像头121处理后的图像帧可以存储在存储器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多摄像头1210。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。
感测单元140检测移动终端100的当前状态,(例如,移动终端100的打开或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或减速移动和方向等等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型电话是打开还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。
接口单元170用作至少一个外部装置与移动终端100连接可以通过的 接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用移动终端100的各种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM)等等。另外,具有识别模块的装置(下面称为识别装置)可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与移动终端100连接。接口单元170可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端和外部装置之间传输数据。
另外,当移动终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150可以包括显示单元151、音频输出模块152等等。
显示单元151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶 显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包括扬声器、蜂鸣器等等。
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。
控制器180通常控制移动终端的总体操作。例如,控制器180执行与 语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括用于再现(或回放)多媒体数据的多媒体模块1810,多媒体模块1810可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。
至此,己经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明能够应用于任何类型的移动终端,并且不限于滑动型移动终端。
图2为相机的电气结构框图。
摄影镜头1211由用于形成被摄体像的多个光学镜头构成,为单焦点镜头或变焦镜头。摄影镜头1211在镜头驱动器1221的控制下能够在光轴方向上移动,镜头驱动器1221根据来自镜头驱动控制电路1222的控制信号, 控制摄影镜头1211的焦点位置,在变焦镜头的情况下,也可控制焦点距离。镜头驱动控制电路1222按照来自微型计算机1217的控制命令进行镜头驱动器1221的驱动控制。在摄影镜头1211的光轴上、由摄影镜头1211形成的被摄体像的位置附近配置有摄像元件1212。摄像元件1212用于对被摄体像摄像并取得摄像图像数据。在摄像元件1212上二维且呈矩阵状配置有构成各像素的光电二极管。各光电二极管产生与受光量对应的光电转换电流,该光电转换电流由与各光电二极管连接的电容器进行电荷蓄积。各像素的前表面配置有拜耳排列的RGB滤色器。
摄像元件1212与摄像电路1213连接,该摄像电路1213在摄像元件1212中进行电荷蓄积控制和图像信号读出控制,对该读出的图像信号(模拟图像信号)降低重置噪声后进行波形整形,进而进行增益提高等以成为适当的信号电平。摄像电路1213与A/D转换器1214连接,该A/D转换器1214对模拟图像信号进行模数转换,向总线1227输出数字图像信号(以下称之为图像数据)。
总线1227是用于传送在相机的内部读出或生成的各种数据的传送路径。在总线1227连接着上述A/D转换器1214,此外还连接着图像处理器1215、JPEG处理器1216、微型计算机1217、SDRAM(Synchronous Dynamic random access memory,同步动态随机存取内存)1218、存储器接口(以下称之为存储器I/F)1219、LCD(Liquid Crystal Display,液晶显示器)驱动器1220。
图像处理器1215对基于摄像元件1212的输出的图像数据进行OB相减处理、白平衡调整、颜色矩阵运算、伽马转换、色差信号处理、噪声去除处理、同时化处理、边缘处理等各种图像处理。JPEG处理器1216在将图像数据记录于记录介质1225时,按照JPEG压缩方式压缩从SDRAM1218读出的图像数据。此外,JPEG处理器1216为了进行图像再现显示而进行 JPEG图像数据的解压缩。进行解压缩时,读出记录在记录介质1225中的文件,在JPEG处理器1216中实施了解压缩处理后,将解压缩的图像数据暂时存储于SDRAM1218中并在LCD1226上进行显示。另外,在本实施方式中,作为图像压缩解压缩方式采用的是JPEG方式,然而压缩解压缩方式不限于此,当然可以采用MPEG、TIFF、H.264等其他的压缩解压缩方式。
微型计算机1217发挥作为该相机整体的控制部的功能,统一控制相机的各种处理序列。微型计算机1217连接着操作单元1223和闪存1224。
操作单元1223包括但不限于实体按键或者虚拟按键,该实体或虚拟按键可以为电源按钮、拍照键、编辑按键、动态图像按钮、再现按钮、菜单按钮、十字键、OK按钮、删除按钮、放大按钮等各种输入按钮和各种输入键等操作控件,检测这些操作控件的操作状态。
将检测结果向微型计算机1217输出。此外,在作为显示器的LCD1226的前表面设有触摸面板,检测用户的触摸位置,将该触摸位置向微型计算机1217输出。微型计算机1217根据来自操作单元1223的操作位置的检测结果,执行与用户的操作对应的各种处理序列。
闪存1224存储用于执行微型计算机1217的各种处理序列的程序。微型计算机1217根据该程序进行相机整体的控制。此外,闪存1224存储相机的各种调整值,微型计算机1217读出调整值,按照该调整值进行相机的控制。
SDRAM1218是用于对图像数据等进行暂时存储的可电改写的易失性存储器。该SDRAM1218暂时存储从A/D转换器1214输出的图像数据和在图像处理器1215、JPEG处理器1216等中进行了处理后的图像数据。
存储器接口1219与记录介质1225连接,进行将图像数据和附加在图像数据中的文件头等数据写入记录介质1225和从记录介质1225中读出的控制。记录介质1225例如为能够在相机主体上自由拆装的存储器卡等记录 介质,然而不限于此,也可以是内置在相机主体中的硬盘等。
LCD驱动器1210与LCD1226连接,将由图像处理器1215处理后的图像数据存储于SDRAM1218,需要显示时,读取SDRAM1218存储的图像数据并在LCD1226上显示,或者,JPEG处理器1216压缩过的图像数据存储于SDRAM1218,在需要显示时,JPEG处理器1216读取SDRAM1218的压缩过的图像数据,再进行解压缩,将解压缩后的图像数据通过LCD1226进行显示。
LCD1226配置在相机主体的背面进行图像显示。该LCD1226LCD,然而不限于此,也可以采用有机EL等各种显示面板(LCD1226),然而不限于此,也可以采用有机EL等各种显示面板。
基于上述移动终端硬件结构以及相机的电气结构示意图,提出本发明各个实施例。
实施例一
如图3所示,本实施例提出一种自动白平衡方法,所述方法包括步骤:
S10、从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;
S20、获取相机的运动状态信息;
S30、根据所述运动状态信息判断当前相机所处环境的色温;
S40、采用所述当前相机所处环境的色温对照片进行白平衡。
在本实施例中,所述相机为所有具有拍照功能的移动终端,如:只用于拍照的专业相机或具有拍照功能的手机等,因为白平衡指的是在图像处理的过程中,对原本材质为白色的物体的图像进行色彩还原,去除外部光源色温的影响,使其在照片上也显示白色,所以,如图4所示,首先从照片中获取可能是白点的区域作为参考点,根据参考点的信息判断相机所处环境的色温,色温的判断是比较成熟的技术,兹不赘述;同时,通过陀螺 仪、加速度计等辅助模块确定相机是缓慢移动、快速移动还是刚开启相机,本发明通过采集相机的运动状态信息来区分这三种情况。
首先对于刚开启相机的情况,没有历史统计信息可以借鉴,直接采用灰色世界法和白色世界法来收敛白平衡,其参考点只对应当前统计信息,也只包含当前色温,不需要后续的判断过程,不在本实施例的考虑范围之内。
如图5所示,在本实施例中,所述获取相机的运动状态信息包括:通过陀螺仪和加速度计获取相机的移动距离和移动时间,通过移动距离和移动时间的比例即可判断相机是缓慢移动还是快速移动,而对移动距离和移动时间的采集则更直观,也是由陀螺仪和加速度计可以直接获取的数据。
在本实施例中,历史统计信息的权重由陀螺仪输出的移动距离及加速度计输出的移动时间来决定,移动距离越小,历史统计信息的权重越大,移动距离越大,历史统计信息的权重越小;移动时间按高斯分布,移动时间越短,也即历史时刻离当前时刻越近,历史统计信息的权重越大,移动时间越长,也即历史时刻离当前时刻越远,历史统计信息的权重越小,在这两个因素决定的权重中,陀螺仪起的作用更大;当前统计信息的权重与所述移动距离有关,移动距离越小,当前统计信息的权重越小,移动距离越大,当前统计信息的权重越大。
在本实施例中,所述历史统计信息的权重与所述移动距离及移动时间之间的关系符合高斯函数或韦布尔分布(Weibull distribution);所述当前统计信息的权重与所述移动距离之间的关系符合高斯函数或韦布尔分布。应当理解的是,所述历史统计信息的权重、所述当前统计信息的权重与所述移动距离及移动时间之间的关系也可以是其他符合反相关特征的关系,所属技术领域的技术人员为实现相同的性能或用途,通过合理预测而得到的上述给出的实施方式的所有等同替代方式和明显变型方式都属于本发明的 保护范围。
例如,相机从A色温慢慢转到D色温,距离移动小时,陀螺仪所计算输出的移动距离较小,根据上述的权重判断,最后色温判断接近A色温;相机从A色温移动很大距离到D色温时,陀螺仪所计算输出的移动距离较大,根据上述的权重判断,最后色温判断接近D色温。
在本实施例中,通过相机的运动状态信息判断相机所处环境的色温,使拍出的相片具有更真实的色彩,符合人眼的感觉,提高了用户体验。
例如,现在很多家中都是木制家具,我们在家中拍照时,若是家具占相机成像画面比较大时,用一般的AWB算法,家具的木制色彩就会偏白,有些相机甚至会偏蓝色。拍出来的照片跟人眼的感觉不一样;但是如果使用本实施例的方法就会拍出真实木制色彩的相片,符合人眼的感觉。
例如,用相机给人拍证件照时,背景是淡蓝色布,用一般的相机拍照时,会将淡蓝的布当作白点做白,黄种人,脸会偏黄,或偏红色;但是如果使用本实施例的方法就会拍出真实淡蓝色背景布和真实的人肤色,符合人眼的感觉。
实施例二
如图6所示,在本实施例中,所述S30包括:
S31、计算历史统计信息的权重,所述历史统计信息的权重与所述移动距离有关,移动距离越小,历史统计信息的权重越大,移动距离越大,历史统计信息的权重越小;
S32、计算当前统计信息的权重,所述当前统计信息的权重与所述移动距离有关,移动距离越小,当前统计信息的权重越小,移动距离越大,当前统计信息的权重越大;
S33、根据所述历史统计信息的权重和所述当前统计信息的权重选择当前相机所处环境的色温。
在本实施例中,所述历史统计信息的权重还与所述移动时间有关,移动时间越短,历史统计信息的权重越大,移动时间越长,历史统计信息的权重越小。
在本实施例中,所述历史统计信息的权重与所述移动距离及移动时间之间的关系符合高斯函数或韦布尔分布(Weibull distribution);所述当前统计信息的权重与所述移动距离之间的关系符合高斯函数或韦布尔分布。应当理解的是,所述历史统计信息的权重、所述当前统计信息的权重与所述移动距离及移动时间之间的关系也可以是其他符合反相关特征的关系,所属技术领域的技术人员为实现相同的性能或用途,通过合理预测而得到的上述给出的实施方式的所有等同替代方式和明显变型方式都属于本发明的保护范围。
实施例三
如图7所示,在本实施例中,一种自动白平衡装置,包括:
色温获取模块10,配置为从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;
运动状态获取模块20,配置为获取相机的运动状态信息;
判断模块30,配置为根据所述运动状态信息判断当前相机所处环境的色温;
白平衡模块40,配置为采用所述当前相机所处环境的色温对照片进行白平衡。
在本实施例中,通过相机的运动状态信息判断相机所处环境的色温,使拍出的相片具有更真实的色彩,符合人眼的感觉,提高了用户体验。
在本实施例中,所述运动状态获取模块配置为:通过陀螺仪和加速度计获取相机的移动距离和移动时间。
在本实施例中,所述色温获取模块配置为:采用白色世界法和灰色世 界法从照片中找到白点作为参考点。
实施例四
如图8所示,在本实施例中,所述判断模块30包括:
历史权重计算单元31,配置为计算历史统计信息的权重,所述历史统计信息的权重与所述移动距离有关,移动距离越小,历史统计信息的权重越大,移动距离越大,历史统计信息的权重越小;
当前权重计算单元32,配置为计算当前统计信息的权重,所述当前统计信息的权重与所述移动距离有关,移动距离越小,当前统计信息的权重越小,移动距离越大,当前统计信息的权重越大;
选择单元33,配置为根据所述历史统计信息的权重和所述当前统计信息的权重选择当前相机所处环境的色温。
在本实施例中,所述历史统计信息的权重还与所述移动时间有关,移动时间越短,历史统计信息的权重越大,移动时间越长,历史统计信息的权重越小。
在本实施例中,所述历史统计信息的权重与所述移动距离及移动时间之间的关系符合高斯函数或韦布尔分布(Weibull distribution);所述当前统计信息的权重与所述移动距离之间的关系符合高斯函数或韦布尔分布。应当理解的是,所述历史统计信息的权重、所述当前统计信息的权重与所述移动距离及移动时间之间的关系也可以是其他符合反相关特征的关系,所属技术领域的技术人员为实现相同的性能或用途,通过合理预测而得到的上述给出的实施方式的所有等同替代方式和明显变型方式都属于本发明的保护范围。
本发明实施例中自动白平衡装置中所包括的各模块,以及各模块所包括的各单元,都可以通过移动终端中的处理器来实现;当然也可通过的逻辑电路实现;在实施的过程中,处理器可以为中央处理器(CPU)、微处理 器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。
需要说明的是,本发明实施例中,如果以软件功能模块的形式实现上述的自动白平衡方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。
相应地,本发明实施例再提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行本发明实施例中自动白平衡方法。
基于前述的实施例,本发明实施例再提供一种移动终端,包括相机和处理器,其中所述处理器配置为:
从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;
获取相机的运动状态信息;
根据所述运动状态信息判断当前相机所处环境的色温;
采用所述当前相机所处环境的色温对照片进行白平衡。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多 限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
工业实用性
本发明实施例中,从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;获取相机的运动状态信息;根据所述运动状态信息判断当前相机所处环境的色温;采用所述当前相机所处环境的色温对照片进行白平衡,通过相机的运动状态信息判断相机所处环境的色温,使拍出的相片具有更真实的色彩,符合人眼的感觉,提高了用户体验。

Claims (20)

  1. 一种自动白平衡方法,所述方法包括步骤:
    从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;
    获取相机的运动状态信息;
    根据所述运动状态信息判断当前相机所处环境的色温;
    采用所述当前相机所处环境的色温对照片进行白平衡。
  2. 根据权利要求1所述的方法,其中,所述获取相机的运动状态信息包括:
    通过陀螺仪和加速度计获取相机的移动距离和移动时间。
  3. 根据权利要求2所述的方法,其中,所述根据所述运动状态信息判断当前相机所处环境的色温包括:
    计算历史统计信息的权重,所述历史统计信息的权重与所述移动距离有关,移动距离越小,历史统计信息的权重越大,移动距离越大,历史统计信息的权重越小;
    计算当前统计信息的权重,所述当前统计信息的权重与所述移动距离有关,移动距离越小,当前统计信息的权重越小,移动距离越大,当前统计信息的权重越大;
    根据所述历史统计信息的权重和所述当前统计信息的权重选择当前相机所处环境的色温。
  4. 根据权利要求3所述的方法,其中,所述历史统计信息的权重还与所述移动时间有关,移动时间越短,历史统计信息的权重越大,移动时间越长,历史统计信息的权重越小。
  5. 根据权利要求1所述的方法,其中,所述从照片中获取参考点为:采用白色世界法和灰色世界法从照片中找到白点作为参考点。
  6. 一种自动白平衡装置,包括:
    色温获取模块,配置为从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;
    运动状态获取模块,配置为获取相机的运动状态信息;
    判断模块,配置为根据所述运动状态信息判断当前相机所处环境的色温;
    白平衡模块,配置为采用所述当前相机所处环境的色温对照片进行白平衡。
  7. 根据权利要求6所述的装置,其中,所述运动状态获取模块配置为:通过陀螺仪和加速度计获取相机的移动距离和移动时间。
  8. 根据权利要求7所述的装置,其中,所述判断模块包括:
    历史权重计算单元,配置为计算历史统计信息的权重,所述历史统计信息的权重与所述移动距离有关,移动距离越小,历史统计信息的权重越大,移动距离越大,历史统计信息的权重越小;
    当前权重计算单元,配置为计算当前统计信息的权重,所述当前统计信息的权重与所述移动距离有关,移动距离越小,当前统计信息的权重越小,移动距离越大,当前统计信息的权重越大;
    选择单元,配置为根据所述历史统计信息的权重和所述当前统计信息的权重选择当前相机所处环境的色温。
  9. 根据权利要求8所述的装置,其中,所述历史统计信息的权重还与所述移动时间有关,移动时间越短,历史统计信息的权重越大,移动时间越长,历史统计信息的权重越小。
  10. 根据权利要求6所述的装置,其中,所述从照片中获取参考点为:采用白色世界法和灰色世界法从照片中找到白点作为参考点。
  11. 一种移动终端,包括相机和处理器,其中所述处理器配置为:
    从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;
    获取相机的运动状态信息;
    根据所述运动状态信息判断当前相机所处环境的色温;
    采用所述当前相机所处环境的色温对照片进行白平衡。
  12. 根据权利要求11所述的移动终端,其中,所述移动终端还包括陀螺仪和加速度计,对应地,所述获取相机的运动状态信息包括:通过陀螺仪和加速度计获取相机的移动距离和移动时间。
  13. 根据权利要求12所述的移动终端,其中,所述根据所述运动状态信息判断当前相机所处环境的色温包括:计算历史统计信息的权重,所述历史统计信息的权重与所述移动距离有关,移动距离越小,历史统计信息的权重越大,移动距离越大,历史统计信息的权重越小;
    计算当前统计信息的权重,所述当前统计信息的权重与所述移动距离有关,移动距离越小,当前统计信息的权重越小,移动距离越大,当前统计信息的权重越大;
    根据所述历史统计信息的权重和所述当前统计信息的权重选择当前相机所处环境的色温。
  14. 根据权利要求13所述的移动终端,其中,所述历史统计信息的权重还与所述移动时间有关,移动时间越短,历史统计信息的权重越大,移动时间越长,历史统计信息的权重越小。
  15. 根据权利要求11至14任一项所述的移动终端,其中,所述从照片中获取参考点为:采用白色世界法和灰色世界法从照片中找到白点作为参考点。
  16. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令配置为执行以下步骤:
    从照片中获取参考点,根据参考点判断相机所处环境的色温,所述色温包括历史色温和当前色温;
    获取相机的运动状态信息;
    根据所述运动状态信息判断当前相机所处环境的色温;
    采用所述当前相机所处环境的色温对照片进行白平衡。
  17. 根据权利要求16所述的存储介质,其中,所述获取相机的运动状态信息包括:
    通过陀螺仪和加速度计获取相机的移动距离和移动时间。
  18. 根据权利要求17所述的存储介质,其中,所述根据所述运动状态信息判断当前相机所处环境的色温包括:
    计算历史统计信息的权重,所述历史统计信息的权重与所述移动距离有关,移动距离越小,历史统计信息的权重越大,移动距离越大,历史统计信息的权重越小;
    计算当前统计信息的权重,所述当前统计信息的权重与所述移动距离有关,移动距离越小,当前统计信息的权重越小,移动距离越大,当前统计信息的权重越大;
    根据所述历史统计信息的权重和所述当前统计信息的权重选择当前相机所处环境的色温。
  19. 根据权利要求18所述的存储介质,其中,所述历史统计信息的权重还与所述移动时间有关,移动时间越短,历史统计信息的权重越大,移动时间越长,历史统计信息的权重越小。
  20. 根据权利要求16至19任一项所述的存储介质,其中,所述从照片中获取参考点为:采用白色世界法和灰色世界法从照片中找到白点作为参考点。
PCT/CN2016/108098 2015-12-30 2016-11-30 一种自动白平衡方法及装置、终端、存储介质 WO2017114088A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511021869.5 2015-12-30
CN201511021869.5A CN105611264B (zh) 2015-12-30 2015-12-30 一种自动白平衡方法及装置

Publications (1)

Publication Number Publication Date
WO2017114088A1 true WO2017114088A1 (zh) 2017-07-06

Family

ID=55990766

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108098 WO2017114088A1 (zh) 2015-12-30 2016-11-30 一种自动白平衡方法及装置、终端、存储介质

Country Status (2)

Country Link
CN (1) CN105611264B (zh)
WO (1) WO2017114088A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611264B (zh) * 2015-12-30 2018-09-14 努比亚技术有限公司 一种自动白平衡方法及装置
CN108024055B (zh) * 2017-11-03 2019-09-17 Oppo广东移动通信有限公司 白平衡处理的方法、装置、移动终端和存储介质
CN107911682B (zh) * 2017-11-28 2020-02-18 Oppo广东移动通信有限公司 图像白平衡处理方法、装置、存储介质和电子设备
CN108174173B (zh) * 2017-12-25 2020-01-10 Oppo广东移动通信有限公司 拍摄方法及装置、计算机可读存储介质和计算机设备
CN110611803A (zh) * 2019-09-03 2019-12-24 珠海格力电器股份有限公司 色温预估的方法、装置及计算机可读介质
CN111182217B (zh) * 2020-01-07 2021-08-10 上海海鸥数码照相机有限公司 一种图像白平衡的处理方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647449A (zh) * 2012-03-20 2012-08-22 西安联客信息技术有限公司 基于云服务的智能摄影方法、装置及移动终端
CN102685389A (zh) * 2012-04-06 2012-09-19 天津市亚安科技股份有限公司 自动调节摄像机参数的装置及方法
CN103338383A (zh) * 2013-06-25 2013-10-02 深圳市中兴移动通信有限公司 白平衡校准的方法及装置
CN104320642A (zh) * 2014-10-11 2015-01-28 广东欧珀移动通信有限公司 一种图片处理的方法及装置
US20150244915A1 (en) * 2014-02-21 2015-08-27 Taro Kikuchi Image processing apparatus, image capturing apparatus, image correction method, and storage medium
CN105611264A (zh) * 2015-12-30 2016-05-25 努比亚技术有限公司 一种自动白平衡方法及装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3838243B2 (ja) * 2003-09-04 2006-10-25 ソニー株式会社 画像処理方法、および画像処理装置、並びにコンピュータ・プログラム
JP4434073B2 (ja) * 2005-05-16 2010-03-17 ソニー株式会社 画像処理装置および撮像装置
CN100563297C (zh) * 2007-06-26 2009-11-25 北京中星微电子有限公司 实现白平衡校正的方法及装置
JP6049343B2 (ja) * 2012-08-01 2016-12-21 キヤノン株式会社 画像処理装置、画像処理方法及びプログラム
CN103402103B (zh) * 2013-07-25 2016-05-11 上海富瀚微电子股份有限公司 自适应的白平衡启动速度控制方法和装置
US9386289B2 (en) * 2014-04-29 2016-07-05 Intel Corporation Automatic white balancing with chromaticity measure of raw image data
WO2015176935A1 (en) * 2014-05-20 2015-11-26 Koninklijke Philips N.V. An image capturing system, a kit for an image capturing system, a mobile phone, use of an image capturing system and a method of configuring a color matched light source

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647449A (zh) * 2012-03-20 2012-08-22 西安联客信息技术有限公司 基于云服务的智能摄影方法、装置及移动终端
CN102685389A (zh) * 2012-04-06 2012-09-19 天津市亚安科技股份有限公司 自动调节摄像机参数的装置及方法
CN103338383A (zh) * 2013-06-25 2013-10-02 深圳市中兴移动通信有限公司 白平衡校准的方法及装置
US20150244915A1 (en) * 2014-02-21 2015-08-27 Taro Kikuchi Image processing apparatus, image capturing apparatus, image correction method, and storage medium
CN104320642A (zh) * 2014-10-11 2015-01-28 广东欧珀移动通信有限公司 一种图片处理的方法及装置
CN105611264A (zh) * 2015-12-30 2016-05-25 努比亚技术有限公司 一种自动白平衡方法及装置

Also Published As

Publication number Publication date
CN105611264B (zh) 2018-09-14
CN105611264A (zh) 2016-05-25

Similar Documents

Publication Publication Date Title
KR102444085B1 (ko) 휴대용 통신 장치 및 휴대용 통신 장치의 영상 표시 방법
WO2017114088A1 (zh) 一种自动白平衡方法及装置、终端、存储介质
KR102251483B1 (ko) 영상을 처리하는 전자 장치 및 방법
WO2021031609A1 (zh) 活体检测方法及装置、电子设备和存储介质
CN105874776B (zh) 图像处理设备和方法
WO2017107629A1 (zh) 移动终端、数据传输系统及移动终端拍摄方法
JP6186521B2 (ja) 合焦制御装置、撮像装置、合焦制御方法、及び合焦制御プログラム
WO2017124899A1 (zh) 一种信息处理方法及装置、电子设备
US9473725B2 (en) Image-processing and encoded aperture pattern setting device and method, and image pickup device comprising same
JP5750558B2 (ja) 撮像装置及び合焦制御方法
US10516860B2 (en) Image processing method, storage medium, and terminal
US20170201668A1 (en) Image capturing apparatus and method of operating the same
CN105472246B (zh) 拍照装置及方法
WO2017088609A1 (zh) 图像去噪装置和方法
CN108156378B (zh) 拍照方法、移动终端及计算机可读存储介质
US9332175B2 (en) Image photographing apparatus and photographing method thereof
JP5677625B2 (ja) 信号処理装置、撮像装置、信号補正方法
JP6028112B2 (ja) 撮像装置及び合焦制御方法
CN106254807B (zh) 提取静止图像的电子设备和方法
WO2017088564A1 (zh) 一种图像处理方法及装置、终端、存储介质
WO2017088662A1 (zh) 对焦方法和装置
JP2017521742A (ja) 虹彩画像を取得する方法および装置、ならびに虹彩識別機器
CN105763810A (zh) 基于人眼的拍照装置及方法
CN108156392B (zh) 一种拍摄方法、终端和计算机可读存储介质
KR102351496B1 (ko) 영상 처리 장치 및 그 동작 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16880878

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16880878

Country of ref document: EP

Kind code of ref document: A1