[go: up one dir, main page]

CN115809814A - Image processing method - Google Patents

Image processing method Download PDF

Info

Publication number
CN115809814A
CN115809814A CN202111070729.2A CN202111070729A CN115809814A CN 115809814 A CN115809814 A CN 115809814A CN 202111070729 A CN202111070729 A CN 202111070729A CN 115809814 A CN115809814 A CN 115809814A
Authority
CN
China
Prior art keywords
quality evaluation
image quality
image
type
evaluation items
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.)
Pending
Application number
CN202111070729.2A
Other languages
Chinese (zh)
Inventor
郑孟哲
鄞铭佐
许银雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Acer Intelligent Medical Co ltd
Acer Inc
Original Assignee
Acer Intelligent Medical Co ltd
Acer Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Acer Intelligent Medical Co ltd, Acer Inc filed Critical Acer Intelligent Medical Co ltd
Priority to CN202111070729.2A priority Critical patent/CN115809814A/en
Publication of CN115809814A publication Critical patent/CN115809814A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The invention provides an image processing method. In this method, a plurality of image quality evaluation items are received, and the total running time of the image quality evaluation items executed on the cloud server is calculated, and the individual running times of the image quality evaluation items executed on the image processing device are respectively calculated. The image quality evaluation items are divided into a first type of image quality evaluation item and a second type of image quality evaluation item according to the individual running time and the total running time. The image processing device executes the first type of image quality evaluation items, and the cloud server executes the second type of image quality evaluation items. Therefore, the image quality evaluation items are classified by an image processing method, and the processing efficiency of image identification is further improved.

Description

图像处理方法image processing method

技术领域technical field

本发明涉及一种图像处理领域,尤其涉及一种图像质量评价(Image QualityAssessment)的一种图像处理方法。The present invention relates to the field of image processing, in particular to an image processing method for image quality assessment (Image Quality Assessment).

背景技术Background technique

一般图像识别会先将待测图像进行图像质量评价(Image Quality Assessment,IQA)以筛选掉图像质量低于阈值的图像。目前的方法是将待测图像上传至云端且令云端服务器执行所选的多个图像质量评价项目。In general image recognition, the image to be tested is first subjected to Image Quality Assessment (IQA) to filter out images whose image quality is lower than the threshold. The current method is to upload the image to be tested to the cloud and make the cloud server execute a plurality of selected image quality evaluation items.

由于用户设备以及当前网络环境将影响图像处理装置(本地端)从云端服务器上传/下载图像与识别结果的所需传输时间。倘若当前网络环境不好,导致图像处理装置上传图像到接收到图像识别结果的所需时间过久,而降低且影响图像处理的效率。并且,倘若待测图像未通过云端服务器所执行的图像质量评价项目,且用户仍然必须等待上传图像至接收到图像质量未通过的时间。如此,用户必须重新拍摄图像或选择新的图像,导致有时使用云端服务器执行图像质量评价项目的识别效率比用户单靠肉眼判断图像质量的效率还低。据此,在使用上并不便利。The user equipment and the current network environment will affect the required transmission time for the image processing device (local end) to upload/download images and recognition results from the cloud server. If the current network environment is not good, it will take too long for the image processing device to upload the image and receive the image recognition result, which will reduce and affect the efficiency of image processing. Moreover, if the image to be tested fails the image quality evaluation item executed by the cloud server, and the user still has to wait for the time from uploading the image to receiving the image quality failure. In this way, the user must retake the image or select a new image, and sometimes the efficiency of using the cloud server to perform image quality evaluation item recognition is lower than that of the user judging the image quality by naked eyes. Accordingly, it is inconvenient to use.

发明内容Contents of the invention

本发明提出一种图像处理方法,其中这图像处理方法可依据图像质量评价项目在本地端的个别运行时间与在云端服务器的总运行时间,将图像质量评价项目分为第一类图像质量评价项目与第二类图像质量评价项目,以根据用户设备及网络环境动态地调整执行图像质量评价项目的装置,因而更贴近用户的设备装置与网络环境的实际条件。The present invention proposes an image processing method, wherein the image processing method can divide the image quality evaluation items into the first type of image quality evaluation items and The second category of image quality evaluation items is to dynamically adjust the device for executing the image quality evaluation items according to the user equipment and network environment, so that it is closer to the actual conditions of the user's equipment device and network environment.

本发明的图像处理方法,适用在图像处理装置。这图像处理装置具有处理器及存储单元,且通讯连接至云端服务器。图像处理方法依据图像处理装置的指令执行以下步骤:接收图像质量评价项目。计算图像质量评价项目在云端服务器执行的总运行时间,且计算图像质量评价项目在图像处理装置执行的个别运行时间。依据个别运行时间与总运行时间,将图像质量评价项目分为第一类图像质量评价项目与第二类图像质量评价项目。由图像处理装置执行第一类图像质量评价项目,且由云端服务器执行第二类图像质量评价项目。The image processing method of the present invention is applicable to an image processing device. The image processing device has a processor and a storage unit, and is communicatively connected to a cloud server. The image processing method executes the following steps according to the instructions of the image processing device: receiving image quality evaluation items. Calculate the total running time of the image quality evaluation item executed on the cloud server, and calculate the individual running time of the image quality evaluation item executed on the image processing device. According to the individual running time and the total running time, the image quality evaluation items are divided into the first type of image quality evaluation items and the second type of image quality evaluation items. The first type of image quality evaluation item is executed by the image processing device, and the second type of image quality evaluation item is executed by the cloud server.

