Image processing method and apparatus
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsYong Sen Zheng, Kai Ning Huang
Life of this patent
Estimating the term…
Abstract
An image processing method and apparatus, and a computer readable medium are provided. The method includes obtaining an image. The image is processed using a preset training model that is a function relationship model of a feature sample image and an activation function of the feature sample image. The feature sample image includes an image satisfying an image feature value extraction condition. A target image is obtained that corresponds to the image according to a processing result of the preset training model.
Claims20
A method comprising:
- obtaining, by an image processing apparatus, an image;
- processing, by the image processing apparatus, the image using a preset training model that is a function relationship model of a feature sample image and an activation function of the feature sample image, the feature sample image comprising an image satisfying an image feature value extraction condition;
- and
- obtaining, by the image processing apparatus, a target image corresponding to the image according to a processing result of the preset training model,
- wherein the preset training model is trained using a training image set that is screened to remove one or more sample images that do not satisfy the image feature value extraction condition, the image feature value extraction condition being a condition that a region of interest (ROI) in a sample image has a brightness value that is less than or equal to a first threshold.
An apparatus comprising:
- at least one memory configured to store computer program code;
- and
- at least one processor configured to access the at least one memory and operate according to the computer program code, the computer program code including:
- first obtaining code configured to cause at least one of the at least one processor to obtain an image;
- processing code configured to cause at least one of the at least one processor to process the image using a preset training model that is a function relationship model of a feature sample image and an activation function of the feature sample image, the feature sample image comprising an image satisfying an image feature value extraction condition;
- and
- second obtaining code configured to cause at least one of the at least one processor to obtain a target image corresponding to the image according to a processing result of the preset training model,
- wherein the preset training model is trained using a training image set that is screened to remove one or more sample images that do not satisfy the image feature value extraction condition, the image feature value extraction condition being a condition that a region of interest (ROI) in a sample image has a brightness value that is less than or equal to a first threshold.
A non-transitory computer readable storage medium storing computer program code which, when executed by a processor, configures the processor to perform:
- obtaining an image;
- processing the image using a preset training model that is a function relationship model of a feature sample image and an activation function of the feature sample image, the feature sample image comprising an image satisfying an image feature value extraction condition;
- and
- obtaining a target image corresponding to the image according to a processing result of the preset training model,
- wherein the preset training model is trained using a training image set that is screened to remove one or more sample images that do not satisfy the image feature value extraction condition, the image feature value extraction condition being a condition that a region of interest (ROI) in a sample image has a brightness value that is less than or equal to a first threshold.
Dependencies are inferred from the claim text.