Image processing method

By dynamically adjusting image quality evaluation items between the local terminal and the cloud server, the problem of low recognition efficiency caused by poor network environment in image recognition methods is solved, and more efficient image quality evaluation and recognition are achieved.

CN115809814BActive Publication Date: 2026-11-27ACER INC +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111070729.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-13
Publication Date
2026-11-27
Estimated Expiration
2041-09-13

AI Technical Summary

Technical Problem

Existing image recognition methods suffer from low recognition efficiency and poor user experience when the user's device and network environment are poor, as the time required to upload images to the cloud server for quality evaluation is too long.

Method used

The image quality evaluation items are dynamically adjusted between the local end and the cloud server. By calculating the individual running time and the total running time, the image quality evaluation items are divided into two categories, which are executed by the local end and the cloud server respectively, to adapt to the device and network conditions.

Benefits of technology

It improves the processing time and recognition efficiency of image quality assessment, reduces user waiting time, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115809814B_ABST
    Figure CN115809814B_ABST
Patent Text Reader

Abstract

The present application provides an image processing method. In the method, a plurality of image quality assessment items are received, and a total running time of the image quality assessment items executed on a cloud server is calculated, and individual running times of the image quality assessment items executed on an image processing device are respectively calculated. According to the individual running times and the total running time, the image quality assessment items are divided into first-type image quality assessment items and second-type image quality assessment items. The first-type image quality assessment items are executed by the image processing device, and the second-type image quality assessment items are executed by the cloud server. In this way, the image processing method classifies the image quality assessment items, thereby improving the processing efficiency of image recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image processing, and more particularly to an image processing method for image quality assessment. Background Technology

[0002] Typically, image recognition first performs Image Quality Assessment (IQA) on the image to be tested to filter out images whose quality is below a threshold. The current method involves uploading the image to be tested to the cloud and having the cloud server execute multiple selected image quality assessment items.

[0003] The user's device and the current network environment affect the transmission time required for the image processing device (local end) to upload / download images and recognition results from the cloud server. If the current network environment is poor, causing excessive time for the image processing device to upload an image and receive the recognition result, it reduces and impacts image processing efficiency. Furthermore, if the image under test fails the image quality evaluation performed by the cloud server, the user must still wait for the time required to upload the image and receive the failed quality result. This forces the user to retake the image or select a new one, sometimes resulting in a recognition efficiency lower than that of the user judging image quality by eye when using the cloud server for image quality evaluation. Therefore, it is inconvenient to use. Summary of the Invention

[0004] This invention proposes an image processing method, which can classify image quality evaluation items into a first category and a second category based on the individual running time of the image quality evaluation items on the local end and the total running time on the cloud server. This allows for dynamic adjustment of the device executing the image quality evaluation items according to the user's device and network environment, thus better aligning with the actual conditions of the user's device and network environment.

[0005] The image processing method of the present invention is applicable to an image processing apparatus. This image processing apparatus has a processor and a storage unit, and is communicatively connected to a cloud server. The image processing method performs the following steps according to instructions from the image processing apparatus: receiving image quality evaluation items; calculating the total execution time of the image quality evaluation items on the cloud server, and calculating the individual execution time of the image quality evaluation items on the image processing apparatus; classifying the image quality evaluation items into a first category and a second category based on the individual execution time and the total execution time; executing the first category of image quality evaluation items by the image processing apparatus, and executing the second category of image quality evaluation items by the cloud server.

[0006] Based on the above, the image processing method according to the embodiments of the present invention adapts and dynamically adjusts the execution device for image quality evaluation items according to the device status of the image processing apparatus and the user's network status. Therefore, when the user's device and network environment conditions result in excessively long processing times, some or all of the image quality evaluation items can be allocated to the local image processing apparatus or processor for image quality evaluation during image processing. Attached Figure Description

[0007] The accompanying drawings are included to further illustrate 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 the principles of the invention.

[0008] Figure 1 This is a block diagram of an image processing apparatus according to an embodiment of the present invention;

[0009] Figure 2 This is a flowchart of an image processing method according to an embodiment of the present invention;