基于上述,依据本发明实施例的图像处理方法,根据图像处理装置的设备状况以及用户的网络状况,适应且动态地调整图像质量评价项目的执行装置。藉此,当用户的设备与网络环境条件导致所需时间过久时,可将部分或全部的图像质量评价项目分配到本地端的图像处理装置或处理器进行图像处理之中的图像质量评价。Based on the above, according to the image processing method of the embodiment of the present invention, according to the device status of the image processing device and the network status of the user, the execution device of the image quality evaluation item is adaptively and dynamically adjusted. In this way, when the user's equipment and network environment conditions make the required time too long, part or all of the image quality evaluation items can be assigned to the local image processing device or processor for image quality evaluation during image processing.

附图说明Description of drawings

包含附图以便进一步理解本发明,且附图并入本说明书中并构成本说明书的一部分。附图说明本发明的实施例,并与描述一起用于解释本发明的原理。The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain principles of the invention.

图1是依据本发明一实施例的图像处理装置的方块图;1 is a block diagram of an image processing device according to an embodiment of the present invention;

图2是依据本发明一实施例的图像处理方法的流程图;2 is a flowchart of an image processing method according to an embodiment of the present invention;

图3是依据本发明一实施例的图像处理方法的流程示意图;3 is a schematic flowchart of an image processing method according to an embodiment of the present invention;

图4是依据本发明实施例的图像识别的流程图;Fig. 4 is a flowchart of image recognition according to an embodiment of the present invention;

图5A是图像处理方法的示意图;5A is a schematic diagram of an image processing method;

图5B是依据本发明实施例的图像处理方法的示意图5B is a schematic diagram of an image processing method according to an embodiment of the present invention

附图标号说明Explanation of reference numbers

100:图像处理装置;100: image processing device;

110:处理器;110: processor;

120:存储单元;120: storage unit;

130:显示屏;130: display screen;

2:图像识别模型;2: Image recognition model;

RL:图像识别结果;RL: image recognition result;

IQA_CR:分配结果;IQA_CR: distribution result;

L:本地端;L: local terminal;

C:云端服务器;C: cloud server;

Cloud_Time:总运行时间;Cloud_Time: total running time;

IQA A_Time:图像质量评价项目A的运行时间;IQA A_Time: the running time of image quality evaluation item A;

IQA B_Time:图像质量评价项目B的运行时间;IQA B_Time: the running time of image quality assessment item B;

IQA C_Time:图像质量评价项目C的运行时间;IQA C_Time: the running time of image quality evaluation item C;

IQA D_Time:图像质量评价项目D的运行时间;IQA D_Time: the running time of image quality evaluation item D;

IQA_G1:第一类图像质量评价项目;IQA_G1: The first category of image quality evaluation items;

IQA_G2:第二类图像质量评价项目;IQA_G2: The second category of image quality evaluation items;

IQA:图像质量评价项目;IQA: image quality assessment project;

IQA A:图像质量评价项目A;IQA A: image quality evaluation item A;

IQA B:图像质量评价项目B;IQA B: image quality evaluation item B;

IQA C:图像质量评价项目C;IQA C: image quality evaluation item C;

IQA D:图像质量评价项目D;IQA D: image quality evaluation item D;

Img_m:图像;Img_m: image;

S210、S220、S230、S240、S211:步骤。S210, S220, S230, S240, S211: steps.

具体实施方式Detailed ways

现将详细地参考本发明的示范性实施例,示范性实施例的实例说明于附图中。只要有可能,相同组件符号在附图和描述中用来表示相同或相似部分。Reference will now be made in detail to the exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used in the drawings and description to refer to the same or like parts.

图1是依据本发明一实施例的图像处理装置的方块图,但仅是为了方便说明,并不用以限制本发明。请参照图1,图像处理方法适用在图像处理装置。图像处理装置100可包括存储单元120、处理器110及显示屏130。在一些实施例中,图像处理装置100可实作为笔记本电脑、桌面计算机、平板计算机、工业用计算机、服务器或其他类型的计算器装置或图像处理装置,本发明并不对此限制。FIG. 1 is a block diagram of an image processing device according to an embodiment of the present invention, but it is only for convenience of description and not intended to limit the present invention. Referring to FIG. 1 , the image processing method is applicable to an image processing device. The image processing device 100 may include a storage unit 120 , a processor 110 and a display screen 130 . In some embodiments, the image processing device 100 may be implemented as a notebook computer, a desktop computer, a tablet computer, an industrial computer, a server or other types of computing devices or image processing devices, and the present invention is not limited thereto.

