Method and mobile terminal for processing image and storage medium
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorsHaitao Zhou, Yibao Zhou, Cheng Tang, Xueyong Zhang
Life of this patent
Estimating the term…
Abstract
Disclosed are a method and mobile terminal for processing an image and storage medium. The method includes collecting color information of a target object; determining at least one of multiple pre-stored compensation parameters as at least one compensation parameter corresponding to the color information; and during iris collection, compensating an iris based on the at least one target compensation parameter to obtain a color iris image.
Claims12
A method for processing an image, comprising:
- collecting color information of a target object;
- determining a target compensation parameter corresponding to the color information from a plurality of pre-stored compensation parameters;
- and
- compensating, during iris collection, an iris based on the target compensation parameter to obtain a color iris image,
- wherein the determining a target compensation parameter corresponding to the color information from a plurality of pre-stored compensation parameters comprises:
- analyzing the color information to obtain abnormal color information;
- determining a target characterization color corresponding to the abnormal color information;
- and
- determining a target compensation parameter corresponding to the target characterization color from the plurality of compensation parameters according to predetermined correspondences between characterization colors and compensation parameters.
A mobile terminal, comprising an iris recognition device, a memory, and an Application Processor (AP), both the iris recognition device and the memory being connected to the AP, wherein
- the iris recognition device is configured to collect color information of a target object;
- the memory is configured to store a plurality of compensation parameters;
- and
- the AP is configured to determine a target compensation parameter corresponding to the color information from the plurality of compensation parameters, and compensate, when the iris recognition device performs iris collection, an iris based on the target compensation parameter corresponding to the color information to obtain a color iris image,
- wherein in terms of determining a target compensation parameter corresponding to the color information from the plurality of compensation parameters, the AP is specifically configured to:
- analyze the color information to obtain abnormal color information;
- determine a target characterization color corresponding to the abnormal color information;
- and
- determine a target compensation parameter corresponding to the target characterization color from the plurality of compensation parameters according to predetermined correspondences between characterization colors and compensation parameters.
A non-transitory computer-readable storage medium having stored thereon a computer program which enables a computer to execute a method for processing an image, the method comprising:
- collecting color information of a target object;
- determining a target compensation parameter corresponding to the color information from a plurality of pre-stored compensation parameters;
- and
- compensating, during iris collection, an iris based on the target compensation parameter to obtain a color iris image,
- wherein the determining a target compensation parameter corresponding to the color information from a plurality of pre-stored compensation parameters comprises:
- analyzing the color information to obtain abnormal color information;
- determining a target characterization color corresponding to the abnormal color information;
- and
- determining a target compensation parameter corresponding to the target characterization color from the plurality of compensation parameters according to predetermined correspondences between characterization colors and compensation parameters.
Dependencies are inferred from the claim text.