[0010] Figure 3 This is a schematic flowchart of an image processing method according to an embodiment of the present invention;

[0011] Figure 4 This is a flowchart of image recognition according to an embodiment of the present invention;

[0012] Figure 5A This is a schematic diagram of an image processing method;

[0013] Figure 5B This is a schematic diagram of an image processing method according to an embodiment of the present invention.

[0014] Explanation of icon numbers

[0015] 100: Image processing device;

[0016] 110: Processor;

[0017] 120: Storage unit;

[0018] 130: Display screen;

[0019] 2: Image recognition model;

[0020] RL: Image recognition result;

[0021] IQA_CR: Allocation result;

[0022] L: Local end;

[0023] C: Cloud server;

[0024] Cloud_Time: Total runtime;

[0025] IQA A_Time: The runtime of image quality assessment item A;

[0026] IQA B_Time: The runtime of image quality assessment item B;

[0027] IQA C_Time: The runtime of image quality assessment item C;

[0028] IQA D_Time: The runtime of image quality assessment item D;

[0029] IQA_G1: Category 1 image quality assessment item;

[0030] IQA_G2: Category II image quality assessment item;

[0031] IQA: Image Quality Assessment Program;

[0032] IQA A: Image Quality Assessment Item A;

[0033] IQA B: Image Quality Assessment Item B;

[0034] IQA C: Image Quality Assessment Item C;

[0035] IQA D: Image Quality Assessment Item D;

[0036] Img_m: Image;

[0037] S210, S220, S230, S240, S211: Steps. Detailed Implementation

[0038] Reference will now be made in detail to exemplary embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same component reference numerals are used in the drawings and description to denote the same or similar parts.

[0039] Figure 1 This is a block diagram of an image processing apparatus according to an embodiment of the present invention, but it is only for illustrative purposes and is not intended to limit the invention. Please refer to... Figure 1 The image processing method is applicable to an image processing apparatus. The image processing apparatus 100 may include a storage unit 120, a processor 110, and a display screen 130. In some embodiments, the image processing apparatus 100 may be implemented as a notebook computer, desktop computer, tablet computer, industrial computer, server, or other type of calculator or image processing device; the present invention is not limited thereto.

[0040] Storage unit 120 is used to store data such as images, instructions, program code, software modules, etc. The storage unit may include volatile storage circuitry and non-volatile storage circuitry. Volatile storage circuitry is used to volatilely store data. For example, volatile storage circuitry may include random access memory (RAM) or similar volatile storage media. Non-volatile storage circuitry is used to non-volatilely store data. For example, non-volatile storage circuitry may include read-only memory (ROM), solid-state disk (SSD), and / or hard disk drive (HDD) or similar non-volatile storage media.

[0041] The display screen 130 can be implemented using a liquid crystal display (LCD), a plasma display, or a touch screen with a touch module.

[0042] Processor 110 is coupled to storage unit 120 and is used to control the overall or partial operation of the image processing device, such as a central processing unit (CPU), or other programmable general-purpose or special-purpose microprocessor, digital signal processor (DSP), programmable controller, application-specific integrated circuit (ASIC), programmable logic device (PLD), graphics processing unit (GPU), or other similar devices or combinations thereof. Processor 110 can execute program code, software modules, instructions, image quality evaluation items, image processing defaults, image recognition software, etc., recorded in the storage unit to implement the image processing method in the embodiments of the present invention.

[0043] Figure 2 This is a flowchart of an image processing method according to an embodiment of the present invention. Please refer to... Figure 2The method described in this embodiment is applicable to the image processing apparatus 100 described above. In this embodiment, the image processing method of the present invention performs at least the following steps according to the instructions of the image processing apparatus 100: the processor 110 receives multiple image quality evaluation items (step S210). For example, the image quality evaluation items may be calculating the image entropy, calculating the image average gradient, calculating the image standard deviation, calculating the image edge intensity, etc. That is, according to the preset values ​​of the image quality estimation items set by the user or built into the image processing apparatus, multiple different image quality evaluation items are transmitted to the processor 110.