存储单元120用以存储图像、指令、程序代码、软件模块等等数据。存储单元可包括易失性存储电路与非易失性存储电路。易失性存储电路用以易失性地存储数据。例如,易失性存储电路可包括随机存取内存(Random Access Memory,RAM)或类似的易失性存储媒体。非易失性存储电路用以非易失性地存储数据。例如,非易失性存储电路可包括只读存储器(Read Only Memory,ROM)、固态硬盘(solid state disk,SSD)和/或传统硬盘(Hard diskdrive,HDD)或类似的非易失性存储媒体。The storage unit 120 is used for storing images, instructions, program codes, software modules and other data. The memory unit may include volatile memory circuits and non-volatile memory circuits. The volatile storage circuit is used to store data volatilely. For example, the volatile storage circuit may include random access memory (Random Access Memory, RAM) or similar volatile storage media. The non-volatile storage circuit is used for non-volatile storage of data. For example, the nonvolatile storage circuit may include a read only memory (Read Only Memory, ROM), a solid state disk (solid state disk, SSD) and/or a traditional hard disk (Hard diskdrive, HDD) or similar nonvolatile storage media .

显示屏130可采用液晶显示屏(Liquid Crystal Display,LCD)、等离子体显示屏(Plasma Display)等来实现,或者亦可以使用具有触控模块的触控屏幕来作为显示屏130。The display screen 130 can be realized by a liquid crystal display (Liquid Crystal Display, LCD), a plasma display (Plasma Display), or a touch screen with a touch module can also be used as the display screen 130 .

