WO2018018995A1 - 图像色彩处理方法、装置及终端设备 - Google Patents
图像色彩处理方法、装置及终端设备 Download PDFInfo
- Publication number
- WO2018018995A1 WO2018018995A1 PCT/CN2017/084031 CN2017084031W WO2018018995A1 WO 2018018995 A1 WO2018018995 A1 WO 2018018995A1 CN 2017084031 W CN2017084031 W CN 2017084031W WO 2018018995 A1 WO2018018995 A1 WO 2018018995A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- frame image
- color
- pixel
- filter
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/10—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
Definitions
- the present application relates to the field of image processing technologies, and in particular, to an image color processing method, apparatus, and terminal device.
- a variety of terminal devices with shooting functions are widely used in daily life, and the terminal device needs to perform image color reproduction processing on the image to be acquired when shooting, so as to obtain a better quality captured image as much as possible.
- each of the primary color components directly determines the primary color intensity of the display device to generate color.
- the data format of the image sensor in the prior art is the bayer data format, which has only one of three color channels per pixel, so each pixel has only one true color component, and the other is missing.
- the color component needs to be estimated by other processing methods, and the estimated color component is combined with the real color component.
- the current terminal device captures a picture
- the color of the acquired image and the color of the real picture are greatly changed, and the color reproduction degree of the image is not good.
- the present application aims to solve at least one of the technical problems in the related art to some extent.
- the first object of the present application is to provide an image color processing method, which can obtain more color components in image pixels, and improve the restoration effect and image quality of the real color of the image.
- a second object of the present application is to provide an image color processing apparatus.
- a third object of the present application is to propose a terminal device.
- the first aspect of the present application provides an image color processing method, where the method is applied to a terminal device, where the imaging module of the terminal device includes: a micro-electromechanical system and an image sensor, wherein The MEMS control the image sensor movement, the image sensor comprising a photosensitive pixel array, and a filter disposed on the photosensitive pixel array, the filter comprising a plurality of filter units, each filter The unit is a matrix unit of two rows and two columns, the matrix unit comprising: a first color filter and a second color filter disposed diagonally, and Two third color filters deployed in the corner;
- the method includes the following steps:
- the image color processing method of the embodiment of the present application precisely controls the image sensor movement by using the MEMS system, and the image sensor is provided with a filter and a photosensitive pixel array, the filter includes a plurality of filter units, and a plurality of filters
- the chip unit forms a matrix structure of two rows and two columns, and the filter unit includes a first color filter, a second color filter and two third color filters, and the MEMS control image sensor with precise displacement control function Moving a pixel distance along the preset first direction and the preset second direction, respectively, so that the terminal device acquires the first frame image before moving, acquires the second frame image after moving the first direction, and moves the second direction And acquiring a third frame image, and synthesizing the first frame image, the second frame image, and the third frame image according to color components of each pixel position of each frame image to form a fourth frame image, that is, a final image, so that Get more color components in the image pixels, improving the restoration of real colors and image quality.
- an embodiment of the second aspect of the present application provides an image color processing device, which is applied to a terminal device having a photographing function.
- the imaging module in the terminal device includes: a micro-electromechanical system and an image sensor, wherein
- the microelectromechanical system controls movement of the image sensor, the image sensor comprising a photosensitive pixel array, and a filter disposed on the photosensitive pixel array, the filter comprising a plurality of filter units, each filter
- the light unit is a matrix unit of two rows and two columns, the matrix unit comprising: a first color filter and a second color filter disposed diagonally, and two third color filters disposed diagonally;
- the device includes:
- a first processing module configured to capture a first frame image of the preview image at an initial position
- a second processing module configured to trigger the MEMS to move the image sensor from the initial position to a preset first direction by a pixel distance to a first position, and to capture a second frame at the first position image
- a third processing module configured to trigger the MEMS to move the image sensor from the first position to a preset second direction by a pixel distance to a second position, and to shoot a third at the second position Frame image
- a synthesizing module configured to perform, according to the first frame image, the second frame image, and a color component corresponding to each pixel position in the preview image acquired by the filter in the third frame image
- the synthesis process generates a fourth frame image of the preview picture.
- the image color processing device of the embodiment of the present application is applied to a terminal device, wherein the imaging module in the terminal device includes a MEMS system and an image sensor, the MEMS system is connected to the image sensor, and the MEMS control image sensor Moving, and the image sensor is provided with a filter and a photosensitive pixel array, the filter comprises a plurality of filter units, the plurality of filter units form a matrix structure of two rows and two columns, and the filter unit includes the first a color filter, a second color filter and two third color filters, the MEMS control image sensor with precise displacement control function moves a pixel distance along a preset first direction and a preset second direction, So that the terminal device acquires the first frame image before moving, acquires the second frame image after moving the first direction, acquires the third frame image after moving the second direction, and according to the color component of each pixel position of each frame image
- the first frame image, the second frame image, and the third frame image are combined to form a fourth frame image, that is, a final image, so that the
- the third aspect of the present application provides a terminal device, including: a housing and an imaging module disposed in the housing, wherein the imaging module includes: a micro-electromechanical system, an image sensor , lens, memory and processor,
- the MEMS control the image sensor movement
- the image sensor includes a photosensitive pixel array, and a filter disposed on the photosensitive pixel array, the filter includes a plurality of filter units, each filter unit is a matrix unit of two rows and two columns, The matrix unit includes: a first color filter and a second color filter disposed diagonally, and two third color filters disposed diagonally;
- the memory is for storing executable program code
- the processor executes by reading executable program code stored in the memory:
- the MEMS system in the terminal device controls the image sensor to move
- the image sensor is provided with a filter and a photosensitive pixel array
- the filter includes a plurality of filter units, and the plurality of filters Slice unit a matrix structure of two rows and two columns
- the filter unit includes a first color filter, a second color filter and two third color filters
- the MEMS control image sensor with precise displacement control function
- the first direction and the preset second direction are moved by one pixel distance, so that the terminal device acquires the first frame image before moving, acquires the second frame image after moving the first direction, and acquires the second image after moving the second direction.
- a fourth aspect of the present application provides a computer program product, which, when executed by an instruction processor in the computer program product, performs an image color processing method, the method comprising:
- the fifth aspect of the present application proposes a storage medium that enables a mobile device to perform an image color processing method when an instruction in the storage medium is executed by a processor of the mobile terminal.
- the methods include:
- FIG. 1 is a schematic structural diagram of a filter in a terminal device applied in an image color processing method according to an embodiment of the present application
- FIG. 2 is a schematic structural diagram of a microelectromechanical system and an image sensor according to an image color processing method according to an embodiment of the present application;
- FIG. 3 is a flow chart of an image color processing method according to an embodiment of the present application.
- Figure 4 is a schematic diagram of color components acquired by a filter in a first frame image
- Figure 5 is a schematic diagram of color components acquired by a filter in a second frame image
- Figure 6 is a schematic diagram of color components acquired by a filter in a third frame image
- FIG. 7 is a flowchart of an image color processing method according to another embodiment of the present application.
- FIG. 8 is a schematic structural diagram of an image color processing apparatus according to an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of an image color processing apparatus according to another embodiment of the present application.
- FIG. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
- the image color processing method provided by the present invention is applied to a terminal device having a shooting function.
- the terminal device has many types, including, for example, a mobile phone, a tablet computer, a wearable device, and the like.
- the terminal device with shooting function includes an imaging module.
- the image sensor in the imaging module includes a photosensitive pixel array and a filter disposed on the photosensitive pixel array.
- the principle of sensitization is that the photosensitive unit of the photosensitive pixel array receives an optical signal filtered from the filter to generate an electrical signal, and obtains a color output by exposure.
- the structure of the filter determines the distribution of the color components of each captured image corresponding to the filtered color component, and different filter structures may be selected for image capturing according to actual application requirements.
- the filter structure of the application related to the image color processing method provided in this embodiment is as shown in FIG. 1 , and the details are as follows:
- the filter 10 includes a plurality of filter units 11, each of the filter units 11 a matrix unit of two rows and two columns, the matrix unit includes: a first color filter 111 and a second color filter 112 disposed diagonally, and Two third color filters 113 and 114 are deployed diagonally.
- the positions of the first color filter, the second color filter, and the third color filter can be deployed according to the needs of the application.
- the color filter in each filter unit in the filter shown in FIG. 1 is arranged in a arrangement of 1 red, 2 green, 1 blue, and arranged into a BAYER (Bayer array), the first color filter.
- 111 is a red (R) filter
- the second color filter 112 is a blue (B) filter
- the third color filter 113 is green (Gr)
- the third color filter 114 is green (Gb) .
- each filter unit of the filter of the present embodiment may be the same or different. In this embodiment, preferably, the structure of each filter unit is the same.
- the first color filter 111 in FIG. 1 is an image corresponding to a red (R) filter.
- R red
- B blue
- the image pixel position can only obtain the corresponding blue component, and it is necessary to estimate the red component and the green component corresponding to the pixel position. Therefore, based on the image taken by the filter used in the embodiment, since each pixel position in the entire image needs to be estimated to restore two color components, the color reproduction degree of the entire image is not high, which affects the display effect of the entire image. .
- the image color processing method provided by the present invention introduces a micro electro mechanical system, and determines a preset moving distance according to a distribution structure of a color filter in the filter unit, and triggers the MEMS system to control the image according to a preset moving distance.
- the sensor moves to the corresponding position to capture the reference image, thereby obtaining more real color components from the reference image and synthesizing the same pixel position, thereby improving the image color reproduction degree.
- MEMS Micro-Electro-Mechanical System
- micro-electro-mechanical systems also known as micro-electro-mechanical systems, micro-systems, micro-machines, etc.
- micro-electronic technology semiconductor manufacturing technology
- etching, etching, thin film, LIGA silicon micromachining, non-silicon micromachining and precision machining.
- Its operating range is in the micrometer range, enabling precise displacement control with very high accuracy and reaching pixel level (ie, the distance that the MEMS can move the image sensor each time can be comparable to the size of the image sensor pixel).
- the microelectromechanical system includes a fixed electrode 21, a movable electrode 22, and a deformable connection member 23.
- the movable electrode 22 is engaged with the fixed electrode 21.
- the connecting member 23 is fixedly connected to the fixed electrode 21 and the movable electrode 22.
- the fixed electrode 21 and the movable electrode 22 are used to generate an electrostatic force under the action of a driving voltage.
- the connecting member 23 is adapted to be deformed in the direction in which the movable electrode 22 moves under the action of an electrostatic force to allow the movable electrode 22 to move to drive the image sensor 30 to move.
- the corresponding MEMS control image transmission is set.
- the sensor moves in different directions.
- the MEMS can be set in the horizontal direction and the vertical direction of the image sensor, so that the MEMS can drive the image sensor to move horizontally to the left or right, horizontally upward or downward, etc.
- the MEMS system controls the step size of each movement of the image sensor, etc., and the system may be calibrated according to a large amount of experimental data, or may be set by the user according to requirements.
- FIG. 3 is a flowchart of an image color processing method according to an embodiment of the present application; as shown in FIG. 3, specifically, the following steps may be included:
- S102 Trigger the MEMS system to move the image sensor by a pixel distance to a first position in a preset first direction, and capture a second frame image at the first position.
- S103 Trigger the MEMS system to move the image sensor from a first position to a preset second direction by a pixel distance to a second position, and the second position captures a third frame image.
- the user aligns the terminal device with the shooting object to perform focusing, and after focusing, captures the first frame image corresponding to the preview image.
- Figure 4 is a schematic diagram of the color components acquired by the filter in the first frame image, for example:
- the pixel position a corresponding to the red color filter (R) 111 is obtained as a red component
- the pixel position b corresponding to the green color filter (Gb) 114 is obtained as a green component
- the pixel corresponding to the blue color filter (B) 112 is obtained.
- the position c gets the blue component.
- the matrix unit includes: a first color filter 111 and a second color filter 112 disposed diagonally. And two third color filters 113 and 114 deployed diagonally. It can be seen that, for the same pixel position, if three color components are respectively acquired by filters of different colors, the MEMS control image sensor can be triggered based on the first color component acquired in the first frame image.
- the triggering MEMS control image sensor moves from the first position to the preset second direction by one pixel distance to the second position, and captures the third frame image at the second position, and acquires the pixel position corresponding to the pixel position in the third frame image The third color component.
- the preset first direction and the second direction may be set according to actual application requirements.
- the preset first direction is the lateral direction
- the preset second direction is the longitudinal direction
- the preset first direction is the longitudinal direction
- the preset second direction is the lateral direction.
- the longitudinal direction is a row direction of the filter unit arranged in a matrix form
- the lateral direction is a column direction of the filter unit arranged in a matrix form.
- the second direction to the preset is upward or downward; Or, when moving to the left in the preset first direction, the second direction to the preset is upward or downward; when the first direction to the preset is upward, the second direction is preset. To the left or right; when the first direction to the preset is downward, the second direction to the preset is left or right.
- Figure 5 is a schematic diagram of color components acquired by a filter in a second frame image
- Figure 6 is a schematic diagram of color components acquired by a filter in a third frame image
- the shaded portion is filled with a diagonal line in the figure as the selected reference pixel position d (corresponding to a certain point of the image of the external scene), and the pixel position d is taken as an example.
- the color component acquired by the pixel position through the filter is a red (R) color component
- the MEMS system drives the image sensor to a preset first direction (to move to the right Example) after moving a pixel distance, in a state of the first position as shown in FIG. 5
- the color component acquired by the pixel position through the filter is a green (Gb) color component
- the MEMS system further drives the image sensor to move to a preset second direction (for example, moving downward) to be in a second position state as shown in FIG. 6 , and the color component acquired by the pixel position through the filter It is the blue (B) color component. In this way, the pixel position can be made to obtain three primary color components, respectively.
- the image sensor moving in this manner does not necessarily obtain the three primary color components at each pixel position, for example, the pixel position at the shadow portion b of the grid fill in FIG. 4 to FIG. 6 is
- the color component acquired by the pixel position through the filter is a green (Gb) color component
- the MEMS system drives the image sensor to move a pixel distance in the first direction.
- the color component acquired by the pixel position through the filter is a red (R) color component
- the MEMS system drives the image sensor to move the pixel distance to the second direction to the second
- the color obtained by the pixel position through the filter is still a green (Gr) color component. Therefore, the pixel position is only able to obtain two color components (green and red) while still lacking the blue color component.
- the pixel position at the hatched portion c of the horizontal line is taken as an example.
- the color component acquired by the pixel position through the filter is blue.
- B a color component, and when the MEMS system drives the image sensor to move the pixel distance to the first position in the first direction, as shown in FIG. 5, the color component acquired by the pixel position through the filter is green (Gr).
- the pixel position cannot acquire the color component through the filter. Therefore, the pixel position is only able to obtain two color components (blue and green) while still missing the red color component.
- the pixel position at some edges corresponding to the filter even if the image sensor moves as described above After two times, only one color component can be obtained.
- the color component acquired by the light sheet is a red (R) color component
- the MEMS system drives the image sensor to move the pixel distance to the first position in the first direction, as shown in FIG. 5, the pixel position cannot pass the filtering.
- the slice acquires the color component.
- the MEMS system again drives the image sensor to move the pixel distance to the second position in the second direction, as shown in FIG. 6, the pixel position still cannot obtain the color component through the filter. Therefore, the pixel position can only obtain one color component (red) while still lacking the green and blue color components.
- the color components obtained at the respective pixel positions are respectively subjected to synthesis processing, and for the missing color components at each pixel position, a certain position may be missing.
- the color component may lack two color components at some positions, and in order to obtain the missing color component, the missing color component may be specifically obtained by the estimation method in the prior art.
- the estimation of the color component is not required at some pixel positions compared to the prior art described above, and only the estimation of the remaining color component is required at a part of the pixel position, thereby
- the number of pixel positions that need to be estimated is greatly reduced, the workload is reduced, and the inaccuracy caused by the estimation can be minimized, and the accuracy and authenticity of image color reproduction can be improved.
- the image color restoration method provided by the embodiment controls the image sensor to move by using the MEMS system, and the image sensor is provided with a photosensitive pixel array and a filter, the filter includes a plurality of filter units, and the filter unit
- the utility model comprises a first color filter, a second color filter and two third color filters, the filter unit is arranged in a matrix structure of two rows and two columns, and the micro electro mechanical system with precise displacement control function (having pixels Level control precision) controlling the image sensor to move a pixel distance along the preset first direction and the preset second direction, so that the terminal device acquires the first frame image before moving, and acquires the second frame after moving the first direction And acquiring an image of the third frame after moving the second direction, and synthesizing the first frame image, the second frame image, and the third frame image according to the color component of each pixel position of each frame image to form a fourth frame image, that is, The final image, so that more color components in the image pixels can be obtained, High true color reproduction and image quality.
- step 104 in the foregoing embodiment different processing methods may be used to estimate missing color components in the pixel position according to actual application requirements, such as a color table lookup method, an interpolation method, etc., in order to more clearly explain the missing color components.
- the estimation process combined with the embodiment shown in FIG. 7, is specifically described by the interpolation estimation method as follows:
- FIG. 7 is a flowchart of an image color processing method according to another embodiment of the present application; as shown in FIG. 7, based on the above embodiment, step 104 specifically includes:
- S1041 Acquire a first color according to a color component corresponding to each pixel position in the preview image acquired by the filter in the first frame image, the second frame image, and the third frame image. a first pixel location of the component, the second color component, and the third color component, and a second pixel location having a first color component, a second color component, and a third color component, respectively.
- some pixel positions can obtain three color components, and some pixel positions can only obtain two color components or one color component. Separating each pixel position into a first pixel position and a second pixel position according to whether the first color component, the second color component, and the third color component are simultaneously acquired, so as to adopt different colors for the two different pixel positions The way to handle it.
- S1043 Perform a synthesis process according to each color component of all second pixel positions after the interpolation process, and each color component of all the first pixel positions to generate a fourth frame image.
- the corresponding missing color component at the second pixel position lacking the color component may be obtained by a preset interpolation algorithm.
- the preset interpolation algorithm may be a Nearest Neighbour Interpolation algorithm or a bilinear interpolation algorithm. , bicubic interpolation algorithm, and fractal algorithm.
- three color components can be obtained at each pixel position, and then the first color component, the second color component, and the third color component of the first pixel position having three color components are directly synthesized, and obtained by an interpolation algorithm.
- the respective color components at the pixel positions of the remaining color components are combined, and thus, a fourth frame image having a higher color reproduction degree, that is, a final image can be obtained.
- the number of color components that can be obtained at each pixel position may be one or two or three, for the pixel position where three color components cannot be obtained, if the second pixel position Having one color component, the other two color components missing from all the second pixel positions are acquired by a preset interpolation algorithm; or, if the second pixel position has two color components, all are acquired by a preset interpolation algorithm Another color component missing from the second pixel location.
- the image color restoration method provided by the embodiment controls the image sensor to move by using the MEMS system, and the image sensor is provided with a photosensitive pixel array and a filter, the filter includes a plurality of filter units, and the filter unit On
- the utility model comprises a first color filter, a second color filter and two third color filters, the filter unit is arranged in a matrix structure of two rows and two columns, and the micro electro mechanical system with precise displacement control function (having a pixel level) Control precision) controlling the image sensor to move a pixel distance along the preset first direction and the preset second direction, so that the terminal device acquires the first frame image before moving, and acquires the second frame image after moving the first direction Obtaining a third frame image after moving the second direction, and synthesizing the first frame image, the second frame image, and the third frame image according to color components of each pixel position of each frame image to form a fourth frame image, that is, finally
- the image thereby obtaining more color components in the image pixels, improves the restoration effect and image quality
- the present application also proposes an image color processing device.
- FIG. 8 is a schematic structural diagram of an image color processing apparatus according to an embodiment of the present application.
- the image color processing device is applied to a terminal device having a shooting function.
- the imaging module in the terminal device includes: a microelectromechanical system and an image sensor, wherein
- the MEMS controls movement of the image sensor, the image sensor comprising a photosensitive pixel array, and a filter disposed on the photosensitive pixel array.
- the filter 10 includes a plurality of filter units 11, each filter unit 11 being a matrix unit of two rows and two columns, the matrix unit comprising: a first color filter disposed diagonally a sheet 111 and a second color filter 112, and two third color filters (113, 114) disposed diagonally;
- the image color processing apparatus includes:
- a first processing module 41 configured to capture a first frame image of the preview image at an initial position
- a second processing module 42 configured to trigger the MEMS to move the image sensor from the initial position to a preset first direction by a pixel distance to a first position, and to capture a second position at the first position Frame image
- a third processing module 43 configured to trigger the MEMS to move the image sensor from the first position to a preset second direction by one pixel distance to a second position, and to shoot at the second position Three frame image;
- a synthesizing module 44 configured to: according to the first frame image, the second frame image, and a color component corresponding to each pixel position in the preview image acquired by the filter in the third frame image, A synthesis process is performed to generate a fourth frame image of the preview picture.
- the preset second direction is a longitudinal direction; or, if the preset first direction is a longitudinal direction, The preset second direction is the lateral direction.
- the image color processing device of the embodiment of the present application controls the image sensor to move by using the MEMS system, and the figure
- the image sensor is provided with a photosensitive pixel array and a filter, the filter comprises a plurality of filter units, and the filter unit comprises a first color filter, a second color filter and two third colors.
- Filter filter unit arranged in a matrix of two rows and two columns, MEMS with precise displacement control (with pixel-level control accuracy) controls the image sensor along the preset first direction and preset second
- the direction moves by one pixel distance, so that the terminal device acquires the first frame image before moving, acquires the second frame image after moving the first direction, and acquires the third frame image after moving the second direction, and according to each frame image
- the color component of the pixel position combines the first frame image, the second frame image, and the third frame image to form a fourth frame image, that is, a final image, so that more color components in the image pixels can be acquired, and the true color is improved. Restore effect and image quality.
- FIG. 9 is a schematic structural diagram of an image color processing apparatus according to another embodiment of the present application.
- the synthesizing module 44 specifically includes: an obtaining unit 441 , a calculating unit 442 , and a generating unit 443 .
- the acquiring unit 441 is configured to: according to the first frame image, the second frame image, and the color corresponding to each pixel position in the preview image acquired by the filter in the third frame image a first pixel position having both a first color component, a second color component, and a third color component, and a second pixel position having a first color component, a second color component, and a third color component at the same time .
- the calculating unit 442 is configured to: acquire, by using a preset interpolation algorithm, a color component that is missing from all the second pixel positions.
- the generating unit 443 is configured to: perform, according to each color component of all the second pixel positions after the interpolation processing, and each color component of all the first pixel positions, a fourth frame image of the preview image.
- the calculating unit 442 is configured to: if the second pixel location has one color component, acquire, by using a preset interpolation algorithm, another two color components that are missing from all the second pixel positions; Alternatively, if the second pixel location has two color components, another color component that is missing from all of the second pixel locations is acquired by a preset interpolation algorithm.
- the present application also proposes a terminal device.
- FIG. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
- the terminal device 1000 in this embodiment may be a mobile phone or the like having a photographing function.
- the terminal device includes: a housing and an imaging module 1000 disposed in the housing, wherein the imaging module 1000 includes: a micro electro mechanical system 20, an image sensor 30, a lens 1001, a memory 1002, and Processor 1003,
- the MEMS 20 controls the image sensor movement
- the image sensor includes a photosensitive pixel array, and a filter disposed on the photosensitive pixel array, the filter includes a plurality of filter units, each filter unit is a matrix unit of two rows and two columns, The matrix unit includes: a first color filter and a second color filter disposed diagonally, and two third color filters disposed diagonally;
- the memory 1002 is configured to store executable program code
- the processor 1003 performs by reading executable program code stored in the memory 1002 to:
- the MEMS system in the terminal device controls the image sensor to move
- the image sensor is provided with a photosensitive pixel array and a filter
- the filter includes a plurality of filter units
- the filter The unit comprises a first color filter, a second color filter and two third color filters
- the filter unit is arranged in a matrix of two rows and two columns
- the microelectromechanical system has precise displacement control function (having Pixel-level control accuracy) controlling the image sensor to move a pixel distance along the preset first direction and the preset second direction, so that the terminal device acquires the first frame image before moving, and acquires the second after moving the first direction a frame image, after acquiring the second direction, acquiring a third frame image, and synthesizing the first frame image, the second frame image, and the third frame image according to color components of each pixel position of each frame image to form a fourth frame image, That is, the final image, so that more color components in the image pixels can be acquired, and the restoration effect and image
- first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
- features defining “first” or “second” may include at least one of the features, either explicitly or implicitly.
- the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
- a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
- computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
- the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
- portions of the application can be implemented in hardware, software, firmware, or a combination thereof.
- multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
- a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
- each functional unit in each embodiment of the present application may be integrated into one agent module, or each unit may exist physically separately, or two or more units may be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
- the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
- the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like. While the embodiments of the present application have been shown and described above, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the present application. The embodiments are subject to variations, modifications, substitutions and variations.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Color Television Image Signal Generators (AREA)
Abstract
本申请提出一种图像色彩处理方法、装置及终端设备,该方法用在具有拍摄功能的终端设备中,微机电系统控制图像传感器移动,图像传感器包括滤光单元,滤光单元包括:对角部署的第一颜色滤片和第二颜色滤片,对角部署的两个第三颜色滤片;包括:在初始位置对预览画面拍摄第一帧图像;触发微机电系统将图像传感器从初始位置向预设第一方向移动一像素距离到第一位置,在第一位置拍摄第二帧图像;触发微机电系统将图像传感器从第一位置向预设第二方向移动一像素距离到第二位置,在第二位置拍摄第三帧图像;根据第一帧图像、第二帧图像及第三帧图像中各像素位置对应的颜色分量合成第四帧图像。由此,提高了图像色彩还原的准确度。
Description
相关申请的交叉引用
本申请要求广东欧珀移动通信有限公司于2016年7月29日提交的、申请名称为“图像色彩处理方法、装置及终端设备”的、中国专利申请号“201610616225.9”的优先权。
本申请涉及图像处理技术领域,尤其涉及一种图像色彩处理方法、装置及终端设备。
各种带有拍摄功能的终端设备广泛应用于日常生活中,终端设备在拍摄时需要对待获取的画面进行图像色彩还原处理,以尽可能获得质量较好的拍摄图像。
由于图像的真彩色是指在组成一幅彩色图像的每个像素值中,有R、G、B三个基色分量,每个基色分量直接决定显示设备的基色强度产生彩色。但是,现有技术中的图像传感器出来的的数据格式为bayer数据格式,这种格式每个像素点只有三个颜色通道中的一个,因此,每个像素点只有一个真实的颜色分量,其他缺失的颜色分量需要通过其他处理方式估算获取,并将估算的颜色分量与真实的颜色分量进行合成处理。
因此,目前的终端设备在拍摄画面时,导致所获取的图像色彩与真实的画面色彩出入较大,对图像的色彩还原度不好。
发明内容
本申请旨在至少在一定程度上解决相关技术中的技术问题之一。
为此,本申请的第一个目的在于提出一种图像色彩处理方法,该方法实现了能够获取图像像素中更多的颜色分量,提高了图像真实色彩的还原效果和图像质量。
本申请的第二个目的在于提出一种图像色彩处理装置。
本申请的第三个目的在于提出一种终端设备。
为达上述目的,本申请第一方面实施例提出了一种图像色彩处理方法,所述方法应用在终端设备中,所述终端设备的成像模组包括:微机电系统和图像传感器,其中,所述微机电系统控制所述图像传感器移动,所述图像传感器包括感光像素阵列,以及设置在所述感光像素阵列上的滤光片,所述滤光片包括多个滤光单元,每个滤光单元为两行两列的矩阵单元,所述矩阵单元包括:对角部署的一个第一颜色滤片和一个第二颜色滤片,以及对
角部署的两个第三颜色滤片;
所述方法包括以下步骤:
在初始位置对预览画面拍摄第一帧图像;
触发所述微机电系统将所述图像传感器从初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;
触发所述微机电系统将所述图像传感器从所述第一位置向预设的第二方向移动一个像素距离到第二位置,并在所述第二位置拍摄第三帧图像;
根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
本申请实施例的图像色彩处理方法,通过利用微机电系统精确控制图像传感器移动,而图像传感器上设置了滤光片和感光像素阵列,滤光片包括多个滤光片单元,多个滤光片单元形成两行两列的矩阵结构,而滤光片单元上包括第一颜色滤片、第二颜色滤片和两个第三颜色滤片,具有精确位移控制功能的微机电系统控制图像传感器沿预设的第一方向和预设的第二方向分别移动一个像素距离,以使得终端设备在移动前获取第一帧图像,在移动第一方向后获取第二帧图像,在移动第二方向后获取第三帧图像,并根据各帧图像的各像素位置的颜色分量将第一帧图像、第二帧图像和第三帧图像进行合成形成第四帧图像,即最终图像,如此一来能够获取图像像素中更多的颜色分量,提高了真实色彩的还原效果和图像质量。
为达上述目的,本申请第二方面实施例提出了一种图像色彩处理装置,该装置应用在具有拍摄功能的终端设备中,
所述终端设备中的成像模组包括:微机电系统和图像传感器,其中,
所述微机电系统控制所述图像传感器移动,所述图像传感器包括感光像素阵列,以及设置在所述感光像素阵列上的滤光片,所述滤光片包括多个滤光单元,每个滤光单元为两行两列的矩阵单元,所述矩阵单元包括:对角部署的一个第一颜色滤片和一个第二颜色滤片,以及对角部署的两个第三颜色滤片;
所述装置包括:
第一处理模块,用于在初始位置对预览画面拍摄第一帧图像;
第二处理模块,用于触发所述微机电系统将所述图像传感器从所述初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;
第三处理模块,用于触发所述微机电系统将所述图像传感器从所述第一位置向预设的第二方向移动一个像素距离到第二位置,并在所述第二位置拍摄第三帧图像;
合成模块,用于根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
本申请实施例的图像色彩处理装置,该图像色彩处理装置应用在终端设备中,终端设备中的成像模组包括微机电系统和图像传感器,微机电系统与图像传感器相连,微机电系统控制图像传感器移动,而图像传感器上设置了滤光片和感光像素阵列,滤光片包括多个滤光片单元,多个滤光片单元形成两行两列的矩阵结构,而滤光片单元上包括第一颜色滤片、第二颜色滤片和两个第三颜色滤片,具有精确位移控制功能的微机电系统控制图像传感器沿预设的第一方向和预设的第二方向移动一个像素距离,以使得终端设备在移动前获取第一帧图像,在移动第一方向后获取第二帧图像,在移动第二方向后获取第三帧图像,并根据各帧图像的各像素位置的颜色分量将第一帧图像、第二帧图像和第三帧图像进行合成形成第四帧图像,即最终图像,如此一来能够获取图像像素中更多的颜色分量,提高了真实色彩的还原效果和图像质量。
为达上述目的,本申请第三方面实施例提出了一种终端设备,包括:壳体和设置在所述壳体内的成像模组,其中,所述成像模组包括:微机电系统、图像传感器、镜头、存储器和处理器,
所述微机电系统控制所述图像传感器移动,
所述图像传感器包括感光像素阵列,以及设置在所述感光像素阵列上的滤光片,所述滤光片包括多个滤光单元,每个滤光单元为两行两列的矩阵单元,所述矩阵单元包括:对角部署的一个第一颜色滤片和一个第二颜色滤片,以及对角部署的两个第三颜色滤片;
所述存储器用于存储可执行程序代码;
所述处理器通过读取存储器中存储的可执行程序代码以执行:
在初始位置对预览画面拍摄第一帧图像;
触发所述微机电系统将所述图像传感器从所述初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;
触发所述微机电系统将所述图像传感器从所述第一位置向预设的第二方向移动一个像素距离到第二位置,并在所述第二位置拍摄第三帧图像;
根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
本申请实施例的终端设备,该终端设备中的微机电系统控制图像传感器移动,而图像传感器上设置了滤光片和感光像素阵列,滤光片包括多个滤光片单元,多个滤光片单元形
成两行两列的矩阵结构,而滤光片单元上包括第一颜色滤片、第二颜色滤片和两个第三颜色滤片,具有精确位移控制功能的微机电系统控制图像传感器沿预设的第一方向和预设的第二方向移动一个像素距离,以使得终端设备在移动前获取第一帧图像,在移动第一方向后获取第二帧图像,在移动第二方向后获取第三帧图像,并根据各帧图像的各像素位置的颜色分量将第一帧图像、第二帧图像和第三帧图像进行合成形成第四帧图像,即最终图像,如此一来能够获取图像像素中更多的颜色分量,提高了真实色彩的还原效果和图像质量。
为达上述目的,本申请第四方面实施例提出了一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行一种图像色彩处理方法,所述方法包括:
在初始位置对预览画面拍摄第一帧图像;
触发所述微机电系统将所述图像传感器从所述初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;
触发所述微机电系统将所述图像传感器从所述第一位置向预设的第二方向移动一个像素距离到第二位置,并在所述第二位置拍摄第三帧图像;
根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
为达上述目的,本申请第五方面实施例提出了一种存储介质,当所述存储介质中的指令由移动终端的处理器被执行时,使得移动设备能够执行一种图像色彩处理方法,所述方法包括:
在初始位置对预览画面拍摄第一帧图像;
触发所述微机电系统将所述图像传感器从所述初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;
触发所述微机电系统将所述图像传感器从所述第一位置向预设的第二方向移动一个像素距离到第二位置,并在所述第二位置拍摄第三帧图像;
根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1是本申请一个实施例的图像色彩处理方法中所应用的终端设备中滤光片的结构示意图;
图2是本申请一个实施例的图像色彩处理方法所涉及的微机电系统与图像传感器的结构示意图;
图3是本申请一个实施例的图像色彩处理方法的流程图;
图4所示的是第一帧图像中通过滤光片获取的颜色分量示意图;
图5所示的是第二帧图像中通过滤光片获取的颜色分量示意图;
图6所示的是第三帧图像中通过滤光片获取的颜色分量示意图;
图7是本申请另一个实施例的图像色彩处理方法的流程图;
图8是本申请一个实施例的图像色彩处理装置的结构示意图;
图9是本申请另一个实施例的图像色彩处理装置的结构示意图;
图10是本申请一个实施例的终端设备的结构示意图。
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。
下面参考附图描述本申请实施例的图像色彩处理方法、装置及终端设备。
具体地,本发明提供的图像色彩处理方法应用在具有拍摄功能的终端设备中,需要说明的是,终端设备的类型很多,例如包括:手机、平板电脑、可穿戴设备等。
带有拍摄功能的终端设备包括成像模组。其中,成像模组中的图像传感器包括感光像素阵列,以及设置在感光像素阵列上的滤光片。感光原理为感光像素阵列的感光单元通过接收从滤光片滤过的光信号以产生电信号,并通过曝光得到色彩的输出。
需要说明的是,滤光片的结构决定了每个拍摄图像的像素位置对应过滤的颜色分量的分布情况,可以根据实际应用需要选择不同的滤光片结构进行图像拍摄。本实施例提供的图像色彩处理方法所涉及应用的滤光片结构如图1所示,具体如下:
图1是本申请一个实施例的图像色彩处理方法中所应用的终端设备中滤光片的结构示意图;请参照图1,滤光片10包括多个滤光单元11,每个滤光单元11为两行两列的矩阵单元,矩阵单元包括:对角部署的一个第一颜色滤片111和一个第二颜色滤片112,以及
对角部署的两个第三颜色滤片113和114。
其中,需要注意的是,第一颜色滤片、第二颜色滤片、以及第三颜色滤片的位置可以根据应用需要进行部署。例如,如图1所示的滤光片中的每个滤光单元中的颜色滤片的部署为:采用1红2绿1蓝的排列方式排列成BAYER(拜耳阵列),第一颜色滤片111为红色(R)滤光片,第二颜色滤片112为蓝色(B)滤光片,第三颜色滤片113为绿色(Gr)、以及第三颜色滤片114为绿色(Gb)。
需要说明的是,本实施例滤光片的各滤光单元的结构部署可以相同也可以不同,在本实施例中,优选的,每个滤光单元的结构部署相同。
由于每个颜色滤片仅能够获得一个颜色分量,对于其他两个颜色分量均需要通过一系列算法估算得到,例如图1中的第一颜色滤片111为红色(R)滤光片对应的图像像素位置,只能得到对应的红色分量,需要估算与该像素位置对应的蓝色分量和绿色分量;或者,例如图1中的第二颜色滤片112为蓝色(B)滤光片对应的图像像素位置,只能得到对应的蓝色分量,需要估算与该像素位置对应的红色分量和绿色分量。因此,基于本实施例采用的滤光片拍摄的图像,由于整个图像中的每个像素位置都需要估算还原两个颜色分量,因此,整个图像的色彩还原度不高,影响整个图像的显示效果。
为了解决上述问题,本发明提供的图像色彩处理方法引入微机电系统,根据滤光单元中的颜色滤片的分布结构,确定预设的移动距离,触发微机电系统根据预设的移动距离控制图像传感器移动到相应的位置拍摄参考图像,从而从参考图像中获取与同一像素位置更多的真实颜色分量进行合成,提高图像色彩的还原度。其中,微机电系统(MEMS,Micro-Electro-Mechanical System),也可叫做微电子机械系统、微系统、微机械等,是在微电子技术(半导体制造技术)基础上发展起来的,融合了光刻、腐蚀、薄膜、LIGA、硅微加工、非硅微加工和精密机械加工等技术制作的高科技电子机械器件。其操作范围在微米范围内,能够实现精密的位移控制,具有非常高的精度,可达到像素级别(即MEMS每次带动图像传感器移动的距离可以与图像传感器像素的尺寸相当)。
图2是本申请一个实施例的图像色彩处理方法所涉及的微机电系统与图像传感器的结构示意图,下面结合附图2对微机电系统(MEMS)带动图像传感器运动的原理进行说明,具体的,微机电系统(MEMS)包括固定电极21、活动电极22及可形变连接件23。活动电极22与固定电极21配合。连接件23固定连接固定电极21及活动电极22。固定电极21及活动电极22用于在驱动电压的作用下产生静电力。连接件23用于在静电力的作用下沿活动电极22移动的方向形变以允许活动电极22移动从而带动图像传感器30移动。
其中,需要说明的是,根据具体应用需求的不同,设置相应的微机电系统控制图像传
感器向不同的方向移动,例如:可在图像传感器的水平方向和垂直方向分别设置微机电系统,从而微机电系统可带动图像传感器进行水平向左或者向右移动、水平向上或者向下移动等。其中,上述微机电系统控制图像传感器每次移动的步长等,可由系统根据大量实验数据进行标定,也可由用户根据需求自行设置等。
图3是本申请一个实施例的图像色彩处理方法的流程图;如图3所示,具体可以包括以下步骤:
S101,在初始位置对预览画面拍摄第一帧图像。
S102,触发所述微机电系统将所述图像传感器向预设的第一方向移动一个像素距离到第一位置,并在第一位置拍摄第二帧图像。
S103,触发所述微机电系统将所述图像传感器从第一位置向预设的第二方向移动一个像素距离到第二位置,并第二位置拍摄第三帧图像。
具体地,在拍摄时,用户将终端设备对准拍摄物体进行对焦,完成对焦后拍摄与预览画面对应的第一帧图像。
图4所示的是第一帧图像中通过滤光片获取的颜色分量示意图,例如:
红色滤光片(R)111对应的像素位置a获取的为红色分量,绿色滤光片(Gb)114对应的像素位置b获取的为绿色分量,蓝色滤光片(B)112对应的像素位置c获取的为蓝色分量。
由于本发明涉及到的图像传感器中每个滤光单元中颜色分布结构为两行两列的矩阵单元,矩阵单元包括:对角部署的一个第一颜色滤片111和一个第二颜色滤片112,以及对角部署的两个第三颜色滤片113和114。由此可见,针对同一个像素位置,如果想通过不同颜色的滤光片分别获取三个颜色分量,在第一帧图像中获取的第一颜色分量的基础上,可以触发微机电系统控制图像传感器从初始位置向预设的第一方向移动一个像素距离到第一位置,并在第一位置拍摄第二帧图像,在第二帧图像中获取与该像素位置对应的第二颜色分量,然后再次触发微机电系统控制图像传感器从第一位置向预设的第二方向移动一个像素距离到第二位置,并在第二位置拍摄第三帧图像,在第三帧图像中获取与该像素位置对应的第三颜色分量。
其中,需要说明的是,上述预设的第一方向和第二方向可以根据实际应用需要进行设置。例如:若预设的第一方向为横向方向,则预设的第二方向为纵向方向;或者,若预设的第一方向为纵向方向,则预设的第二方向为横向方向。其中,纵向方向是以矩阵形式排列的滤光单元的行方向,横向方向是以矩阵形式排列的滤光单元的列方向。
具体来说,即,当向预设的第一方向为向右时,则向预设的第二方向为向上或向下;
或者,当向预设的第一方向移动为向左时,则向预设的第二方向为向上或向下;当向预设的第一方向为向上时,则向预设的第二方向为向左或向右;当向预设的第一方向为向下时,则向预设的第二方向为向左或向右。
为了更加清楚的说明上述实施过程,结合图4至图6所示举例说明如下。
图5所示的是第二帧图像中通过滤光片获取的颜色分量示意图;
图6所示的是第三帧图像中通过滤光片获取的颜色分量示意图;
如图4-图6所示,以图中斜线填充阴影部分为所选取的参考像素位置d(对应外界景物的像的某一点),以该像素位置d点为例,在初始位置时,即微机电系统未带动图像传感器移动时,该像素位置通过滤光片所获取的颜色分量为红色(R)颜色分量;微机电系统带动图像传感器向预设的第一方向(以向右移动为例)移动一个像素距离后处于如图5第一位置状态,该像素位置通过滤光片所获取的颜色分量为绿色(Gb)颜色分量;之后,基于图5所示处于的第一位置状态,微机电系统再带动图像传感器向预设的第二方向(以向下移动为例)移动一个像素距离后处于如图6所示第二位置状态,该像素位置通过滤光片所获取的颜色分量为蓝色(B)颜色分量。如此一来,能够使得该像素位置可以分别获得三基色分量。
当然,可以理解的是,采用该种方式移动的图像传感器,在每个像素位置并不一定都能够得到三基色分量,例如,以图4至图6中网格填充阴影部分b处像素位置为例,在图像传感器移动之前,如图4所示,该像素位置通过滤光片所获取的颜色分量为绿色(Gb)颜色分量,而当微机电系统带动图像传感器向第一方向移动一个像素距离至第一位置后,如图5所示,该像素位置通过滤光片所获取的颜色分量为红色(R)颜色分量,当微机电系统再次带动图像传感器向第二方向移动一个像素距离至第二位置后,如图6所示,该像素位置通过滤光片所获取的颜色仍然为绿色(Gr)颜色分量。因此,该像素位置仅能够获得两个颜色分量(绿色和红色),而仍然缺少蓝色颜色分量。
或者,例如,如图4至图6中横线填充阴影部分c处像素位置为例,在图像传感器移动之前,如图4所示,该像素位置通过滤光片所获取的颜色分量为蓝色(B)颜色分量,而当微机电系统带动图像传感器向第一方向移动一个像素距离至第一位置后,如图5所示,该像素位置通过滤光片所获取的颜色分量为绿色(Gr)颜色分量,当微机电系统再次带动图像传感器向第二方向移动一个像素距离至第二位置后,如图6所示,该像素位置无法通过滤光片获取颜色分量。因此,该像素位置仅能够获得两个颜色分量(蓝色和绿色),而仍然缺少红色颜色分量。
另外,在滤光片对应的某些边缘处的像素位置,即使在图像传感器按照上述方式移动
两次后,也仅能得到一个颜色分量,例如,以图4至图6中竖线填充阴影部分a处像素位置为例,在图像传感器移动之前,如图4所示,该像素位置通过滤光片所获取的颜色分量为红色(R)颜色分量,而当微机电系统带动图像传感器向第一方向移动一个像素距离至第一位置后,如图5所示,该像素位置无法通过滤光片获取颜色分量,当微机电系统再次带动图像传感器向第二方向移动一个像素距离至第二位置后,如图6所示,该像素位置仍然无法通过滤光片获取颜色分量。因此,该像素位置仅能够获得一个颜色分量(红色),而仍然缺少绿色和蓝色颜色分量。
S104,根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
具体地,通过将上述的预览画面中各像素位置处对应的颜色分量进行合成,某些像素位置处所获得的颜色分量有三个,例如图4至图6所示的d处像素位置能获得三个颜色分量;而某些像素位置处所获得的颜色分量则只有两个,例如图4至图6所示的b处和c处的像素位置均仅能获得两个颜色分量;甚至某些像素位置处所获得的颜色分量则只有一个,例如图4至图6所示的a处的像素位置仅能获得一个颜色分量。
无论每个像素位置处所能获得的颜色分量的数量为几个,将各个像素位置处所获得的颜色分量分别对应进行合成处理,而对于各像素位置处所缺少的颜色分量,某些位置处可能缺少一个颜色分量,某些位置处可能缺少两个颜色分量,而为了获得所缺少的颜色分量,具体还可以通过现有技术中的估算方法获得所缺少的颜色分量。
采用上述方式合成的第四帧图像,相较于上述的现有技术,在某些像素位置处不需要进行颜色分量的估算,仅需要在部分像素位置处进行剩余颜色分量的估算,由此,极大地减少了需要进行估算的像素位置的数量,减轻了工作量,并且,能够尽量降低由于估算所带来的不准确度,提高图像色彩还原的准确度和真实性。
本实施例提供的图像色彩还原方法,通过利用微机电系统控制图像传感器移动,而图像传感器上设置了感光像素阵列和滤光片,滤光片包括多个滤光片单元,而滤光片单元上包括一个第一颜色滤片、一个第二颜色滤片和两个第三颜色滤片,滤光单元排布成两行两列的矩阵结构,具有精确位移控制功能的微机电系统(具有像素级别的控制精度)控制图像传感器沿预设的第一方向和预设的第二方向移动一个像素距离,以使得终端设备在移动前获取第一帧图像,在移动第一方向后获取第二帧图像,在移动第二方向后获取第三帧图像,并根据各帧图像的各像素位置的颜色分量将第一帧图像、第二帧图像和第三帧图像进行合成形成第四帧图像,即最终图像,如此一来能够获取图像像素中更多的颜色分量,提
高了真实色彩的还原效果和图像质量。
针对上述实施例中步骤104,可以根据实际应用需要采用不同的处理方法对像素位置中缺失的颜色分量进行估算,例如:颜色查表法、插值法等,为了更加清楚的说明对缺失颜色分量的估算过程,结合图7所示实施例,通过插值估算方法具体说明如下:
图7是本申请另一个实施例的图像色彩处理方法的流程图;如图7所示,基于上述实施例,步骤104具体包括:
S1041,根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的预览画面中各像素位置对应的颜色分量,获取同时具有第一颜色分量、第二颜色分量、和第三颜色分量的第一像素位置,以及不同时具有第一颜色分量、第二颜色分量、和第三颜色分量的第二像素位置。
具体地,基于上述实施例中对于图4至图6的描述可知,某些像素位置能够获得三个颜色分量,而某些像素位置则只能获得两个颜色分量或者一个颜色分量。根据是否同时获取了第一颜色分量、第二颜色分量和第三颜色分量,来将各像素位置进行区分为第一像素位置和第二像素位置,以便于对该两种不同的像素位置采用不同的方式进行处理。
S1042,通过预设的插值算法获取所有第二像素位置缺少的颜色分量;
S1043,根据插值处理后所有第二像素位置的各颜色分量,以及所有第一像素位置的各颜色分量进行合成处理生成第四帧图像。
对于缺少颜色分量的第二像素位置处对应缺少的颜色分量可以通过预设的插值算法获得,具体地,预设的插值算法可以是,最近像素插值算法(Nearest Neighbour Interpolation)、双线性插值算法、双三次插值算法,以及分形算法等。如此,各个像素位置处均能够得到三个颜色分量,进而将具有三个颜色分量的第一像素位置的第一颜色分量、第二颜色分量和第三颜色分量直接进行合成,将通过插值算法获得剩余颜色分量的像素位置处的各个颜色分量合成,如此,能够得到一个色彩还原度较高的第四帧图像即,最终图像。
另外,在本实施例中,由于每个像素位置处所能获得的颜色分量的数量可能为一个或两个或三个,对于不能获得三个颜色分量的像素位置,则如果所述第二像素位置具有一个颜色分量,则通过预设的插值算法获取所有第二像素位置缺少的另外两个颜色分量;或者,如果所述第二像素位置具有两个颜色分量,则通过预设的插值算法获取所有第二像素位置缺少的另外一个颜色分量。
本实施例提供的图像色彩还原方法,通过利用微机电系统控制图像传感器移动,而图像传感器上设置了感光像素阵列和滤光片,滤光片包括多个滤光片单元,而滤光片单元上
包括一个第一颜色滤片、一个第二颜色滤片和两个第三颜色滤片,滤光单元排布成两行两列的矩阵结构,具有精确位移控制功能的微机电系统(具有像素级别的控制精度)控制图像传感器沿预设的第一方向和预设的第二方向移动一个像素距离,以使得终端设备在移动前获取第一帧图像,在移动第一方向后获取第二帧图像,在移动第二方向后获取第三帧图像,并根据各帧图像的各像素位置的颜色分量将第一帧图像、第二帧图像和第三帧图像进行合成形成第四帧图像,即最终图像,由此,能够获取图像像素中更多的颜色分量,提高了真实色彩的还原效果和图像质量,而对于部分缺少的颜色分量,再通过插值法估算得出,插值法的估算效率较高,且估算的准确度较接近于真实的颜色分量,。
为了实现上述实施例,本申请还提出一种图像色彩处理装置。
图8是本申请一个实施例的图像色彩处理装置的结构示意图。
该图像色彩处理装置所述装置应用在具有拍摄功能的终端设备中,如图2所示,所述终端设备中的成像模组包括:微机电系统和图像传感器,其中,
所述微机电系统控制所述图像传感器移动,所述图像传感器包括感光像素阵列,以及设置在所述感光像素阵列上的滤光片。
如图1所示,所述滤光片10包括多个滤光单元11,每个滤光单元11为两行两列的矩阵单元,所述矩阵单元包括:对角部署的一个第一颜色滤片111和一个第二颜色滤片112,以及对角部署的两个第三颜色滤片(113、114);
如图8所示,所述图像色彩处理装置包括:
第一处理模块41,用于在初始位置对预览画面拍摄第一帧图像;
第二处理模块42,用于触发所述微机电系统将所述图像传感器从所述初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;
第三处理模块43,用于触发所述微机电系统将所述图像传感器从所述第一位置向预设的第二方向移动一个像素距离到第二位置,并在所述第二位置拍摄第三帧图像;
合成模块44,用于根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
在本实施例中,若所述预设的第一方向为横向方向,则所述预设的第二方向为纵向方向;或者,若所述预设的第一方向为纵向方向,则所述预设的第二方向为横向方向。
需要说明的是,前述对图像色彩处理方法实施例的解释说明也适用于该实施例的图像色彩处理装置,此处不再赘述。
本申请实施例的图像色彩处理装置,通过利用微机电系统控制图像传感器移动,而图
像传感器上设置了感光像素阵列和滤光片,滤光片包括多个滤光片单元,而滤光片单元上包括一个第一颜色滤片、一个第二颜色滤片和两个第三颜色滤片,滤光单元排布成两行两列的矩阵结构,具有精确位移控制功能的微机电系统(具有像素级别的控制精度)控制图像传感器沿预设的第一方向和预设的第二方向移动一个像素距离,以使得终端设备在移动前获取第一帧图像,在移动第一方向后获取第二帧图像,在移动第二方向后获取第三帧图像,并根据各帧图像的各像素位置的颜色分量将第一帧图像、第二帧图像和第三帧图像进行合成形成第四帧图像,即最终图像,如此一来能够获取图像像素中更多的颜色分量,提高了真实色彩的还原效果和图像质量。
图9是本申请另一个实施例的图像色彩处理装置的结构示意图。
如图9所示,基于图8所示实施例,所述合成模块44具体包括:获取单元441、计算单元442和生成单元443。
所述获取单元441用于:根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,获取同时具有第一颜色分量、第二颜色分量、和第三颜色分量的第一像素位置,以及不同时具有第一颜色分量、第二颜色分量、和第三颜色分量的第二像素位置。
所述计算单元442用于:通过预设的插值算法获取所有第二像素位置缺少的颜色分量。
所述生成单元443用于:根据插值处理后所有第二像素位置的各颜色分量,以及所有第一像素位置的各颜色分量进行合成处理生成所述预览画面的第四帧图像。
在本实施例中,进一步的,所述计算单元442用于:如果所述第二像素位置具有一个颜色分量,则通过预设的插值算法获取所有第二像素位置缺少的另外两个颜色分量;或者,如果所述第二像素位置具有两个颜色分量,则通过预设的插值算法获取所有第二像素位置缺少的另外一个颜色分量。
需要说明的是,前述对图像色彩处理方法实施例的解释说明也适用于该实施例的图像色彩处理装置,此处不再赘述。
为了实现上述实施例,本申请还提出一种终端设备。
图10是本申请一个实施例的终端设备的结构示意图。本实施例中的终端设备1000可以是具有拍摄功能的移动电话等。
如图10所示,该终端设备,包括:壳体和设置在壳体内的成像模组1000,其中,所述成像模组1000包括:微机电系统20、图像传感器30、镜头1001、存储器1002和处理器1003,
所述微机电系统20控制所述图像传感器移动,
所述图像传感器包括感光像素阵列,以及设置在所述感光像素阵列上的滤光片,所述滤光片包括多个滤光单元,每个滤光单元为两行两列的矩阵单元,所述矩阵单元包括:对角部署的一个第一颜色滤片和一个第二颜色滤片,以及对角部署的两个第三颜色滤片;
所述存储器1002用于存储可执行程序代码;
所述处理器1003通过读取存储器1002中存储的可执行程序代码以执行:
在初始位置对预览画面拍摄第一帧图像;
触发所述微机电系统20将所述图像传感器30从所述初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;
触发所述微机电系统20将所述图像传感器30从所述第一位置向预设的第二方向移动一个像素距离到第二位置,并在所述第二位置拍摄第三帧图像;
根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
需要说明的是,前述对图像色彩处理方法实施例的解释说明也适用于该实施例的图像色彩处理装置,此处不再赘述。
本申请实施例的终端设备,该终端设备中的微机电系统控制图像传感器移动,而图像传感器上设置了感光像素阵列和滤光片,滤光片包括多个滤光片单元,而滤光片单元上包括一个第一颜色滤片、一个第二颜色滤片和两个第三颜色滤片,滤光单元排布成两行两列的矩阵结构,具有精确位移控制功能的微机电系统(具有像素级别的控制精度)控制图像传感器沿预设的第一方向和预设的第二方向移动一个像素距离,以使得终端设备在移动前获取第一帧图像,在移动第一方向后获取第二帧图像,在移动第二方向后获取第三帧图像,并根据各帧图像的各像素位置的颜色分量将第一帧图像、第二帧图像和第三帧图像进行合成形成第四帧图像,即最终图像,如此一来能够获取图像像素中更多的颜色分量,提高了真实色彩的还原效果和图像质量。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本申请各个实施例中的各功能单元可以集成在一个代理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。
Claims (14)
- 一种图像色彩处理方法,其特征在于,所述方法应用在具有拍摄功能的终端设备中,所述终端设备中的成像模组包括:微机电系统和图像传感器,其中,所述微机电系统控制所述图像传感器移动,所述图像传感器包括感光像素阵列,以及设置在所述感光像素阵列上的滤光片,所述滤光片包括多个滤光单元,每个滤光单元为两行两列的矩阵单元,所述矩阵单元包括:对角部署的一个第一颜色滤片和一个第二颜色滤片,以及对角部署的两个第三颜色滤片;所述方法包括以下步骤:在初始位置对预览画面拍摄第一帧图像;触发所述微机电系统将所述图像传感器从所述初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;触发所述微机电系统将所述图像传感器从所述第一位置向预设的第二方向移动一个像素距离到第二位置,并在所述第二位置拍摄第三帧图像;根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
- 根据权利要求1所述的方法,其特征在于,若所述预设的第一方向为横向方向,则所述预设的第二方向为纵向方向;或者,若所述预设的第一方向为纵向方向,则所述预设的第二方向为横向方向。
- 根据权利要求1或2所述的方法,其特征在于,所述根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的预览画面中各像素位置对应的颜色分量,进行合成处理生成第四帧图像,包括:根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,获取同时具有第一颜色分量、第二颜色分量、和第三颜色分量的第一像素位置,以及不同时具有第一颜色分量、第二颜色分量、和第三颜色分量的第二像素位置;通过预设的插值算法获取所有第二像素位置缺少的颜色分量;根据插值处理后所有第二像素位置的各颜色分量,以及所有第一像素位置的各颜色分量进行合成处理生成所述预览画面的第四帧图像。
- 根据权利要求1-3任一所述的方法,其特征在于,所述通过预设的插值算法获取所有第二像素位置缺少的颜色分量,包括:如果所述第二像素位置具有一个颜色分量,则通过预设的插值算法获取所有第二像素位置缺少的另外两个颜色分量;或者,如果所述第二像素位置具有两个颜色分量,则通过预设的插值算法获取所有第二像素位置缺少的另外一个颜色分量。
- 一种图像色彩处理装置,其特征在于,所述装置应用在具有拍摄功能的终端设备中,所述终端设备中的成像模组包括:微机电系统和图像传感器,其中,所述微机电系统控制所述图像传感器移动,所述图像传感器包括感光像素阵列,以及设置在所述感光像素阵列上的滤光片,所述滤光片包括多个滤光单元,每个滤光单元为两行两列的矩阵单元,所述矩阵单元包括:对角部署的一个第一颜色滤片和一个第二颜色滤片,以及对角部署的两个第三颜色滤片;所述装置包括:第一处理模块,用于在初始位置对预览画面拍摄第一帧图像;第二处理模块,用于触发所述微机电系统将所述图像传感器从所述初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;第三处理模块,用于触发所述微机电系统将所述图像传感器从所述第一位置向预设的第二方向移动一个像素距离到第二位置,并在所述第二位置拍摄第三帧图像;合成模块,用于根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
- 根据权利要求5所述的图像色彩处理装置,其特征在于,若所述预设的第一方向为横向方向,则所述预设的第二方向为纵向方向;或者,若所述预设的第一方向为纵向方向,则所述预设的第二方向为横向方向。
- 根据权利要求5或6所述的图像色彩处理装置,其特征在于,所述合成模块包括:获取单元,用于根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,获取同时具有第一颜色分量、第二颜色分量、和第三颜色分量的第一像素位置,以及不同时具有第一颜色分量、第二颜色分量、和第三颜色分量的第二像素位置;计算单元,用于通过预设的插值算法获取所有第二像素位置缺少的颜色分量;生成单元,用于根据插值处理后所有第二像素位置的各颜色分量,以及所有第一像素位置的各颜色分量进行合成处理生成所述预览画面的第四帧图像。
- 根据权利要求5-7任一所述的图像色彩处理装置,其特征在于,所述计算单元用于:如果所述第二像素位置具有一个颜色分量,则通过预设的插值算法获取所有第二像素位置缺少的另外两个颜色分量;或者,如果所述第二像素位置具有两个颜色分量,则通过预设的插值算法获取所有第二像素位置缺少的另外一个颜色分量。
- 一种终端设备,其特征在于,包括:壳体和设置在所述壳体内的成像模组,其中,所述成像模组包括:微机电系统、图像传感器、镜头、存储器和处理器,所述微机电系统控制所述图像传感器移动,所述图像传感器包括感光像素阵列,以及设置在所述感光像素阵列上的滤光片,所述滤光片包括多个滤光单元,每个滤光单元为两行两列的矩阵单元,所述矩阵单元包括:对角部署的一个第一颜色滤片和一个第二颜色滤片,以及对角部署的两个第三颜色滤片;所述存储器用于存储可执行程序代码;所述处理器通过读取存储器中存储的可执行程序代码以执行:在初始位置对预览画面拍摄第一帧图像;触发所述微机电系统将所述图像传感器从所述初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;触发所述微机电系统将所述图像传感器从所述第一位置向预设的第二方向移动一个像素距离到第二位置,并在所述第二位置拍摄第三帧图像;根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
- 根据权利要求9所述的终端设备,其特征在于,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,还用于执行以下步骤:若所述预设的第一方向为横向方向,则所述预设的第二方向为纵向方向;或者,若所述预设的第一方向为纵向方向,则所述预设的第二方向为横向方向。
- 根据权利要求9或10所述的终端设备,其特征在于,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,执行步骤根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的预览画面中各 像素位置对应的颜色分量,进行合成处理生成第四帧图像,包括:根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,获取同时具有第一颜色分量、第二颜色分量、和第三颜色分量的第一像素位置,以及不同时具有第一颜色分量、第二颜色分量、和第三颜色分量的第二像素位置;通过预设的插值算法获取所有第二像素位置缺少的颜色分量;根据插值处理后所有第二像素位置的各颜色分量,以及所有第一像素位置的各颜色分量进行合成处理生成所述预览画面的第四帧图像。
- 根据权利要求9-11任一所述的终端设备,其特征在于,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,执行步骤通过预设的插值算法获取所有第二像素位置缺少的颜色分量,包括:如果所述第二像素位置具有一个颜色分量,则通过预设的插值算法获取所有第二像素位置缺少的另外两个颜色分量;或者,如果所述第二像素位置具有两个颜色分量,则通过预设的插值算法获取所有第二像素位置缺少的另外一个颜色分量。
- 一种计算机程序产品,其特征在于,当所述计算机程序产品中的指令处理器执行时,执行一种图像色彩处理方法,所述方法包括:在初始位置对预览画面拍摄第一帧图像;触发所述微机电系统将所述图像传感器从所述初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;触发所述微机电系统将所述图像传感器从所述第一位置向预设的第二方向移动一个像素距离到第二位置,并在所述第二位置拍摄第三帧图像;根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
- 一种存储介质,其特征在于,当所述存储介质中的指令由移动终端的处理器被执行时,使得移动设备能够执行一种图像色彩处理方法,所述方法包括:在初始位置对预览画面拍摄第一帧图像;触发所述微机电系统将所述图像传感器从所述初始位置向预设的第一方向移动一个像素距离到第一位置,并在所述第一位置拍摄第二帧图像;触发所述微机电系统将所述图像传感器从所述第一位置向预设的第二方向移动一个像 素距离到第二位置,并在所述第二位置拍摄第三帧图像;根据所述第一帧图像、所述第二帧图像、以及所述第三帧图像中通过所述滤光片获取的所述预览画面中各像素位置对应的颜色分量,进行合成处理生成所述预览画面的第四帧图像。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610616225.9 | 2016-07-29 | ||
| CN201610616225.9A CN106210678A (zh) | 2016-07-29 | 2016-07-29 | 图像色彩处理方法、装置及终端设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018018995A1 true WO2018018995A1 (zh) | 2018-02-01 |
Family
ID=57496865
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/084031 Ceased WO2018018995A1 (zh) | 2016-07-29 | 2017-05-11 | 图像色彩处理方法、装置及终端设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106210678A (zh) |
| WO (1) | WO2018018995A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114095643A (zh) * | 2020-08-03 | 2022-02-25 | 珠海格力电器股份有限公司 | 一种多主体融合成像的方法、装置、存储介质及电子设备 |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106210678A (zh) * | 2016-07-29 | 2016-12-07 | 广东欧珀移动通信有限公司 | 图像色彩处理方法、装置及终端设备 |
| CN112492165B (zh) * | 2020-11-30 | 2022-03-15 | 维沃移动通信有限公司 | 摄像头模组、成像方法和电子设备 |
| CN113038091A (zh) * | 2021-03-11 | 2021-06-25 | 苏州乐佰图信息技术有限公司 | 一种像素轮转机构及其像素轮转的方法 |
| CN113890999B (zh) * | 2021-10-26 | 2025-04-08 | Oppo广东移动通信有限公司 | 拍摄方法及装置、电子设备及计算机可读存储介质 |
| CN114125234A (zh) * | 2021-11-26 | 2022-03-01 | 信利光电股份有限公司 | 一种基于传感器位移的多帧拍摄方法及装置 |
| CN115278002B (zh) * | 2022-06-24 | 2024-11-01 | 维沃移动通信有限公司 | 图像传感器、摄像头模组、拍摄方法、拍摄装置和电子设备 |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101115209A (zh) * | 2006-07-24 | 2008-01-30 | 三星电子株式会社 | 用于在数字拍摄装置中进行彩色内插的方法和设备 |
| CN201352824Y (zh) * | 2009-02-09 | 2009-11-25 | 侯锋 | 提高彩色成像分辨率的数码相机 |
| US20100103294A1 (en) * | 2008-10-24 | 2010-04-29 | Samsung Electronics Co., Ltd. | Image pickup devices and image processing methods using the same |
| CN104079904A (zh) * | 2014-07-17 | 2014-10-01 | 广东欧珀移动通信有限公司 | 一种彩色图像生成方法及装置 |
| CN105472357A (zh) * | 2014-08-18 | 2016-04-06 | 比亚迪股份有限公司 | 成像方法、成像装置和拍摄系统 |
| CN105611123A (zh) * | 2015-12-18 | 2016-05-25 | 广东欧珀移动通信有限公司 | 成像方法、图像传感器、成像装置及电子装置 |
| WO2016088565A1 (ja) * | 2014-12-03 | 2016-06-09 | ソニー株式会社 | 固体撮像装置、及び、電子機器 |
| CN106210678A (zh) * | 2016-07-29 | 2016-12-07 | 广东欧珀移动通信有限公司 | 图像色彩处理方法、装置及终端设备 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101482640B (zh) * | 2008-01-09 | 2012-06-20 | 鸿富锦精密工业(深圳)有限公司 | 镜头模组 |
| CN102957917B (zh) * | 2011-08-30 | 2016-03-30 | 比亚迪股份有限公司 | 一种像素阵列、摄像头及基于该阵列的色彩处理方法 |
| CN105809634B (zh) * | 2015-08-27 | 2019-03-05 | 维沃移动通信有限公司 | 一种照片的生成方法及移动终端 |
| CN105611258A (zh) * | 2015-12-18 | 2016-05-25 | 广东欧珀移动通信有限公司 | 图像传感器的成像方法、成像装置和电子装置 |
| CN105704465A (zh) * | 2016-01-20 | 2016-06-22 | 海信电子科技(深圳)有限公司 | 图像处理方法及终端 |
-
2016
- 2016-07-29 CN CN201610616225.9A patent/CN106210678A/zh active Pending
-
2017
- 2017-05-11 WO PCT/CN2017/084031 patent/WO2018018995A1/zh not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101115209A (zh) * | 2006-07-24 | 2008-01-30 | 三星电子株式会社 | 用于在数字拍摄装置中进行彩色内插的方法和设备 |
| US20100103294A1 (en) * | 2008-10-24 | 2010-04-29 | Samsung Electronics Co., Ltd. | Image pickup devices and image processing methods using the same |
| CN201352824Y (zh) * | 2009-02-09 | 2009-11-25 | 侯锋 | 提高彩色成像分辨率的数码相机 |
| CN104079904A (zh) * | 2014-07-17 | 2014-10-01 | 广东欧珀移动通信有限公司 | 一种彩色图像生成方法及装置 |
| CN105472357A (zh) * | 2014-08-18 | 2016-04-06 | 比亚迪股份有限公司 | 成像方法、成像装置和拍摄系统 |
| WO2016088565A1 (ja) * | 2014-12-03 | 2016-06-09 | ソニー株式会社 | 固体撮像装置、及び、電子機器 |
| CN105611123A (zh) * | 2015-12-18 | 2016-05-25 | 广东欧珀移动通信有限公司 | 成像方法、图像传感器、成像装置及电子装置 |
| CN106210678A (zh) * | 2016-07-29 | 2016-12-07 | 广东欧珀移动通信有限公司 | 图像色彩处理方法、装置及终端设备 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114095643A (zh) * | 2020-08-03 | 2022-02-25 | 珠海格力电器股份有限公司 | 一种多主体融合成像的方法、装置、存储介质及电子设备 |
| CN114095643B (zh) * | 2020-08-03 | 2022-11-11 | 珠海格力电器股份有限公司 | 一种多主体融合成像的方法、装置、存储介质及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106210678A (zh) | 2016-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106210677B (zh) | 图像色彩处理方法、装置及终端设备 | |
| WO2018018995A1 (zh) | 图像色彩处理方法、装置及终端设备 | |
| JP6341736B2 (ja) | 撮像装置、制御方法、プログラム、記憶媒体 | |
| CN102318335B (zh) | 摄像设备 | |
| RU2608771C2 (ru) | Устройство цифровой фотографии и способ управления им для увеличения скорости непрерывной съемки для захвата панорамных фотографий | |
| US9083880B2 (en) | Imaging device, semiconductor integrated circuit, and imaging method | |
| CN106162112B (zh) | 图像色彩处理方法、装置及终端设备 | |
| CN104113686B (zh) | 摄像装置及其控制方法 | |
| US20130286254A1 (en) | Image capturing apparatus, control method, and recording medium | |
| JP2023549924A (ja) | カメラモジュール、結像方法、電子機器、可読記憶媒体及びチップ | |
| CN106303272B (zh) | 控制方法及控制装置 | |
| WO2018018930A1 (zh) | 图像变焦处理方法、装置及终端设备 | |
| JP5484617B2 (ja) | 撮像装置 | |
| CN106162111B (zh) | 图像色彩处理方法及终端设备 | |
| CN107079092A (zh) | 摄像装置、摄像方法、处理程序 | |
| CN106101559B (zh) | 控制方法、控制装置及电子装置 | |
| CN106162110B (zh) | 图像色彩处理方法、装置及终端设备 | |
| CN106303221A (zh) | 控制方法、装置及移动终端 | |
| JP2019220830A (ja) | 撮像装置及びその制御方法、プログラム、記憶媒体 | |
| CN119449973A (zh) | 图像处理设备、图像处理方法、摄像设备、存储介质和计算机程序产品 | |
| JP6672085B2 (ja) | 情報処理装置、情報処理方法、及びプログラム | |
| CN105991911A (zh) | 控制方法、控制装置及电子装置 | |
| JP6355324B2 (ja) | 撮像装置およびその制御方法 | |
| JP2014236244A (ja) | 画像処理装置、画像処理プログラム、およびデジタルカメラ | |
| JP6597080B2 (ja) | 撮像装置 |
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: 17833300 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: 17833300 Country of ref document: EP Kind code of ref document: A1 |