[0044] Figure 3 This is a schematic flowchart of an image processing method according to an embodiment of the present invention. The processor 110 calculates the total runtime of the image quality evaluation items executed on the cloud server, and calculates the individual runtime of the image quality evaluation items when executed on the image processing device (step S220). Specifically, the processor 110 receives a test image and executes each image quality evaluation item on the test image, calculating the individual runtime of each image quality evaluation item. Please refer to... Figure 3 In one embodiment, the default values ​​for image quality assessment items are four: Image Quality Assessment Item A (i.e., IQA A), Image Quality Assessment Item B (i.e., IQA B), Image Quality Assessment Item C (i.e., IQA C), and Image Quality Assessment Item D (i.e., IQA D). Furthermore, the processing time for each image quality assessment item calculated by the processor 110 is 7 seconds (IQA A), 2 seconds (IQA B), 3 seconds (IQA C), and 6 seconds (IQA D), respectively. Simultaneously, the processor 110 uploads the test image to a cloud server to execute each image quality assessment item. Next, the processor 110 calculates the total processing time, Cloud_Time, from when the processor 110 uploads the test image to the cloud server until the processor 110 receives the results of the image quality assessment items (A, B, C, D) from the cloud server, and finds it to be 9 seconds.

[0045] The processor 110 divides the image quality evaluation items into a first category of image quality evaluation items and a second category of image quality evaluation items based on the individual running time and the total running time (step S240). Figure 4 This 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 of image quality evaluation items whose execution time is less than the total execution time based on the individual execution time of the image quality evaluation items on the processor 110 and the total execution time of the image quality evaluation items on the cloud server (Cloud). Then, the processor 110 classifies the image quality evaluation items into a first category and a second category. In one embodiment, step S240 further includes: the processor 110 classifies image quality evaluation items whose sum of individual execution times is less than the total execution time into the first category image quality evaluation item IQA_G1, and classifies the remaining image quality evaluation items into the second category image quality evaluation item IQA_G2. For example, in one embodiment, the total execution time Cloud_Time is 9 seconds. The processor 110 classifies image quality evaluation item B (with an individual execution time of 2 seconds) and image quality evaluation item C (with an individual execution time of 3 seconds) into the first category image quality evaluation item IQA_G1. Then, the processor 110 classifies the remaining image quality evaluation items A and D into the second category image quality evaluation item IQA_G2.

[0046] In another embodiment, the processor 110 classifies image quality evaluation items into a first category of image quality evaluation items IQA_G1 and a second category of image quality evaluation items IQA_G2 based on individual running times and total running time (step S240). This further includes the processor 110 sequentially arranging the image quality evaluation items according to their individual running times. For example, image quality evaluation items A, B, C, and D are sequentially arranged as image quality evaluation items B, C, D, and A according to their individual running times of 7, 2, 3, and 6 seconds, respectively. Next, the processor 110 selects the first N image quality evaluation items and classifies them as the first category of image quality evaluation items IQA_G1, and classifies the remaining image quality evaluation items as the second category of image quality evaluation items IQA_G2. For example, the value of N can be set to one-third or one-half of the total number of image quality evaluation items. Alternatively, the value of N can be such that the sum of the individual running times of the first N sequentially arranged image quality evaluation items is less than the total running time. For example, if the combined runtime of the first two image quality evaluation items, B and C, is 5 seconds, then it is less than the total runtime of 9 seconds for the image quality evaluation items executed in the cloud. In this embodiment, N is a positive integer.

[0047] Following the step S220, after the processor 110 classifies multiple image quality evaluation items into a first category and a second category based on individual running time and total running time, the image processing method of the present invention further includes: the processor 110 classifies the image quality evaluation items into a first category and a second category, and outputs an allocation result IQA_CR. Then, the processor 110 stores the allocation result IQA_CR in the storage unit 120 and sets the allocation result IQA_CR as the image processing default value. The image processing device 100 and the cloud server execute subsequent image quality evaluation items according to the allocation result IQA_CR. Specifically, the processor 110 records the classification result in step S220 as the allocation result IQA_CR and stores it in the storage unit 120 of the image processing device 100. Then, the processor 100 sets the allocation result IQA_CR as the default value for the impact processing of the processing device. In other words, in subsequent image processing, the image processing device 100 performs subsequent image quality evaluation items on the image according to the allocation result IQA_CR, with the image processing device 100 (i.e., the local end) and the cloud server respectively. In other words, during subsequent image processing, the image processing device, based on the allocation result IQA_CR, has the processor 110 execute the first type of image quality evaluation item IQA_G1, while the cloud server executes the second type of image quality evaluation item IQA_G2.

[0048] Before calculating the total runtime of multiple image quality assessment items 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 assessment items (step S211); and classifying image quality assessment items not supported by the image processing device 100 into a second category of image quality assessment items IQA_G2. Specifically, the processor 110 tests whether the image processing device 100 supports each image quality assessment item and classifies image quality assessment items not supported by the image processing device into a second category of image quality assessment items to improve the classification efficiency of image quality assessment items. For example, some image quality assessment items require specific peripheral devices or specific display adapter levels. When the image processing device is not equipped with such specific peripheral devices or display adapters, the processor 110 directly classifies the multiple image quality assessment items requiring specific peripheral devices or display adapters into a second category of image quality assessment items. In another embodiment, the processor 110 may classify individual image quality assessment items into a second category of image quality assessment items IQA_G2 based on the runtime of the individual image quality assessment item being greater than a threshold. For example, the processor 110 classifies image quality evaluation items with a running time of more than 5 seconds into the second category of image quality evaluation items IQA_G2, in order to accelerate the speed at which the image processing device 100 processes image quality evaluations.

[0049] After the step of performing a first type of image quality evaluation item by the image processing device 100 and performing a second type of image quality evaluation item by the cloud server (step S240), the image processing method of the present invention further includes: the cloud server using images that all pass the second type of image quality evaluation item IQA_G2 in the image recognition model 2 and outputting an image recognition result RL; and the image processing device 100 performing the first type of image quality evaluation item to output an execution result, if the execution result is passable, displaying the image recognition result RL on the display screen 130; if the execution result is failable, not using the image recognition result RL. Specifically, according to the allocation result IQA_CR of the processor 110, the cloud server performs the second type of image quality evaluation item IQA_G2 on the image Img_m that needs to be quality evaluated later. Then, the image Img_m that all pass the second type of image quality evaluation item IQA_G2 is used in image recognition to output the image recognition result RL of the image.

[0050] It is worth noting that the processor 110 of the image processing apparatus 100 performs a first type of image quality assessment (IQA_G1) on the image to be subsequently assessed for quality, and outputs an execution result. The processor 110 displays or does not use the image recognition result RL output by the cloud server based on the execution result of the first type of image quality assessment (IQA_G1). Specifically, if the execution result of the first type of image quality assessment (IQA_G1) is a pass, and the execution result of the second type of image quality assessment (IQA_G2) performed by the cloud server is also a pass and an image recognition result RL is output, then the processor 110 receives the image recognition result RL and outputs and displays it 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 assessment (IQA_G1) performed by the processor 110 is a fail, then the processor 110 does not use (i.e., ignores) the image recognition result RL output by the cloud server. Thus, users can improve the execution efficiency of image quality assessment in image processing and shorten the time required for image quality assessment through the image processing method of the present invention.