处理器110耦接存储单元120,用以控制图像处理装置的整体或部分操作,其例如是中央处理单元(Central Processing Unit,CPU),或是其他可程序化之一般用途或特殊用途的微处理器(Microprocessor)、数字信号处理器(Digital Signal Processor,DSP)、可程序化控制器、特殊应用集成电路(Application Specific Integrated Circuits,ASIC)、可程序化逻辑设备(Programmable Logic Device,PLD)、图形处理器(GraphicsProcessing Unit,GPU或其他类似装置或这些装置的组合。处理器110可执行记录在存储单元中的程序代码、软件模块、指令、图像质量评价项目、图像处理的默认值、图像识别软件等等,以实现本发明实施例中的图像处理方法。The processor 110 is coupled to the storage unit 120 to control the whole or part of the operation of the image processing device, such as a central processing unit (Central Processing Unit, CPU), or other programmable general-purpose or special-purpose microprocessors Microprocessor, Digital Signal Processor (DSP), Programmable Controller, Application Specific Integrated Circuits (ASIC), Programmable Logic Device (PLD), graphics Processor (Graphics Processing Unit, GPU or other similar devices or a combination of these devices. The processor 110 can execute program codes, software modules, instructions, image quality evaluation items, default values for image processing, image recognition software recorded in the storage unit and so on, so as to realize the image processing method in the embodiment of the present invention.

图2是依据本发明一实施例的图像处理方法的流程图。请参照图2,本实施例的方式适用在上述图像处理装置100,在本实施例中,本发明的图像处理方法依据图像处理装置100的指令至少执行以下步骤:处理器110接收多个图像质量评价项目(步骤S210)。举例来说,图像质量评价项目可为计算图像的熵(entropy)、计算图像的平均梯度(averagegradient)、计算图像标准偏差(standard deviation)、计算图像的边缘强度(edgeintensity)等,也就是说,依照用户预先设定或图像处理装置内建的图像质量估计项目的设定值,将多个不同的图像质量评价项目传送至处理器110之中。FIG. 2 is a flowchart of an image processing method according to an embodiment of the invention. Please refer to FIG. 2 , the method of this embodiment is applicable to the above-mentioned image processing device 100. In this embodiment, the image processing method of the present invention at least performs the following steps according to the instructions of the image processing device 100: the processor 110 receives a plurality of image quality Evaluation items (step S210). For example, the image quality evaluation item may be entropy of the calculated image, average gradient of the calculated image, standard deviation of the calculated image, edge intensity of the calculated image, etc., that is to say, A plurality of different image quality evaluation items are sent to the processor 110 according to user presets or setting values of image quality evaluation items built in the image processing device.

图3是依据本发明一实施例的图像处理方法的流程示意图。处理器110计算图像质量评价项目在云端服务器(Cloud Server)执行的总运行时间,且计算图像质量评价项目在图像处理装置执行时的个别运行时间(步骤S220)。具体来说,处理器110接收测试图像且将这测试图像分别执行每一个图像质量评价项目并计算每一个图像质量评价项目的个别运行时间。请参照图3,在一实施例中,图像质量评价项目的默认值为四种,分别为图像质量评价项目A(即,IQA A)、图像质量评价项目B(即,IQA B)、图像质量评价项目C(即,IQA C)及图像质量评价项目D(即,IQA D)。并且,经过处理器110的计算图像质量评价项目在处理器110的运行时间分别为7秒(IQA A)、2秒(IQA B)、3秒(IQA C)及6秒(IQA D)。同时,处理器110将这测试图像上传至云端服务器以通过云端服务器执行每个图像质量评价项目。接着,处理器110计算收到云端服务器执行图像质量评价项目的结果所花费的总运行时间Cloud_Time。举例来说,处理器110计算从处理器110将测试图像上传至云端服务器开始计时,且计时到处理器110收到云端服务器执行图像质量评价项目(A、B、C、D)的结果之间的总运行时间Cloud_Time为9秒。FIG. 3 is a schematic flowchart of an image processing method according to an embodiment of the present invention. The processor 110 calculates the total running time of the image quality evaluation item executed on the cloud server (Cloud Server), and calculates the individual running time of the image quality evaluation item executed on the image processing device (step S220 ). Specifically, the processor 110 receives the test image and executes each image quality evaluation item on the test image and calculates the individual running time of each image quality evaluation item. Please refer to Fig. 3, in one embodiment, the default value of image quality evaluation item is four kinds, respectively is image quality evaluation item A (namely, IQA A), image quality evaluation item B (namely, IQA B), image quality An evaluation item C (ie, IQA C) and an image quality evaluation item D (ie, IQA D). Moreover, the running time of the image quality evaluation items calculated by the processor 110 in the processor 110 is 7 seconds (IQA A), 2 seconds (IQA B), 3 seconds (IQA C) and 6 seconds (IQA D). At the same time, the processor 110 uploads the test image to the cloud server to execute each image quality evaluation item through the cloud server. Next, the processor 110 calculates the total running time Cloud_Time spent to receive the result of executing the image quality evaluation item from the cloud server. For example, the processor 110 calculates the time between when the processor 110 uploads the test image to the cloud server and when the processor 110 receives the results of the image quality evaluation items (A, B, C, D) from the cloud server. The total running time of Cloud_Time is 9 seconds.

处理器110依据个别运行时间与总运行时间,将图像质量评价项目分为第一类图像质量评价项目与第二类图像质量评价项目(步骤S240)。图4是依据本发明实施例的图像识别的流程图。请参照图2、图3与图4。具体来说,处理器110根据在处理器110上执行图像质量评价项目的个别运行时间以及在云端服务器(Cloud)执行图像质量评价项目的总运行时间,运算出运行时间小于总运行时间的分类,进而将图像质量评价项目分别分类为第一类图像质量评价项目与第二类图像质量评价项目。在一实施例中,步骤S240还包括:处理器110将个别运行时间相加小于总运行时间的图像质量评价项目分类为第一类图像质量评价项目IQA_G1,且将其余的图像质量评价项目分类为第二类图像质量评价项目IQA_G2。举例来说,在一实施例中总运行时间Cloud_Time为9秒,处理器110将个别运行时间为2秒的图像质量评价项目B与个别运行时间为3秒的图像质量评价项目C皆分类为第一类图像质量评价项目IQA_G1。接着,处理器110将剩余的图像质量评价项目A、图像质量评价项目D分类为第二类图像质量评价项目IQA_G2。The processor 110 divides the image quality evaluation items into a first type of image quality evaluation item and a second type of image quality evaluation item according to the individual running time and the total running time (step S240 ). FIG. 4 is a flowchart of image recognition according to an embodiment of the present invention. Please refer to Figure 2, Figure 3 and Figure 4. Specifically, the processor 110 calculates the classification whose running time is less than the total running time according to the individual running time of executing the image quality evaluation item on the processor 110 and the total running time of executing the image quality evaluating item on the cloud server (Cloud), Furthermore, the image quality evaluation items are classified into the first type of image quality evaluation items and the second type of image quality evaluation items. In one embodiment, step S240 further includes: the processor 110 classifies the image quality evaluation items whose sum of individual running times is less than the total running time as the first type of image quality evaluation items IQA_G1, and classifies the rest of the image quality evaluation items as The second category of image quality assessment items IQA_G2. For example, in one embodiment, the total running time Cloud_Time is 9 seconds, and the processor 110 classifies the image quality evaluation item B with an individual running time of 2 seconds and the image quality evaluation item C with an individual running time of 3 seconds as the first A class of image quality assessment items IQA_G1. Next, the processor 110 classifies the remaining image quality evaluation items A and D into the second type of image quality evaluation item IQA_G2.

在另一实施例,处理器110依据个别运行时间与总运行时间,将图像质量评价项目分为第一类图像质量评价项目IQA_G1与第二类图像质量评价项目IQA_G2(步骤S240)还包括:处理器110将图像质量评价项目依据其个别运行时间依序排列。举例来说,图像质量评价项目A、图像质量评价项目B、图像质量评价项目C、图像质量评价项目D依照其个别运行时间7、2、3、6秒依序排列为图像质量评价项目B、图像质量评价项目C、图像质量评价项目D、图像质量评价项目A。接着,处理器110取前N个图像质量评价项目分类为第一类图像质量评价项目IQA_G1,且将其余的图像质量评价项目分类为第二类图像质量评价项目IQA_G2。举例来说,N值可设定为图像质量评价项目总数的三分之一或二分之一。另一方面,N值可为将依序排列的图像质量评价项目取前N个个别运行时间相加小于总运行时间。例如,取前2个图像质量评价项目B、图像质量评价项目C,其总和的个别运行时间为5秒,则小于云端执行图像质量评价项目的总运行时间9秒。本实施例中,N为正整数。In another embodiment, the processor 110 divides the image quality evaluation items into the first type image quality evaluation item IQA_G1 and the second type image quality evaluation item IQA_G2 according to the individual running time and the total running time (step S240) further includes: processing The device 110 arranges the image quality evaluation items sequentially according to their individual running times. For example, image quality evaluation item A, image quality evaluation item B, image quality evaluation item C, and image quality evaluation item D are arranged in order according to their individual running times of 7, 2, 3, and 6 seconds as image quality evaluation items B, Image quality evaluation item C, image quality evaluation item D, image quality evaluation item A. Next, the processor 110 classifies the first N image quality evaluation items into the first type of image quality evaluation items IQA_G1, and classifies the rest of the image quality evaluation items into the second type of image quality evaluation items IQA_G2. For example, the N value can be set as one-third or one-half of the total number of image quality evaluation items. On the other hand, the N value may be that the sum of the first N individual running times of the sequentially arranged image quality evaluation items is less than the total running time. For example, taking the first two image quality evaluation items B and image quality evaluation item C, the individual running time of the sum is 5 seconds, which is less than 9 seconds of the total running time of the image quality evaluation items executed by the cloud. In this embodiment, N is a positive integer.

处理器110依据个别运行时间与总运行时间,将多个图像质量评价项目分为第一类图像质量评价项目与第二类图像质量评价项目的步骤之后的步骤(步骤S220)之后,本发明的图像处理方法更包括:处理器110将图像质量评价项目分类成第一类图像质量评价项目与第二类图像质量评价项目,输出分配结果IQA_CR。接着,处理器110将分配结果IQA_CR存储在存储单元120之中,且将分配结果IQA_CR设定为图像处理默认值,图像处理装置100与云端服务器根据分配结果IQA_CR执行后续的图像质量评价项目。具体来说,处理器110将步骤S220之中所分类的结果记录成分配结果IQA_CR且存储在图像处理装置100的存储单元120之中。接着,处理器100将分配结果IQA_CR设定为影响处理装置的影响处理默认值。也就是说,图像处理装置100在后续的图像处理皆依照这分配结果IQA_CR将图像分别由图像处理装置100(即,本地端)与云端服务器执行后续的图像质量评价项目。换句话说,后续的图像处理过程中,图像处理装置根据分配结果IQA_CR,由处理器110执行第一类图像质量评价项目IQA_G1,而由云端服务器执行第二类图像质量评价项目IQA_G2。Processor 110 divides multiple image quality evaluation items into first-type image quality evaluation items and second-type image quality evaluation items according to individual running time and total running time. After the step (step S220), the present invention The image processing method further includes: the processor 110 classifies the image quality evaluation items into a first type of image quality evaluation item and a second type of image quality evaluation item, and outputs a distribution result IQA_CR. Next, the processor 110 stores the distribution result IQA_CR in the storage unit 120 , and sets the distribution result IQA_CR as the image processing default value, and the image processing device 100 and the cloud server execute subsequent image quality evaluation items according to the distribution result IQA_CR. Specifically, the processor 110 records the result classified in step S220 as an allocation result IQA_CR and stores it in the storage unit 120 of the image processing device 100 . Next, the processor 100 sets the allocation result IQA_CR as the default value of the influencing processing device. That is to say, the subsequent image processing of the image processing device 100 is performed by the image processing device 100 (ie, the local end) and the cloud server respectively according to the allocation result IQA_CR for subsequent image quality evaluation items. In other words, in the subsequent image processing process, the image processing device executes the first type of image quality evaluation item IQA_G1 by the processor 110 according to the allocation result IQA_CR, and the second type of image quality evaluation item IQA_G2 is executed by the cloud server.

在计算多个图像质量评价项目在云端服务器执行的总运行时间的步骤(步骤S220)之前,本发明的图像处理方法更包括:测试图像处理装置100是否分别支持多个图像质量评价项目之中每一个图像质量评价项目(步骤S211);以及将图像处理装置100所不支持的图像质量评价项目分类为第二类图像质量评价项目IQA_G2。具体而言,处理器110测试图像处理装置100是否支持每一个图像质量评价项目,且将图像处理装置不支持的图像质量评价项目分类为第二类图像质量评价项目,以提升图像质量评价项目的分类效率。举例来说,某些图像质量评价项目需求特定周边装置或特定的显示适配器等级,当图像处理装置无配备这特定周边装置或显示适配器时,处理器110直接将所述多个需要特定周边装置或显示适配器的图像质量评价项目分类为第二类图像质量评价项目。在另一实施例,处理器110可根据个别图像质量评价项目的运行时间大于阈值分类为第二类图像质量评价项目IQA_G2。举例来说,处理器110将运行时间大于5秒的图像质量评价项目分类为第二类图像质量评价项目IQA_G2,以加速图像处理装置100处理图像质量评价的速度。Before the step of calculating the total running time of multiple image quality evaluation items executed on the cloud server (step S220), the image processing method of the present invention further includes: testing whether the image processing device 100 supports each of the multiple image quality evaluation items respectively an image quality evaluation item (step S211 ); and classify the image quality evaluation item not supported by the image processing device 100 into the second type of image quality evaluation item IQA_G2. Specifically, the processor 110 tests whether the image processing device 100 supports each image quality evaluation item, and classifies the image quality evaluation items not supported by the image processing device into the second type of image quality evaluation items, so as to improve the quality of the image quality evaluation items. classification efficiency. For example, some image quality evaluation items require a specific peripheral device or a specific display adapter level. The image quality evaluation items of the display adapter are classified into the second type of image quality evaluation items. In another embodiment, the processor 110 may classify individual image quality assessment items as the second type of image quality assessment item IQA_G2 according to the running time of the individual image quality assessment item being greater than a threshold. For example, the processor 110 classifies the image quality assessment items whose running time is longer than 5 seconds into the second type of image quality assessment items IQA_G2, so as to speed up the processing speed of the image quality assessment by the image processing device 100 .

在由图像处理装置100执行第一类图像质量评价项目,且由云端服务器执行第二类图像质量评价项目的步骤(步骤S240)之后,本发明的图像处理方法还包括:云端服务器将第二类图像质量评价项目IQA_G2的皆通过的图像用在图像识别模型2,且输出图像识别结果RL;以及图像处理装置100执行第一类图像质量评价项目以输出执行结果,若执行结果为通过则将图像识别结果RL显示在显示屏130上;若执行结果为不通过则不采用图像识别结果RL。具体而言,根据处理器110的分配结果IQA_CR,云端服务器将后续需质量评估的图像Img_m执行第二类图像质量评价项目IQA_G2。接着,将皆通过第二类图像质量评价项目IQA_G2的图像Img_m用在图像识别以输出图像的图像识别结果RL。After the image processing device 100 executes the first type of image quality evaluation item, and the cloud server executes the step of the second type of image quality evaluation item (step S240), the image processing method of the present invention further includes: the cloud server converts the second type The images that all pass the image quality evaluation item IQA_G2 are used in the image recognition model 2, and the image recognition result RL is output; and the image processing device 100 executes the first type of image quality evaluation item to output the execution result, and if the execution result is passed, the image The recognition result RL is displayed on the display screen 130; if the execution result is not passed, the image recognition result RL is not used. Specifically, according to the distribution result IQA_CR of the processor 110 , the cloud server executes the second type of image quality evaluation item IQA_G2 on the subsequent image Img_m to be evaluated. Next, the images Img_m that all pass the second type of image quality assessment item IQA_G2 are used in image recognition to output an image recognition result RL of the image.

值得注意的是,图像处理装置100的处理器110将后续需质量评估的图像执行第一类图像质量评价项目IQA_G1以输出执行结果,且处理器110根据这第一类图像质量评价项目IQA_G1的执行结果对应地显示或不采用云端服务器所输出的图像识别结果RL。具体而言,若第一类图像质量评价项目IQA_G1的执行结果为通过,且云端服务器所执行的第二类图像质量评价项目IQA_G2的执行结果亦为通过且输出图像识别结果RL,则处理器110接收这图像识别结果RL并输出且显示至耦接至处理器110的显示屏130上。另一方面,若由处理器110所执行的第一类图像质量评价项目IQA_G1的执行结果为不通过,则处理器110不采用(即,忽略)云端服务器所输出的图像识别结果RL。如此,使用者可通过本发明的图像处理方法,以提升图像处理中的图像质量评价的执行效率与缩短图像质量评价的所需时间。It is worth noting that the processor 110 of the image processing device 100 executes the first type of image quality evaluation item IQA_G1 on subsequent images that need quality evaluation to output the execution result, and the processor 110 executes the first type of image quality evaluation item IQA_G1 according to the execution result. The result is correspondingly displayed or not using the image recognition result RL output by the cloud server. Specifically, if the execution result of the first type of image quality evaluation item IQA_G1 is passed, and the execution result of the second type of image quality evaluation item IQA_G2 executed by the cloud server is also passed and the image recognition result RL is output, then the processor 110 The image recognition result RL is received and output and displayed on the display screen 130 coupled to the processor 110 . On the other hand, if the execution result of the first type of image quality evaluation item IQA_G1 executed by the processor 110 is not passed, the processor 110 does not use (ie, ignore) the image recognition result RL output by the cloud server. In this way, the user can use the image processing method of the present invention to improve the execution efficiency of image quality evaluation in image processing and shorten the time required for image quality evaluation.

图5A是图像处理方法的示意图。图5B是依据本发明实施例的图像处理方法的示意图。请参照图5A与图5B,图5A是未使用本发明的图像处理方法的现有作法,将图像上传至云端服务器C且通过云端服务器C进行图像质量评价,由在图像的质量低于图像质量评价项目的设定值,因此被云端服务器C返回图像并拒绝图像识别。接着,用户必须再次上传新的图像,再通过云端服务器C进行图像质量评价以及图像识别(Image Recognition AI),再将图像识别结果传至用户的图像处理装置(即,本地端C)。由图5A可以得知,现有的作法将耗时20秒在图像的图像识别。然而,图5B是使用本发明的图像处理方法的流程示意图,由图5B可以得知,当图像处理装置100上传图像至云端服务器之时,图像处理装置100可同步地执行图像质量评价项目B与图像质量评价项目C。因此,在图像处理装置100执行图像质量评价项目B的时输出这图像(同,图像)的质量不符合图像质量评价项目B的设定值,即重新上传另一图像至云端服务器C,如此,经由使用本发明的图像处理方法,可在如图5B中虚线及灰底处所示的第一次上传图像后在花费6秒上传图像、花费1秒执行IQA A &IQA D、图像识别及花费2秒返回识别结果之前,即可通过本地端的图像处理装置100进行第二次上传图像,进而令图像的图像识别所需时间缩短至13秒。补充说明的是,如本领域所述技术人员所熟知的,现有图像质量评价项目(即,图像质量评价方法(Image Quality Assessment Method))并不局限于本实施例的四种,且其图像质量评价的设定值是依照所选取的图像质量评价方法的默认值所决定,由于其属于本领域技术人员所熟知的内容与技术,因此本案在这不多赘述。另一方面,图像识别处理可为通过眼睛扫描的图像识别糖尿病视网膜病变的图像识别处理、虹膜识别处理、文字识别、图案识别、物体检测图像识别、人脸识别等。FIG. 5A is a schematic diagram of an image processing method. FIG. 5B is a schematic diagram of an image processing method according to an embodiment of the present invention. Please refer to FIG. 5A and FIG. 5B. FIG. 5A is an existing method that does not use the image processing method of the present invention. The image is uploaded to the cloud server C and the image quality is evaluated through the cloud server C. Because the image quality is lower than the image quality The set value of the evaluation item is therefore returned to the image by the cloud server C and rejected for image recognition. Then, the user must upload a new image again, and then perform image quality evaluation and image recognition (Image Recognition AI) through the cloud server C, and then transmit the image recognition result to the user's image processing device (ie, the local terminal C). It can be known from FIG. 5A that the existing method takes 20 seconds for image recognition. However, FIG. 5B is a schematic flow chart of the image processing method of the present invention. It can be known from FIG. 5B that when the image processing device 100 uploads an image to the cloud server, the image processing device 100 can simultaneously execute the image quality evaluation item B and Image quality evaluation item C. Therefore, when the image processing device 100 executes the image quality evaluation item B, the quality of the output image (same, image) does not meet the set value of the image quality evaluation item B, that is, upload another image to the cloud server C again, so, By using the image processing method of the present invention, it takes 6 seconds to upload the image, 1 second to perform IQA A & IQA D, image recognition and 2 Before the recognition result is returned within seconds, the image can be uploaded for the second time through the image processing device 100 at the local end, thereby shortening the time required for image recognition to 13 seconds. It should be added that, as is well known to those skilled in the art, existing image quality assessment items (ie, image quality assessment methods (Image Quality Assessment Method)) are not limited to the four types in this embodiment, and the images The setting value of the quality evaluation is determined according to the default value of the selected image quality evaluation method, and since it belongs to the content and technology well-known to those skilled in the art, so this case will not repeat it here. On the other hand, the image recognition processing may be image recognition processing for recognizing diabetic retinopathy through an image scanned by eyes, iris recognition processing, character recognition, pattern recognition, object detection image recognition, face recognition, and the like.

综上,在本发明实施例中,当使用者使用图像处理方法协助图像处理之中的图像质量评价时,可依据个别运行时间与总运行时间将图像质量评价项目分为第一类图像质量评价项目与第二类图像质量评价项目,通过分类的方式令位于本地端的图像处理装置执行第一类图像质量评价项目,且令云端服务器执行第二类图像质量评价项目,进而根据本地端图像处理装置的设备状况以及本地端与云端服务器之间的联机状况而动态地分配部分图像质量评价项目在本地端(即,图像处理装置)执行,且另一部分图像质量评价项目在云端服务器执行,以达到改善图像质量评价的处理时间以及提高图像处理方法的检测效率(即,图像识别)。To sum up, in the embodiment of the present invention, when the user uses the image processing method to assist the image quality evaluation in the image processing, the image quality evaluation items can be divided into the first type of image quality evaluation according to the individual running time and the total running time Items and the second type of image quality evaluation items, the image processing device at the local end executes the first type of image quality evaluation items by classification, and the cloud server executes the second type of image quality evaluation items, and then according to the local end image processing device According to the status of the equipment and the connection status between the local end and the cloud server, some image quality evaluation items are dynamically assigned to be executed on the local end (that is, the image processing device), and the other part of the image quality evaluation items are executed on the cloud server to achieve improvement. Processing time for image quality assessment and improved detection efficiency of image processing methods (ie, image recognition).

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (8)

1. An image processing method applied to an image processing apparatus having a processor and a storage unit, the image processing method performing the following steps according to an instruction of the image processing apparatus
Receiving a plurality of image quality evaluation items;
calculating the total running time of the image quality evaluation items executed on the cloud server, and calculating the individual running time of the image quality evaluation items executed on the image processing device;
classifying a plurality of image quality evaluation items into a first type of image quality evaluation item and a second type of image quality evaluation item according to the individual running time and the total running time; and
executing, by the image processing device, a first type of image quality evaluation item, and executing, by the cloud server, a second type of image quality evaluation item.
2. The image processing method according to claim 1, wherein the step of classifying the image quality evaluation items into a first type of image quality evaluation item and a second type of image quality evaluation item according to the individual running time and the total running time further comprises:
at least one image quality evaluation item, the individual running times of which are added to be less than the total running time, is classified as a first type of image quality evaluation item, and the remaining image quality evaluation items in the plurality of image quality evaluation items are classified as a second type of image quality evaluation item.
3. The image processing method according to claim 1, wherein the step of classifying the plurality of image quality evaluation items into a first type of image quality evaluation item and a second type of image quality evaluation item according to the individual running time and the total running time further comprises:
arranging the image quality evaluation items in sequence according to respective running times; and
classifying the first N image quality evaluation items into a first type of image quality evaluation items, and classifying the rest image quality evaluation items into a second type of image quality evaluation items;
wherein a sum of individual running times of the image quality evaluation items of the first category is less than the total running time of the image quality evaluation items.
4. The image processing method according to claim 1, wherein the processor further comprises, after the step of dividing the plurality of image quality evaluation items into a first type of image quality evaluation item and a second type of image quality evaluation item according to the individual running time and the total running time:
and generating the distribution result of the image quality evaluation items by using the first type of image quality evaluation items and the second type of image quality evaluation items.
5. The image processing method according to claim 1, wherein the step of calculating the total runtime of the plurality of image quality evaluation items performed by the cloud server further comprises:
testing whether the image processing apparatus supports each of the plurality of image quality evaluation items; and
classifying the image quality evaluation items not supported by the image processing apparatus as the second type of image quality evaluation items.
6. The image processing method according to claim 1, wherein the step of classifying the plurality of image quality evaluation items into a first type of image quality evaluation item and a second type of image quality evaluation item according to the individual running time and the total running time further comprises:
classifying the image quality evaluation items whose individual run times are greater than a threshold value as the second type of image quality evaluation items.
7. The image processing method according to claim 1, wherein after the steps of executing a first type of image quality evaluation item by the image processing apparatus and executing a second type of image quality evaluation item by the cloud server, further comprising:
the cloud server uses the images which pass through the second type of image quality evaluation items for image recognition and outputs image recognition results; and
the image processing device executes the first type of image quality evaluation item to output an execution result, and if the execution result is passed, the image recognition result is displayed on a display screen; and if the execution result is not passed, the image recognition result is not adopted.
8. The image processing method according to claim 4, wherein said step of generating the assignment result of the image quality evaluation item further comprises, after said step of:
storing the allocation result in the storage unit; and
and setting the distribution result as an image processing default value.
CN202111070729.2A 2021-09-13 2021-09-13 Image processing method Pending CN115809814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111070729.2A CN115809814A (en) 2021-09-13 2021-09-13 Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111070729.2A CN115809814A (en) 2021-09-13 2021-09-13 Image processing method

Publications (1)

Publication Number Publication Date
CN115809814A true CN115809814A (en) 2023-03-17

Family

ID=85481230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111070729.2A Pending CN115809814A (en) 2021-09-13 2021-09-13 Image processing method

Country Status (1)

Country Link
CN (1) CN115809814A (en)

Similar Documents

Publication Publication Date Title
CN109376615B (en) Method, device and storage medium for improving prediction performance of deep learning network
US8549478B2 (en) Graphical user interface input element identification
CN114764768B (en) Defect detection classification method, device, electronic device and storage medium
CN110888625B (en) Method for controlling code quality based on demand change and project risk
TWI779808B (en) Image processing method
CN110728315A (en) Real-time quality control method, system and equipment
CN110544166A (en) Sample generation method, device and storage medium
CN110826616B (en) Information processing method and device, electronic equipment and storage medium
CN112101447B (en) Quality evaluation method, device, equipment and storage medium for data set
CN111858287A (en) Code performance evaluation method and device, electronic device and storage medium
CN115809814A (en) Image processing method
CN112367222B (en) Network anomaly detection method and device
CN114896105A (en) Reliability evaluation method, device, equipment and medium for electronic equipment
CN115185830B (en) Use case generation method, device, equipment and storage medium based on test unit
US10467258B2 (en) Data categorizing system, method, program software and recording medium therein
CN113449814B (en) A kind of picture level classification method and system
CN117056139A (en) Self-adaptive memory detection method and system based on artificial intelligence
CN116521496A (en) Method, system, computer device and storage medium for verifying server performance
CN118691921A (en) A training sample construction method for a training model and a training model acquisition method
CN111597096B (en) A benchmark test method, system and terminal equipment
CN114005535A (en) Visual health risk assessment method, equipment and computer storage medium
CN112016579B (en) Data processing method, risk identification method, computer device, and storage medium
JP2023534285A (en) Machine learning training device and its operation method
CN114648656A (en) Image recognition method and device, terminal equipment and readable storage medium
CN114511766A (en) Image identification method based on deep learning and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination