Image processing method and display apparatus for adjusting format and resolution of input image in parallel and matrix manner
AssigneeBoe Technology Group Co., Ltd.
InventorChunshan Zu
Life of this patent
Estimating the term…
Abstract
An image processing method and a display apparatus are provided. The image processing method includes: acquiring an input image and an image output specification; determining image processing information for the input image; performing image processing, in accordance with the image processing information, on a plurality of images in the input image in a parallel and matrix manner. The performing image processing on the plurality of images in the parallel and matrix manner is referred to as performing processing on the plurality of images in parallel, and processes performed on each image include a preprocessing process, an image quality enhancement process and a post-processing process.
Claims20
An image processing method, applied to a display apparatus, comprising:
- acquiring an input image and an image output specification, wherein the image output specification comprises an image output quality, an image output resolution and an image output format;
- determining image processing information for the input image, wherein the image processing information comprises first format adjustment information and a resolution adjustment parameter which are determined in accordance with the input image, image quality optimization information determined in accordance with the input image and the image output specification, and second format adjustment information and resolution optimization information which are determined in accordance with the image output specification;
- performing image processing, in accordance with the image processing information, on a plurality of images in the input image in a parallel and matrix manner, and outputting processed images according to an arrangement order of the plurality of images, wherein the performing image processing on the plurality of images in the parallel and matrix manner is referred to as performing processing on the plurality of images in parallel, and processes performed on each image comprise a preprocessing process, an image quality enhancement process and a post-processing process, wherein the preprocessing process is performed in accordance with the first format adjustment information and the resolution adjustment parameter, the image quality enhancement process is performed in accordance with the image quality optimization information, and the post-processing process is performed in accordance with the second format adjustment information and the resolution optimization information;
- wherein subsequent to acquiring the input image and the image output specification, the image processing method further comprises:
- determining whether an image input specification and the image output specification of the input image are changed;
- wherein the image input specification comprises at least a resolution and a format of the input image;
- performing the step of determining the image processing information for the input image in response to at least one of the image input specification and the image output specification being changed;
- calling existing image processing information in response to none of the image input specification and the image output specification being changed;
- wherein prior to performing the image processing, in accordance with the image processing information, on the plurality of images in the input image in the parallel and matrix manner, the image processing method further comprises:
- determining whether a computing resource for executing the image quality enhancement process is changed, where the computing resource comprises an Neural Network Processing Unit (NPU) resource, a Graphics Processing Unit (GPU) resource and a Central Processing Unit (CPU) resource;
- in a case where the computing resource is changed and there exist available NPU resources and available GPU resources, taking all the available NPU resources and available GPU resources as candidate computing resources for executing the image quality enhancement process;
- in a case where the computing resource is changed and there exist available NPU resources but no available GPU resources, taking all the available NPU resources as candidate computing resources for executing the image quality enhancement process;
- in a case where the computing resource is changed and there exist available GPU resources but no available NPU resources, taking a part of the available GPU resources as candidate computing resources for executing the image quality enhancement process;
- in a case where the computing resource is changed and there exists no available NPU resources and no available GPU resources, taking a part of available CPU resources as candidate computing resources for executing the image quality enhancement process.
A display apparatus, comprising a memory, a processor and a computer program stored in the memory and capable of being executed by the processor, wherein the computer program is executed by the processor to implement:
- acquiring an input image and an image output specification, wherein the image output specification comprises an image output quality, an image output resolution and an image output format;
- determining image processing information for the input image, wherein the image processing information comprises first format adjustment information and a resolution adjustment parameter which are determined in accordance with the input image, image quality optimization information determined in accordance with the input image and the image output specification, and second format adjustment information and resolution optimization information which are determined in accordance with the image output specification;
- performing image processing, in accordance with the image processing information, on a plurality of images in the input image in a parallel and matrix manner, and outputting processed images according to an arrangement order of the plurality of images, wherein the performing image processing on the plurality of images in the parallel and matrix manner is referred to as performing processing on the plurality of images in parallel, and processes performed on each image comprise a preprocessing process, an image quality enhancement process and a post-processing process, wherein the preprocessing process is performed in accordance with the first format adjustment information and the resolution adjustment parameter, the image quality enhancement process is performed in accordance with the image quality optimization information, and the post-processing process is performed in accordance with the second format adjustment information and the resolution optimization information;
- wherein the computer program is further executed by the processor to implement:
- subsequent to acquiring the input image and the image output specification, determining whether an image input specification and the image output specification of the input image are changed, wherein the image input specification comprises at least a resolution and a format of the input image;
- performing the step of determining the image processing information for the input image in response to at least one of the image input specification and the image output specification being changed;
- calling existing image processing information in response to none of the image input specification and the image output specification being changed;
- wherein the computer program is further executed by the processor to implement:
- prior to performing the image processing, in accordance with the image processing information, on the plurality of images in the input image in the parallel and matrix manner, determining whether a computing resource for executing the image quality enhancement process is changed, where the computing resource comprises an Neural Network Processing Unit (NPU) resource, a Graphics Processing Unit (GPU) resource and a Central Processing Unit (CPU) resource;
- in a case where the computing resource is changed and there exist available NPU resources and available GPU resources, taking all the available NPU resources and available GPU resources as candidate computing resources for executing the image quality enhancement process;
- in a case where the computing resource is changed and there exist available NPU resources but no available GPU resources, taking all the available NPU resources as candidate computing resources for executing the image quality enhancement process;
- in a case where the computing resource is changed and there exist available GPU resources but no available NPU resources, taking a part of the available GPU resources as candidate computing resources for executing the image quality enhancement process;
- in a case where the computing resource is changed and there exists no available NPU resources and no available GPU resources, taking a part of available CPU resources as candidate computing resources for executing the image quality enhancement process.
A non-transitory computer-readable storage medium having a computer program stored thereon, wherein the non-transitory computer program is executed by a processor to implement:
- acquiring an input image and an image output specification, wherein the image output specification comprises an image output quality, an image output resolution and an image output format;
- determining image processing information for the input image, wherein the image processing information comprises first format adjustment information and a resolution adjustment parameter which are determined in accordance with the input image, image quality optimization information determined in accordance with the input image and the image output specification, and second format adjustment information and resolution optimization information which are determined in accordance with the image output specification;
- performing image processing, in accordance with the image processing information, on a plurality of images in the input image in a parallel and matrix manner, and outputting processed images according to an arrangement order of the plurality of images, wherein the performing image processing on the plurality of images in the parallel and matrix manner is referred to as performing processing on the plurality of images in parallel, and processes performed on each image comprise a preprocessing process, an image quality enhancement process and a post-processing process, wherein the preprocessing process is performed in accordance with the first format adjustment information and the resolution adjustment parameter, the image quality enhancement process is performed in accordance with the image quality optimization information, and the post-processing process is performed in accordance with the second format adjustment information and the resolution optimization information;
- wherein the computer program is further executed by the processor to implement:
- subsequent to acquiring the input image and the image output specification, determining whether an image input specification and the image output specification of the input image are changed, wherein the image input specification comprises at least a resolution and a format of the input image;
- performing the step of determining the image processing information for the input image in response to at least one of the image input specification and the image output specification being changed;
- calling existing image processing information in response to none of the image input specification and the image output specification being changed;
- wherein the computer program is further executed by the processor to implement:
- prior to performing the image processing, in accordance with the image processing information, on the plurality of images in the input image in the parallel and matrix manner, determining whether a computing resource for executing the image quality enhancement process is changed, where the computing resource comprises an Neural Network Processing Unit (NPU) resource, a Graphics Processing Unit (GPU) resource and a Central Processing Unit (CPU) resource;
- in a case where the computing resource is changed and there exist available NPU resources and available GPU resources, taking all the available NPU resources and available GPU resources as candidate computing resources for executing the image quality enhancement process;
- in a case where the computing resource is changed and there exist available NPU resources but no available GPU resources, taking all the available NPU resources as candidate computing resources for executing the image quality enhancement process;
- in a case where the computing resource is changed and there exist available GPU resources but no available NPU resources, taking a part of the available GPU resources as candidate computing resources for executing the image quality enhancement process;
- in a case where the computing resource is changed and there exists no available NPU resources and no available GPU resources, taking a part of available CPU resources as candidate computing resources for executing the image quality enhancement process.
Dependencies are inferred from the claim text.