[0051] Figure 5A This is a schematic diagram of an image processing method. Figure 5B This is a schematic diagram of an image processing method according to an embodiment of the present invention. Please refer to... Figure 5A and Figure 5B , Figure 5A The existing method, which does not use the image processing method of this invention, involves uploading an image to a cloud server C and having the cloud server C perform an image quality evaluation. If the image quality is below the set value for the image quality evaluation item, the cloud server C returns the image and rejects image recognition. Then, the user must upload a new image again, and the cloud server C performs image quality evaluation and image recognition (Image Recognition AI) again. The image recognition result is then transmitted to the user's image processing device (i.e., local terminal C). Figure 5A It can be seen that the existing method will take 20 seconds for image recognition. However, Figure 5B This is a flowchart illustrating the image processing method using the present invention. Figure 5B It can be understood that when the image processing device 100 uploads an image to the cloud server, the image processing device 100 can simultaneously execute image quality evaluation item B and image quality evaluation item C. Therefore, if the quality of the image output by the image processing device 100 during image quality evaluation item B does not meet the set value of image quality evaluation item B, another image is re-uploaded to the cloud server C. Thus, by using the image processing method of the present invention, it is possible to achieve the following: Figure 5BAfter the first image upload (shown by the dashed line and gray background), before the image upload takes 6 seconds, IQA A & IQA D take 1 second, image recognition takes 2 seconds, and the recognition result is returned, the local image processing device 100 can upload the image a second time, thereby reducing the image recognition time to 13 seconds. It should be noted that, as is well known to those skilled in the art, existing image quality assessment methods are not limited to the four methods described in this embodiment, and the image quality assessment settings are determined according to the default values ​​of the selected image quality assessment method. Since this is well known to those skilled in the art, it will not be elaborated upon here. On the other hand, image recognition processing can include image recognition processing for diabetic retinopathy through eye scanning, iris recognition processing, text recognition, pattern recognition, object detection image recognition, face recognition, etc.

[0052] In summary, in this embodiment of the invention, when a user uses an image processing method to assist in image quality evaluation during image processing, the image quality evaluation items can be divided into a first type of image quality evaluation items and a second type of image quality evaluation items based on individual running time and total running time. By classifying them, the image processing device located on the local end executes the first type of image quality evaluation items, and the cloud server executes the second type of image quality evaluation items. Furthermore, based on the device status of the local image processing device and the connection status between the local end and the cloud server, some image quality evaluation items are dynamically allocated to be executed on the local end (i.e., the image processing device), and the other part of the image quality evaluation items are executed on the cloud server, so as to improve the processing time of image quality evaluation and improve the detection efficiency (i.e., image recognition) of the image processing method.

[0053] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An image processing method applicable to an image processing apparatus, the image processing apparatus having a processor and a storage unit, characterized in that, The image processing method executes the following steps according to the instructions of the image processing device. Accepts multiple image quality evaluation projects; Calculate the total runtime of the plurality of image quality assessment items executed on the cloud server, and calculate the individual runtime of the plurality of image quality assessment items executed on the image processing device; Based on the individual running time and the total running time, multiple image quality evaluation items are divided into a first category of image quality evaluation items and a second category of image quality evaluation items; and The image processing device performs a first type of image quality assessment, and the cloud server performs a second type of image quality assessment. The step of classifying the plurality of image quality evaluation items into a first category of image quality evaluation items and a second category of image quality evaluation items based on the individual running time and the total running time further includes: The multiple image quality evaluation items are arranged sequentially according to their individual running times; as well as The first N image quality evaluation items are classified as the first type of image quality evaluation items, and the remaining image quality evaluation items are classified as the second type of image quality evaluation items. Wherein, the sum of the individual running times of the first type of image quality evaluation items is less than the total running time of the plurality of image quality evaluation items.

2. The image processing method according to claim 1, wherein after the step of the processor classifying the plurality of image quality evaluation items into the first category of image quality evaluation items and the second category of image quality evaluation items based on the individual running time and the total running time, the method further includes: The first type of image quality evaluation items and the second type of image quality evaluation items are combined to generate the allocation result of the image quality evaluation items.

3. The image processing method according to claim 1, wherein after the steps of the image processing device performing the first type of image quality assessment item and the cloud server performing the second type of image quality assessment item, the method further includes: The cloud server uses images that have passed all the second type of image quality evaluation items for image recognition and outputs the image recognition results. as well as The image processing device performs the first type of image quality evaluation project to output the execution result. If the execution result is passed, the image recognition result is displayed on the display screen. If the execution result is unsuccessful, the image recognition result will not be used.

4. The image processing method according to claim 2, further comprising, after the step of generating the allocation result of the image quality evaluation item: The allocation result is stored in the storage unit; as well as Set the allocation result as the default value for image processing.

Citation Information

Patent Citations

  • Method for evaluating picture quality and device therefor

    JP1998063859A

  • Method for face recognition

    US20140301599A1