Image processing method and apparatus, and electronic device
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorCheng Tang
Life of this patent
Estimating the term…
Abstract
An image processing method is provided. The image sensor is controlled to output a merged image and a color-block image of a same scene. The merged image is converted into a merged true-color image, and the color-block image is converted into a simulation true-color image. The merged true-color image and the simulation true-color image are displayed. At least one of the merged true-color image and the simulation true-color image is stored according to a user input. An image processing apparatus and an electronic device are also provided.
Claims22
An image processing method, applied in an electronic device, wherein the electronic device comprises a display and an imaging apparatus comprising an image sensor, the image sensor comprises an array of photosensitive pixel units and an array of filter units arranged on the array of photosensitive pixel units, each filter unit corresponds to one photosensitive pixel unit, and each photosensitive pixel unit comprises a plurality of photosensitive pixels, the image processing method comprises:
- controlling an image sensor to output a merged image and a color-block image of a same scene, wherein the merged image comprises an array of merged pixels, the photosensitive pixels in a same photosensitive pixel unit are collectively output as one merged pixel, the color-block image comprises image pixel units arranged in a preset array, each image pixel unit comprises a plurality of original pixels, each photosensitive pixel unit corresponds to one image pixel unit, and each photosensitive pixel corresponds to one original pixel;
- converting the merged image into a merged true-color image, and converting the color-block image into a simulation true-color image;
- displaying the merged true-color image and the simulation true-color image;
- and
- storing at least one of the merged true-color image and the simulation true-color image according to a user input.
An image processing apparatus, applied in an electronic device, wherein the electronic device comprises a display and an imaging apparatus comprising an image sensor, the image sensor comprises an array of photosensitive pixel units and an array of filter units arranged on the array of photosensitive pixel units, each filter unit corresponds to one photosensitive pixel unit, and each photosensitive pixel unit comprises a plurality of photosensitive pixels;
- the image processing apparatus comprises a non-transitory computer-readable medium comprising computer-executable instructions stored thereon, and an instruction execution system which is configured by the instructions to implement at least one of:
- a control module, configured to control the image sensor to output a merged image and a color-block image of a same scene, wherein the merged image comprises an array of merged pixels, the photosensitive pixels in a same photosensitive pixel unit are collectively output as one merged pixel, the color-block image comprises image pixel units arranged in a preset array, each image pixel unit comprises a plurality of original pixels, each photosensitive pixel unit corresponds to one image pixel unit, and each photosensitive pixel corresponds to one original pixel;
- a first converting module, configured to convert the merged image into a merged true-color image;
- a second converting module, configured to convert the color-block image into a simulation true-color image;
- a displaying module, configured to display the merged true-color image and the simulation true-color image;
- and
- a storing module, configured to store at least one of the merged true-color image and the simulation true-color image according to a user input.
An electronic device, comprising a housing, a processor, a memory, a circuit board, a power supply circuit, an input component, a display and an imaging apparatus, wherein,
- the circuit board is enclosed by the housing;
- the processor and the memory are positioned on the circuit board;
- the power supply circuit is configured to provide power for respective circuits or components of the electronic device;
- the imaging apparatus comprises an image sensor, wherein the image sensor comprises an array of photosensitive pixel units and an array of filter units arranged on the array of photosensitive pixel units, each filter unit corresponds to one photosensitive pixel unit, and each photosensitive pixel unit comprises a plurality of photosensitive pixels;
- the input component is configured to receive a user input;
- the display is configured to display images;
- the memory is configured to store executable program codes;
- and
- the processor is configured to run a program corresponding to the executable program codes by reading the executable program codes stored in the memory, to perform following operations:
- controlling an image sensor to output a merged image and a color-block image of a same scene, wherein the merged image comprises an array of merged pixels, and the photosensitive pixels in a same photosensitive pixel unit are collectively output as one merged pixel, the color-block image comprises image pixel units arranged in a preset array, each image pixel unit comprises a plurality of original pixels, each photosensitive pixel unit corresponds to one image pixel unit, and each photosensitive pixel corresponds to one original pixel;
- converting the merged image into a merged true-color image, and converting the color-block image into a simulation true-color image;
- displaying the merged true-color image and the simulation true-color image in the display;
- and
- storing at least one of the merged true-color image and the simulation true-color image according to the user input.
Dependencies are inferred from the claim text.