Electronic device for evaluating quality of image, and method of operating electronic device

The electronic device employs a Revised Shifted Windows Transformer model to extract feature maps and calculate quality scores and importance within images, addressing the challenges of no-reference image quality evaluation by providing an efficient and accurate method for assessing image quality, particularly in display devices and image conversion systems.

WO2024186190A1PCT designated stage expired Publication Date: 2024-09-12SAMSUNG ELECTRONICS CO LTD

Patent Information

Application Number
PCT/KR2024/095318
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-26
Filing Date
2024-02-16
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Current image quality evaluation methods, especially no-reference methods, face challenges in accurately assessing image quality without a reference image, and existing technologies struggle to effectively utilize deep learning-based approaches for efficient image quality assessment.

Method used

An electronic device and method that utilize a processor to acquire images, extract feature maps, calculate quality scores, and determine the importance of reference regions within an image using a Revised Shifted Windows Transformer model, enabling effective no-reference image quality evaluation by processing images through a series of transformer blocks and convolutional layers to generate quality and importance maps.

Benefits of technology

This approach allows for accurate and efficient image quality evaluation, improving the assessment of image quality scores and importance, thereby enhancing the evaluation of image quality in various display devices and image conversion systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024095318_12092024_PF_FP
    Figure KR2024095318_12092024_PF_FP
Patent Text Reader

Abstract

The present disclosure comprises an electronic device and a method of operating an electronic device, the electronic device comprising a memory that stores at least one instruction, and at least one processor that executes the at least one instruction stored in the memory, wherein the at least one processor executes the at least one instruction to: obtain an image; extract a feature map including features of the image on the basis of the image; calculate a quality score for each reference area of the image on the basis of the extracted feature map; calculate importance for each reference area of the image on the basis of the extracted feature map; and evaluate the quality of the image on the basis of a final quality score of the image calculated on the basis of the quality score for each reference area and the importance for each reference area.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device and method of operating the electronic device for evaluating the quality of an image

[0001] The present disclosure relates to an electronic device and a method of operating the electronic device. Specifically, the present disclosure relates to an electronic device and a method of operating the electronic device for evaluating the quality of an image.

[0002] With the development and widespread use of electronic devices, methods for evaluating image quality are being studied in the process of displaying images or converting the quality, size, shape, etc. of images.

[0003] Image quality assessment methods include the Reference Image Quality Assessment method, which refers to an image that serves as the evaluation standard, and the No-Reference Image Quality Assessment method, which evaluates without a reference image. Image quality assessment can be determined based on indices such as the Pearson's Linear Correlation Coefficient (PLCC) or the Spearman's Rank Order Correlation Coefficient (SRCC).

[0004] With recent technological advancements, deep learning-based no-reference image quality assessment methods are being actively researched. In particular, advancements in transformer technology are improving the performance of no-reference image quality assessment methods.

[0005] One embodiment of the present disclosure provides an electronic device for evaluating the quality of an image. The electronic device may include a memory storing at least one instruction and at least one processor for executing the at least one instruction stored in the memory. The at least one processor may acquire an image by executing the at least one instruction. The at least one processor may extract a feature map including features of the image based on the image by executing the at least one instruction. The at least one processor may calculate a quality score for each reference region of the image based on the extracted feature map by executing the at least one instruction. The at least one processor may calculate an importance for each reference region of the image based on the extracted feature map by executing the at least one instruction. The at least one processor may evaluate the quality of the image based on a final quality score of the image calculated based on the quality score for each reference region and the importance for each reference region by executing the at least one instruction.

[0006] One embodiment of the present disclosure provides an operating method of an electronic device for evaluating the quality of an image. The operating method of the electronic device may include a step of acquiring an image. The operating method of the electronic device may include a step of extracting a feature map including features of the image based on the image. The operating method of the electronic device may include a step of calculating a quality score for each reference region of the image based on the extracted feature map. The operating method of the electronic device may include a step of calculating an importance for each reference region of the image based on the extracted specific map. The operating method of the electronic device may include a step of evaluating the quality of the image based on a final quality score of the image calculated based on the quality score for each reference region and the importance for each reference region.

[0007] As one embodiment of the present disclosure, a computer-readable recording medium having recorded thereon a program for performing at least one method of the disclosed operating method on a computer may be provided.

[0008] The present disclosure may be understood in conjunction with the following detailed description and accompanying drawings, wherein reference numerals refer to structural elements.

[0009] FIG. 1 is a block diagram illustrating the configuration of an electronic device according to one embodiment of the present disclosure.

[0010] FIG. 2 is a flowchart for explaining an operation method of an electronic device according to one embodiment of the present disclosure.

[0011] FIG. 3 is a drawing for explaining the operation of an electronic device according to one embodiment of the present disclosure.

[0012] FIG. 4A is a diagram for explaining an operation of extracting a feature map based on an image according to one embodiment of the present disclosure.

[0013] FIG. 4b is a diagram for explaining an operation of extracting a feature map based on an image according to one embodiment of the present disclosure.

[0014] FIG. 5 is a diagram illustrating a window used in a compensation-Swin transformer model according to one embodiment of the present disclosure.

[0015] FIG. 6 is a drawing for explaining a window used in a compensation-Swin transformer model according to one embodiment of the present disclosure.

[0016] FIG. 7 is a diagram for explaining an operation of calculating a quality score for each reference area according to one embodiment of the present disclosure.

[0017] FIG. 8 is a diagram for explaining an operation of calculating importance for each reference area according to one embodiment of the present disclosure.

[0018] FIG. 9 is a diagram for explaining a filter used in an operation of calculating importance for each reference area according to one embodiment of the present disclosure.

[0019] FIG. 10 is a diagram illustrating a method for training a model used in an operating method of an electronic device for evaluating the quality of an image according to one embodiment of the present disclosure.

[0020] FIG. 11 is a drawing for explaining a display device using an image quality evaluation method according to one embodiment of the present disclosure.

[0021] FIG. 12 is a drawing for explaining an electronic device using an image quality evaluation method according to one embodiment of the present disclosure.

[0022] The terms used in this disclosure will be briefly explained, and one embodiment of the present disclosure will be specifically described.

[0023] The terms used in this disclosure are selected from widely used, current terms, taking into account the functions of one embodiment of the disclosure. However, these terms may vary depending on the intentions of those skilled in the art, precedents, the emergence of new technologies, etc. Furthermore, in certain cases, terms may be arbitrarily selected by the applicant, and in such cases, their meanings will be described in detail in the description of the relevant embodiments of the disclosure. Therefore, the terms used in this disclosure should not be defined simply as names of terms, but rather based on the meanings of the terms and the overall content of the disclosure.

[0024] Singular expressions may include plural expressions unless the context clearly indicates otherwise. Terms used herein, including technical or scientific terms, have the same meaning as commonly understood by a person of ordinary skill in the art described herein.

[0025] Throughout this disclosure, when a part is said to "include" a component, this does not exclude other components, but rather implies the inclusion of other components, unless otherwise specifically stated. Furthermore, terms such as "part," "module," and the like described herein refer to a unit that processes at least one function or operation, which may be implemented in hardware or software, or a combination of hardware and software.

[0026] The expression “configured to” as used herein can be used interchangeably with, for example, “suitable for,” “having the capacity to,” “designed to,” “adapted to,” “made to,” or “capable of.” The term “configured to” does not necessarily mean something that is “specifically designed to” in terms of hardware. Instead, in some contexts, the expression “a system configured to” can mean that the system is “capable of” doing something together with other devices or components. For example, the phrase “a processor configured (or set) to perform A, B, and C” may mean a dedicated processor (e.g., an embedded processor) for performing those operations, or a generic-purpose processor (e.g., a CPU or application processor) that can perform those operations by executing one or more software programs stored in memory.

[0027] Additionally, when a component is referred to as being “connected” or “connected” to another component in the present disclosure, it should be understood that the component may be directly connected or connected to the other component, but may also be connected or connected via another component in between, unless otherwise specifically stated.

[0028] Below, with reference to the attached drawings, embodiments of the present disclosure are described in detail so that those skilled in the art can easily implement the present disclosure. However, one embodiment of the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein. In addition, in the drawings, parts irrelevant to the description are omitted to clearly describe one embodiment of the present disclosure, and similar parts are designated with similar drawing reference numerals throughout the present disclosure.

[0029] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings.

[0030] FIG. 1 is a block diagram illustrating the configuration of an electronic device according to one embodiment of the present disclosure.

[0031] Referring to FIG. 1, in one embodiment, an image quality assessment device (100) may be an electronic device for assessing the quality of an image. The image quality assessment device (100) may acquire an image and evaluate the quality of the acquired image. In one embodiment, the quality assessment of the image may include a reference image quality assessment method (Reference Image Quality Assessment, R-IQA) that compares the quality of an image to be evaluated by comparing a reference image with an image to be evaluated, or a non-reference image quality assessment method (No Reference Image Quality Asessment, NR-IQA) that calculates a score representing the quality of an image to be evaluated according to a preset standard and evaluates the quality of the image to be evaluated based on the calculated score. In this case, the image to be evaluated may be an image acquired by the image quality assessment device (100).

[0032] In one embodiment, the image quality evaluation device (100) and the operating method of the image quality evaluation device according to the present disclosure may be an electronic device and an operating method of the electronic device for evaluating the quality of an evaluation target image for a non-reference image evaluation method. Hereinafter, for convenience of description, the image quality evaluation device (100) is referred to as an electronic device (100) for evaluating the quality of an image, and the operating method of the image quality evaluation device (100) is referred to as an operating method of the electronic device (100) for evaluating the quality of an image.

[0033] In one embodiment, the electronic device (100) may include a memory (110), at least one processor (130), and a communication interface (140). However, not all of the components illustrated in FIG. 1 are essential components. The electronic device (100) may be implemented with more components than the components illustrated in FIG. 1, or may be implemented with fewer components. In one embodiment, the memory (110), at least one processor (130), and the communication interface (140) may each be electrically and / or physically connected to one another.

[0034] In one embodiment, the memory (110) may store instructions, data structures, and program codes that can be read by at least one processor (130). In one embodiment, there may be more than one memory (110). In the disclosed embodiments, operations performed by at least one processor (130) may be implemented by executing instructions or codes of a program stored in the memory (110).

[0035] In one embodiment, the memory (110) may include at least one of a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (e.g., SD or XD memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a mask ROM, a flash ROM, a hard disk drive (HDD), or a solid state drive (SSD). The memory (110) may store instructions or program codes for performing functions or operations of the electronic device (100). Instructions, algorithms, data structures, program codes, and application programs stored in the memory (110) may be implemented in a programming or scripting language such as, for example, C, C++, Java, or an assembler.

[0036] In one embodiment, the memory (110) may store an image quality assessment module (120) that may be used to acquire an image and evaluate the quality of the acquired image. In one embodiment, the image quality assessment module (120) may include an image acquisition module (121), a feature map extraction module (122), and a final quality score calculation module (124). The memory (110) may store the image acquisition module (121), the feature map extraction module (122), and the final quality score calculation module (124). However, not all of the modules illustrated in FIG. 1 are essential modules. The memory (110) may store more or fewer modules than the modules illustrated in FIG. 1.

[0037] In one embodiment, a 'module' included in the memory (110) may mean a unit that processes a function or operation performed by at least one processor (130). The 'module' included in the memory (110) may be implemented as software such as instructions, an algorithm, a data structure, or a program code.

[0038] In one embodiment, the image acquisition module (121) may be configured with commands or program codes related to an operation or function of acquiring an image. The image acquisition module (121) may be configured with commands or program codes related to an operation or function of receiving images from an external server or peripheral electronic devices. The image acquisition module (121) may include an image acquisition model. In one embodiment, at least one processor (130) may acquire an image to be subject to quality evaluation by executing the commands or program codes of the image acquisition module (121).

[0039] In one embodiment, the feature map extraction module (122) may be configured with instructions or program codes related to an operation or function of extracting a feature map including the characteristics of an image based on an image. In one embodiment, the feature map extraction module (122) may include a Revised Shifted window transformer (Swin) model (123). The feature map extraction module (122) may be configured with instructions or program codes related to an operation or function of extracting a feature map from an image using the Revised Shifted window transformer model (123). Although the feature map extraction module (122) is illustrated in FIG. 1 as including the Revised Shifted window transformer model, the present disclosure is not limited thereto. In one embodiment, the feature map extraction module (122) may include a Swin transformer model. The feature map extraction module (122) may be configured with instructions or program codes related to an operation or function of extracting a feature map from an image using the Swin transformer model.

[0040] In one embodiment, at least one processor (130) can extract a feature map from an image by executing instructions or program codes of a feature map extraction module (122). At least one processor (130) can extract a feature map from an image using a Swin transformer model or a correction-Swin transformer model included in the feature map extraction module (122). Hereinafter, an operation of extracting a feature map from an image using the Swin transformer model and the correction-Swin transformer model will be described below with reference to FIGS. 3 to 6.

[0041] In one embodiment, the final quality score calculation module (124) may be configured with instructions or program codes relating to operations or functions for calculating a final quality score for evaluating the quality of an image based on the extracted feature map. In one embodiment, at least one processor (130) may execute instructions or program codes of the final quality score calculation module (124) to calculate a final quality score for evaluating the quality of an image based on the extracted feature map.

[0042] In one embodiment, the final quality score calculation module (124) may include a region quality calculation model (125), a region importance calculation model (126), and a final quality calculation model (127).

[0043] In one embodiment, the final quality score calculation module (124) may be configured with instructions or program codes relating to an operation or function of calculating a quality score for each reference region of an image based on the extracted feature map using the region quality calculation model (125). At least one processor (130) may calculate a quality score for each reference region of an image based on the extracted feature map using the region quality calculation model (125) included in the final quality score calculation module (124). Hereinafter, an operation of calculating a quality score for each reference region of an image based on the extracted feature map using the region quality calculation model (125) will be described later with reference to FIG. 7.

[0044] In one embodiment, the final quality score calculation module (124) may be configured with instructions or program codes relating to an operation or function of calculating the importance of each reference region of an image based on the extracted feature map using the region importance calculation model (126). At least one processor (130) may calculate the importance of each reference region of an image based on the extracted feature map using the region importance calculation model (126) included in the final quality score calculation module (124). Hereinafter, the operation of calculating the importance of each reference region of an image based on the extracted feature map using the region importance calculation model (126) will be described later with reference to FIGS. 8 and 9.

[0045] In one embodiment, the final quality score calculation module (124) may be configured with instructions or program codes relating to an operation or function of calculating a final quality score of an image based on the calculated quality score for each reference region and the calculated importance for each reference region using the final quality calculation model (127). At least one processor (130) may calculate a final quality score of an image based on the quality score for each reference region and the importance for each reference region of the image using the final quality calculation model (127) included in the final quality score calculation module (124). Hereinafter, an operation of calculating a final quality score of an image based on the quality score for each reference region and the importance for each reference region of the image using the final quality calculation model (127) will be described later with reference to FIG. 3.

[0046] In one embodiment, the image quality assessment module (120) may include an image quality assessment model that determines the quality of the image from the final quality score of the image. The image quality assessment module (120) may include instructions or program codes related to operations or functions for evaluating the quality of the image from the final quality score using the image quality assessment model. At least one processor (130) may evaluate the quality of the image from the final quality score by executing the instructions or program codes of the image quality assessment module (120). At least one processor (130) may evaluate the quality of the image from the final quality score using the image quality assessment model included in the image quality assessment module (120).

[0047] However, the present disclosure is not limited thereto, and the image quality assessment model may be included in the final quality score calculation module (124) or may be included in the final quality calculation model (127).

[0048] In one embodiment, at least one processor (130) may be configured as at least one of a Central Processing Unit, a microprocessor, a Graphic Processing Unit, an Application Processor (AP), an Application Specific Integrated Circuits (ASICs), a Digital Signal Processors (DSPs), a Digital Signal Processing Devices (DSPDs), a Programmable Logic Devices (PLDs), a Field Programmable Gate Arrays (FPGAs), and a Neural Processing Unit or an artificial intelligence (AI) processor designed with a hardware structure specialized for learning and processing an artificial intelligence (AI) model, but is not limited thereto.

[0049] In one embodiment of the present disclosure, if one or more processors included in at least one processor (130) are artificial intelligence-dedicated processors, the artificial intelligence-dedicated processor may be designed with a hardware structure specialized for processing a specific artificial intelligence model.

[0050] In one embodiment of the present disclosure, at least one processor (130) may be configured as a circuit (Circuitry) such as a System on Chip (SoC) or an Integrated Circuit (IC).

[0051] In one embodiment of the present disclosure, at least one processor (130) can execute various types of modules stored in the memory (110). At least one processor (130) can execute at least one instruction constituting the various types of modules stored in the memory (110). By executing the program or at least one instruction stored in the memory (110), at least one processor (130) can process data according to predefined operation rules or artificial intelligence models.

[0052] In one embodiment of the present disclosure, at least one processor (130) can execute at least one module among an image acquisition module (121), a feature map extraction module (122), or a final quality score calculation module (124) stored in a memory (110).

[0053] In one embodiment of the present disclosure, at least one processor (130) may include a plurality of processors.

[0054] In one embodiment of the present disclosure, at least one of the image acquisition module (121), the feature map extraction module (122), or the final quality score calculation module (124) stored in the memory (110) may be executed by any one of the plurality of processors.

[0055] In one embodiment, the communication interface (140) can perform data communication with an external server under the control of at least one processor (130). In addition, the communication interface (140) can perform data communication not only with the external server but also with other peripheral electronic devices. The communication interface (140) can perform data communication with the server or other peripheral electronic devices using at least one of data communication methods including, for example, wired LAN, wireless LAN, Wi-Fi, Bluetooth, zigbee, Wi-Fi Direct (WFD), infrared Data Association (IrDA), Bluetooth Low Energy (BLE), Near Field Communication (NFC), Wireless Broadband Internet (Wibro), World Interoperability for Microwave Access (WiMAX), Shared Wireless Access Protocol (SWAP), Wireless Gigabit Alliance (WiGig), and RF communication.

[0056] In one embodiment, at least one processor (130) may receive an image to be subjected to quality evaluation from an external server or peripheral electronic devices through a communication interface (140). In one embodiment, at least one processor (130) may also receive a Swin transformer model, a corrected-Swin transformer model (123), a region quality calculation model (125), a region importance calculation model (126), and a final quality calculation model (127) from an external server or peripheral electronic devices through a communication interface (140).

[0057] FIG. 2 is a flowchart for explaining an operation method of an electronic device according to one embodiment of the present disclosure.

[0058] Referring to FIGS. 1 and 2, in one embodiment, a method of operating an electronic device (100) for evaluating the quality of an image may include a step (S100) of acquiring an image. In one embodiment, in the step (S100) of acquiring an image, at least one processor (130) may acquire an image by executing commands or program codes of an image acquisition module (121).

[0059] In one embodiment, the operating method of the electronic device (100) for evaluating the quality of an image may include a step (S200) of extracting a feature map including characteristics of the image based on the acquired image. In one embodiment, in the step (S200) of extracting the feature map, at least one processor (130) may acquire the image by executing instructions or program codes of a feature map extraction module (122). At least one processor (130) may input the image into a Swin transformer model or a corrected-Swin transformer model (123), and extract a feature map including characteristics of the image.

[0060] In one embodiment, the operating method of the electronic device (100) for evaluating the quality of an image may include a step (S300) of calculating a quality score for each reference region of the image based on the extracted feature map. In one embodiment, in the step (S300) of calculating a quality score for each reference region of the image, at least one processor (130) may acquire an image by executing instructions or program codes of a final quality score calculation module (124). At least one processor (130) may input a feature map into a region quality calculation model (125) to calculate a quality score for each reference region of the image.

[0061] In one embodiment, the operating method of the electronic device (100) for evaluating the quality of an image may include a step (S400) of calculating importance for each reference region of the image based on the extracted feature map. In one embodiment, in the step (S400) of calculating importance for each reference region of the image, at least one processor (130) may obtain an image by executing instructions or program codes of a final quality score calculation module (124). At least one processor (130) may input the feature map into a region importance calculation model (126) to calculate importance for each reference region of the image.

[0062] In one embodiment, the operating method of the electronic device (100) for evaluating the quality of an image may include a step (S500) of calculating a final quality score of the image based on a quality score for each reference region and an importance for each reference region. In one embodiment, in the step (S500) of calculating the final quality score of the image, at least one processor (130) may acquire an image by executing instructions or program codes of a final quality score calculation module (124). At least one processor (130) may input the quality score for each reference region and the importance for each reference region into a final quality calculation model (127), thereby calculating the final quality score of the image.

[0063] In one embodiment, the operating method of an electronic device (100) for evaluating the quality of an image may include a step (S600) of evaluating the quality of the image based on a calculated final quality score. In one embodiment, in the step (S600) of evaluating the quality of the image, at least one processor (130) may acquire an image by executing instructions or program codes of a final quality score calculation module (124). At least one processor (130) may input the calculated final quality score into an image quality evaluation model to evaluate the quality of the image.

[0064] FIG. 3 is a drawing for explaining the operation of an electronic device according to one embodiment of the present disclosure.

[0065] Referring to FIGS. 1, 2, and 3, in one embodiment, the image (300) acquired in the image acquisition step (S100) may be an image for evaluating quality through an electronic device (100). In one embodiment, the image (300) illustrated in FIG. 3 includes an object and a background, but the present disclosure is not limited thereto. The image for which quality is to be evaluated through the electronic device (100) may include only a background or an object. In addition, the image (300) may include multiple objects.

[0066] In one embodiment, the image (300) may have a resolution of N pixels horizontally and M pixels vertically. In one embodiment, M and N may each be a natural number. In one embodiment, the image (300) may be an image composed of color or black and white. In addition, the image (300) may be an image corresponding to a single frame of a video composed of multiple frames. In one embodiment, the electronic device (100) and the operating method of the electronic device (100) according to the present disclosure may also be used to evaluate the quality of a video.

[0067] In one embodiment, the compensation-Swin transformer model (310) or the Swin transformer model may use a patch containing at least one pixel as a unit area. In one embodiment, one patch may be composed of four pixels horizontally and four pixels vertically. However, the present disclosure is not limited thereto, and the number of pixels included in a patch is not limited.

[0068] In one embodiment, in the process of extracting a one-dimensional feature tensor (320) from an image (300) using a correction-Swin transformer model (310) or a Swin transmodel, the image (300) may be divided into a plurality of patches.

[0069] In one embodiment, an image (300) divided into a plurality of patches may have a resolution of P patches horizontally and Q patches vertically. In this case, P may be a value obtained by dividing M by the horizontal size of the patch. Q may be a value obtained by dividing N by the vertical size of the patch. In one embodiment, P and Q may each be a natural number.

[0070] In one embodiment, in the step (S200) of extracting a feature map based on an image, a one-dimensional feature tensor (320) may be extracted from an image (300) input to a correction-Swin transformer model (310). In one embodiment, at least one processor (130) may input an image (300) to the correction-Swin transformer model (310) to extract a one-dimensional feature tensor (320). The one-dimensional feature tensor (320) has one axis, and along the one axis It can have the size of . At this time, may be the number of times patch merging is performed in the compensation-Swin transformer model described later in Fig. 4a. may mean the number of channels of a one-dimensional feature tensor (320).

[0071] Although the compensation-Swin transformer model (310) is illustrated in FIG. 3, the present disclosure is not limited thereto, and a one-dimensional feature tensor (320) may be extracted from an image (300) using the Swin transformer model. In one embodiment, the compensation-Swin transformer model (310) may include an artificial intelligence model. In one embodiment, the artificial intelligence model included in the compensation-Swin transformer model (310) may include a machine learning or deep learning model. In one embodiment, the artificial intelligence model included in the compensation-Swin transformer model (310) may be an artificial intelligence model trained to receive an image (300) as input, and perform a transformer operation utilizing self-attention based on a window, which is an area including at least one patch, to infer a one-dimensional tensor feature (320).

[0072] In one embodiment, in the step (S200) of extracting a feature map based on an image, at least one processor (130) may reshape a one-dimensional feature tensor (320) extracted from the image (300) by a correction-Swin transformer model (310) into a three-dimensional feature tensor (330). In one embodiment, at least one processor (130) may reshape the one-dimensional feature tensor (320) into a three-dimensional feature tensor (330) in order to calculate a quality score and an importance for each reference region of the image, which will be described later. In one embodiment, the three-dimensional feature tensor (330) has three axes, and along each axis , and It may have a size of . However, the present disclosure is not limited thereto, and the one-dimensional feature tensor (320) and the three-dimensional feature tensor (330) may be extracted from the image (300) using the Swin transformer model. Hereinafter, for convenience of explanation, the three-dimensional feature tensor (330) may be referred to as a feature map (330).

[0073] In one embodiment, in the step (S300) of calculating a quality score for each reference region of an image based on a feature map (330), a quality score for each reference region of the image may be calculated from the feature map (330) input to a region quality calculation model (340). In one embodiment, the quality score may be a score calculated based on the resolution of pixels included in the reference region, a contrast ratio between adjacent pixels, color, a structural similarity index, a peak signal-to-noise ratio, etc. However, the present disclosure is not limited thereto, and the quality score may be set in a direction to increase the accuracy of a final evaluation score to be described later.

[0074] In one embodiment, at least one processor (130) may input the feature map (330) into a region quality calculation model (340) to calculate a quality score for each reference region of an image. In one embodiment, the calculated quality score for each reference region may be included in a quality score map (350). At least one processor (130) may input the feature map (330) into a region quality calculation model (340) to generate a quality score map (350) including a plurality of reference regions. In one embodiment, the quality score for each reference region calculated by the region quality calculation model (340) may be included in each of the plurality of reference regions in the quality score map (350).

[0075] In one embodiment, the reference area of ​​the image may be an area corresponding to a unit area constituting the feature map (330). In one embodiment, the feature map (330) may be divided into a plurality of patches by the correction-Swin transformer model (310). Each of the plurality of patches may be a unit area constituting the feature map (330). In one embodiment, the reference area of ​​the image may be an area corresponding to each of the plurality of patches.

[0076] In one embodiment, the quality score map (350) is horizontally Dog, vertically When divided into multiple reference areas consisting of dogs, the quality score for each reference area included in each reference area is It could be. At this time, is from 1 It can be a natural number between . is from 1 It can be a natural number between. Hereinafter, the operation of calculating the quality score for each reference area using the area quality calculation model (340) and the quality score map (350) will be described later in FIG. 7.

[0077] In one embodiment, the region quality calculation model (340) may include an artificial intelligence model. In one embodiment, the artificial intelligence model included in the region quality calculation model (340) may include a machine learning or deep learning model. In one embodiment, the artificial intelligence model included in the region quality calculation model (340) may be an artificial intelligence model trained to receive a feature map (330) as input, calculate a quality score for each reference region of an image, and infer a quality score map (350).

[0078] In one embodiment, in the step (S400) of calculating the importance of each reference region of the image based on the feature map (330), the importance of each reference region of the image may be calculated from the feature map (330) input to the region importance calculation model (360). In one embodiment, the importance may refer to the degree of importance of the corresponding reference region within the image determined according to a preset criterion. In one embodiment, the importance of an object may be set to be greater than the importance of a background. In one embodiment, the importance of an object having a large area may be set to be greater than the importance of an object having a small area. In one embodiment, an area with a large gradation may be set to be greater than an area with a small gradation. However, the present disclosure is not limited thereto, and the importance may be set in a direction to increase the accuracy of a final evaluation score described below.

[0079] In one embodiment, at least one processor (130) may input the feature map (330) into the region importance calculation model (360) to calculate the importance of each reference region of the image. In one embodiment, the calculated importance of each reference region may be included in the importance map (370). At least one processor (130) may input the feature map (330) into the region importance calculation model (360) to generate an importance map (370) including a plurality of reference regions. In one embodiment, the importance of each reference region calculated by the region importance calculation model (360) may be included in each of the plurality of reference regions in the importance map (370).

[0080] In one embodiment, the quality score map (350) is horizontally Dog, vertically When divided into multiple reference areas consisting of dogs, the quality score for each reference area included in each reference area is It could be. At this time, is from 1 It can be a natural number between . is from 1 It can be a natural number between. Hereinafter, the operation of calculating the importance for each reference area using the area importance calculation model (360) and the importance map (370) will be described later in FIG. 8.

[0081] In one embodiment, the region importance calculation model (360) may include an artificial intelligence model. In one embodiment, the artificial intelligence model included in the region importance calculation model (360) may include a machine learning or deep learning model. In one embodiment, the artificial intelligence model included in the region importance calculation model (360) may be an artificial intelligence model trained to receive a feature map (330) as input, calculate importance for each reference region of an image, and infer an importance map (370).

[0082] In one embodiment, examples of the artificial intelligence model included in the region quality calculation model (340) and the artificial intelligence model included in the region importance calculation model (360) include a CNN (Convolutional Neural Network), a DNN (Deep Neural Network), an RNN (Recurrent Neural Network), an RBM (Restricted Boltzmann Machine), a DBN (Deep Belief Network), a BRDNN (Bidirectional Recurrent Deep Neural Network), a Deep Q-Networks, a GAN (Generative Adversarial Network), a CGAN (Conditional Generative Adversarial Network), a DCGAN (Deep Convolutional Generative Adversarial Network), and a VAE (Variational Auto Encoder), and the artificial intelligence model included in the region quality calculation model (340) and the artificial intelligence model included in the region importance calculation model (360) in the present disclosure are not limited to the examples described above.

[0083] In one embodiment, the electronic device (100) can train the artificial intelligence models included in the correction-Swin transformer model (310), the region quality calculation model (340), and the region importance calculation model (360), respectively. The electronic device (100) may also perform transfer learning using a pre-learning model to train the artificial intelligence models included in the correction-Swin transformer model (310), the region quality calculation model (340), and the region importance calculation model (360), respectively. However, the present disclosure is not limited thereto, and the electronic device (100) may also receive the learned artificial intelligence models from an external server or peripheral electronic devices through the communication interface (240). Hereinafter, a method for training the artificial intelligence models included in the correction-Swin transformer model (310), the region quality calculation model (340), and the region importance calculation model (360), respectively, will be described later with reference to FIG. 10.

[0084] In one embodiment, in the step (S500) of calculating the final quality score based on the quality score and importance, the final quality score of the image may be calculated from the quality score map (350) and the importance map (370) input into the final quality calculation model (380). In one embodiment, at least one processor (130) may input the quality score map (350) and the importance map (370) into the final quality calculation model (380) to calculate the final quality score of the image. In one embodiment, the final quality calculation model (380) may calculate the final quality score of the image based on the quality score for each reference region included in each of the plurality of reference regions of the quality score map (350) and the importance for each reference region included in each of the plurality of reference regions of the importance map (370). The final quality calculation model (380) may calculate the final quality score of the image based on the quality score for each reference region and the importance for each reference region by the following mathematical expression 1.

[0085] Mathematical Formula 1: S=

[0086] Here, S is the final quality score of the image, is the number of times patch merging is performed in the compensation-Swin transformer model or Swin transformer model, P is the horizontal resolution of the image divided by the horizontal size of one patch, Q is the vertical resolution of the image divided by the vertical size of one patch, is the quality score by reference area, may be importance by reference area.

[0087] In one embodiment, at least one processor (130) may evaluate the quality of the image based on the calculated final quality score. In one embodiment, the final quality score may be a score calculated based on the resolution of the image, the contrast ratio, sharpness, color, structural similarity index, peak signal-to-noise ratio, the positions of objects and backgrounds included in the image, the degree of distinction between objects and backgrounds, etc. In one embodiment, at least one processor (130) may evaluate that the higher the final quality score, the better the quality of the image. In one embodiment, at least one processor (130) may evaluate that the quality of the input image is high enough to be provided to the user, or that the quality of the converted image is high, if the final quality score is equal to or higher than a preset reference score.

[0088] In one embodiment, the final quality score may be calculated based on a quality score calculated for each reference region of the image and a importance calculated for each reference region of the image.

[0089] In one embodiment, when the final quality score is calculated through a single step of calculating the average of the entire image, if there is a large deviation in the quality scores of each region included in the image or a large deviation in the importance of each region, the quality change of the image according to the corresponding cases may not be properly reflected in the final quality score. In addition, in the process of training the artificial intelligence models included in the correction-Swin transformer model (310), the region quality calculation model (340), and the region importance calculation model (360) described below, training may be performed based only on the final quality score calculated according to the training image, resulting in overfitting for the training image and lower performance in the inference step.

[0090] In contrast, when calculating the final quality score based on the quality score calculated for each reference region of the image according to the present disclosure and the importance calculated for each reference region of the image, even when there is a large deviation in the quality score for each region included in the image or a large deviation in the importance for each region, the final quality score can be calculated by reflecting the quality change of the image according to the corresponding case in the final quality score. In addition, in the process of training the artificial intelligence models included in the correction-Swin transformer model (310), the region quality calculation model (340), and the region importance calculation model (360) described below, training can be performed based on the information of the quality score calculated for each reference region of the image at a low level calculated according to the training image and the importance calculated for each reference region of the image, thereby preventing overfitting from occurring.

[0091] In one embodiment, the electronic device (100) for evaluating image quality and the method of operating the electronic device (100) may be used to evaluate the quality of an image in a display device that provides an image to a user or an electronic device that performs image conversion, etc. In one embodiment, at least one processor (130) may evaluate that the quality of the input image is low enough to be unsuitable for presentation to a user, or that the quality of the converted image is low, if the final quality score is lower than a reference score. Usage examples of the electronic device (100) for evaluating image quality and the method of operating the electronic device (100) will be described later with reference to FIGS. 11 and 12.

[0092] FIG. 4A is a diagram illustrating an operation of extracting a feature map based on an image according to one embodiment of the present disclosure. FIG. 4B is a diagram illustrating an operation of extracting a feature map based on an image according to one embodiment of the present disclosure. FIG. 5 is a diagram illustrating a window used in a compensation-Swin transformer model according to one embodiment of the present disclosure.

[0093] Hereinafter, the same configuration as that described in FIG. 3 is assigned the same drawing reference numerals, and redundant descriptions are omitted. In addition, for convenience of explanation, the electronic device (100) is described in FIGS. 4A to 5 as using a compensation-Swin transformer model (310), but the electronic device (100) may also use a Swin transformer model.

[0094] Referring to FIGS. 3, 4a, and 5, in one embodiment, an image (300) input to a compensation-Swin transformer model (310) may be partitioned (partition, 410) into a plurality of patches. In one embodiment, a plurality of pixels included in the image (300) may be partitioned (410) into a plurality of non-overlapping patches.

[0095] In one embodiment, the compensation-Swin transformer model (310) may include a plurality of compensation-Swin transformer blocks (430, 450, 470, 490). In one embodiment, an image (300) input to the compensation-Swin transformer model (310) may sequentially pass through the plurality of compensation-Swin transformer blocks (430, 450, 470, 490). At this time, the same operation may be performed on the input tensor in each of the plurality of compensation-Swin transformer blocks (430, 450, 470, 490). FIG. 4A illustrates a first compensation-Swin transformer block (430), a second compensation-Swin transformer block (450), a third compensation-Swin transformer block (470), and a fourth compensation-Swin transformer block (490). However, the present disclosure is not limited thereto, and the compensation-Swin transformer model (310) may include fewer or more than four compensation-Swin transformer blocks.

[0096] In one embodiment, linear embedding (420) may be performed on the multiple segmented patches. In one embodiment, the channels of a tensor composed of the multiple segmented patches may be transformed through linear embedding. In this case, the channels of the tensor transformed through linear embedding may vary depending on the size of the compensation-Swin transformer model (310).

[0097] Referring to FIGS. 4A, 4B, and 5, in one embodiment, an operation may be performed on a tensor on which linear embedding has been performed through a first correction-Swin transformer block (430). In one embodiment, the first correction-Swin transformer block (430) may include a first block (431) and a second block (432).

[0098] In one embodiment, in the first block (431), layer normalization (Layer Normalization, 433) may be performed on a tensor on which linear embedding has been performed. In one embodiment, W-MSA (Window-Multi head Self-Attention, 434) may be performed on the layer-normalized tensor. Compared to MSA (Multi head Self-Attention) that performs self-attention on the entire tensor in multiple heads, W-MSA performs self-attention in units of windows (500), thereby reducing computational complexity. Hereinafter, the window (500) will be described later with reference to FIG. 6.

[0099] In one embodiment, layer normalization may be performed on the tensor on which the W-MSA (434) was performed, and the tensor may be passed through a Multi-Layer Perceptron (MLP) 435. A fully connected tensor through the MLP (435) may be provided to the second block (432). In one embodiment, a Gaussian Error Linear Unit (GELU) may be used as an activation function in the MLP (435).

[0100] In one embodiment, in the second block (432), SW-MSA (Shifted Window-Multi-head Self-attention, 436) can be performed on the tensor on which layer normalization has been performed again. SW-MSA can cyclically shift the window (500) and perform W-MSA to ensure connectivity between adjacent windows. Through this, self-attention can be performed through SW-MSA even for patches included in the boundaries of adjacent windows. Thereafter, the cyclically shifted window can be reversed through a reverse cyclic shift.

[0101] In one embodiment, the second block (432) may perform layer normalization on the tensor on which SW-MSA is performed and may pass it through an MLP. In one embodiment, a residual connection may be applied after each of the modules performing W-MSA and MLP included in the first block (431). A residual connection may be applied after each of the modules performing SW-MSA and MLP of the second block (432).

[0102] In one embodiment, a tensor on which an operation is performed by the first compensation-Swin transformer block (430) may be output through the first block (431) and the second block (432).

[0103] Referring back to FIGS. 4A and 5 , patch merging (440) may be performed on a plurality of patches included in a tensor that has passed through the first compensation-Swin transformer block (430). In one embodiment, patch merging (440) may mean combining adjacent patches (501) to create a larger patch. In one embodiment, when the patch before merging is referred to as the first patch (501) and the patch after merging is referred to as the second patch (511), the second patch (511) may be created by combining a plurality of first patches. In one embodiment, the number of pixels included in the second patch (511) may be greater than the number of pixels included in the first patch (501). The horizontal and vertical sizes of the second patch (511) may be greater than the horizontal and vertical sizes of the first patch (501).

[0104] In one embodiment, an operation may be performed on a tensor on which patch merging (440) has been performed through a second compensation-Swin transformer block (450). In one embodiment, the operation of the second compensation-Swin transformer block (450) may be a repetition of the operation in the first compensation-Swin transformer block (430).

[0105] In one embodiment, patch merging (460) may be performed on a plurality of second patches included in a tensor that has passed through the second compensation-Swin transformer block (450). In one embodiment, when a patch obtained by merging the second patch (511) is referred to as a third patch (521), the third patch (521) may be generated by combining a plurality of second patches. In one embodiment, the number of pixels included in the third patch (521) may be greater than the number of pixels included in the second patch (511). The horizontal and vertical sizes of the third patch (521) may be greater than the horizontal and vertical sizes of the second patch (511).

[0106] In one embodiment, an operation may be performed on a tensor on which patch merging (440) has been performed through a third correction-Swin transformer block (470). In one embodiment, the operation of the third correction-Swin transformer block (470) may be a repetition of the operation in the first correction-Swin transformer block (430).

[0107] In one embodiment, patch merging (480) may be performed on a plurality of third patches included in a tensor that has passed through the third compensation-Swin transformer block (470). In one embodiment, when a patch obtained by merging the third patch (521) is referred to as a fourth patch, the fourth patch may be generated by combining a plurality of second patches. In one embodiment, the number of pixels included in the fourth patch may be greater than the number of pixels included in the third patch (521). The horizontal and vertical sizes of the fourth patch may be greater than the horizontal and vertical sizes of the third patch (521).

[0108] In one embodiment, an operation may be performed on a tensor on which patch merging (480) has been performed through a fourth correction-Swin transformer block (490). In one embodiment, the operation of the fourth correction-Swin transformer block (490) may be a repetition of the operation in the first correction-Swin transformer block (430).

[0109] In one embodiment, a one-dimensional feature tensor (320) can be extracted from an input image (300) through the first to fourth correction-Swin transformer blocks (430). In one embodiment, since operations are performed through each correction-Swin transformer block after patch merging, a one-dimensional feature tensor (320) can be extracted through a correction-Swin transformer model (310) having a hierarchical structure.

[0110] FIG. 6 is a drawing for explaining a window used in a compensation-Swin transformer model according to one embodiment of the present disclosure.

[0111] Referring to FIGS. 4A and 6, in one embodiment, the correction-Swin transformer model may be a model in which the Swin transformer model is corrected so that a feature map is extracted by a window (620) of the same resolution, regardless of the resolution of the input image (300).

[0112] In one embodiment, the compensation-Swin transformer model may be a model that performs the operation of the Swin transformer using a window (620) having a resolution smaller than the resolution of the window (600) used in the Swin transformer model. Hereinafter, the operation of the Swin transformer model will be described with reference to FIGS. 4A to 5, and the difference from the compensation-Swin transformer model will be described through this.

[0113] Referring to FIGS. 4A, 4B, 5, and 6, in one embodiment, the compensation-Swin transformer model (310) can perform self-attention in units of windows. In one embodiment, a window is a region that separates multiple patches and can include at least one patch. In one embodiment, the window can have a resolution of a patches horizontally and b patches vertically. In one embodiment, the window can have a resolution of 7 patches horizontally and 7 patches vertically.

[0114] In one embodiment, the windows used in the first to fourth compensation-Swin transformer blocks (430, 450, 470, 490) may have the same resolution. In one embodiment, the window used in the first compensation-Swin transformer block (430) may be referred to as a first window (500), the window used in the second compensation-Swin transformer block (450) may be referred to as a second window (510), the window used in the third compensation-Swin transformer block (470) may be referred to as a third window (520), and the window used in the fourth compensation-Swin transformer block (490) may be referred to as a fourth window. In one embodiment, the first window (500), the second window (510), the third window (520), and the fourth window may each have the same resolution.

[0115] In one embodiment, as patch merging is performed after performing operations through each of the first to third correction-Swin transformer blocks (430, 450, 470) in the correction-Swin transformer model (310), the size of each patch that distinguishes the image may increase, and the resolution of the image composed of the patches may decrease.

[0116] At this time, depending on the resolution of the image (300) input to the correction-Swin transformer model (310), the resolution of the image formed by the patch can be determined while the operation is performed in the correction-Swin transformer model (310).

[0117] In one embodiment, one patch has four pixels horizontally and four pixels vertically, and when merging patches, four adjacent patches can be merged into one patch. At this time, when an image (300) having a resolution of 128 pixels horizontally and 128 pixels vertically is input, the image in the first correction-Swin transformer block (430) can have a resolution of 32 patches horizontally and 32 patches vertically. The image in the second correction-Swin transformer block (450) can have a resolution of 16 patches horizontally and 16 patches vertically. The image in the third correction-Swin transformer block (470) can have a resolution of 8 patches horizontally and 8 patches vertically. The image in the fourth correction-Swin transformer block (490) can have a resolution of 4 patches horizontally and 4 patches vertically.

[0118] In one embodiment, when an image (300) having a resolution of 224 pixels horizontally and 224 pixels vertically is input, the image in the first correction-Swin transformer block (430) may have a resolution of 56 patches horizontally and 56 patches vertically. The image in the second correction-Swin transformer block (450) may have a resolution of 28 patches horizontally and 28 patches vertically. The image in the third correction-Swin transformer block (470) may have a resolution of 14 patches horizontally and 14 patches vertically. The image in the fourth correction-Swin transformer block (490) may have a resolution of 7 patches horizontally and 7 patches vertically.

[0119] In one embodiment, the window (600) used in the Swin transformer model may have a resolution of 7 patches horizontally and 7 patches vertically. In one embodiment, the Swin transformer model may be a model trained to perform self-attention using a window having a resolution of 7 patches horizontally and 7 patches vertically in each Swin transformer block in which patch merging is performed.

[0120] In one embodiment, when an image having a resolution of 224 pixels horizontally and 224 pixels vertically is input to a correction-Swin transformer model (310), and when a window (600) used in a conventional Swin transformer model is used, the image in the fourth correction-Swin transformer block (490) having the largest patch size through patch merging has a resolution of 7 patches horizontally and 7 patches vertically, so that the entire image can be included in one window. Accordingly, self-attention can be performed on 7 patches horizontally and 7 patches vertically included in one window, and a one-dimensional feature tensor can be inferred based on the weights of the learned model.

[0121] However, when an image having a resolution of 128 pixels horizontally and 128 pixels vertically is input to the correction-Swin transformer model (310), since the image in the fourth correction-Swin transformer block (490) has a resolution of 4 patches horizontally and 4 patches vertically, self-attention is performed on 4 patches horizontally and 4 patches vertically in one window. Accordingly, unlike the learned model, self-attention is performed using a window (610) having different resolutions of 4 patches horizontally and 4 patches vertically, and an unintended 1-dimensional feature tensor may be inferred.

[0122] To prevent this, for the Swin transformer model, the input image can be resized or cropped to have a resolution corresponding to the resolution of the image input as training data during training.

[0123] The correction-Swin transformer model (310) of the present disclosure may be a model trained to perform self-attention using a window having a resolution of 4 patches horizontally and 4 patches vertically in each correction-Swin transformer block in which patch merging is performed. In this case, even if an image having a resolution of 224 pixels horizontally and 224 pixels vertically, as well as an image having a resolution of 128 pixels horizontally and 128 pixels vertically, is input to the correction-Swin transformer model (310), self-attention can be performed using a window (620) having a resolution of 4 patches horizontally and 4 patches vertically in the same manner as the trained model, so that a one-dimensional feature tensor can be inferred. Therefore, in the case of the correction-Swin transformer model (310), images with various resolutions can be provided as input without having to resize or crop the input image to have a resolution corresponding to the resolution of the image input as learning data during learning.

[0124] In one embodiment, the Swin transformer model performs self-attention using a window having a resolution of 7 patches horizontally and 7 patches vertically, and the compensation-Swin transformer model performs self-attention using a window having a resolution of 4 patches horizontally and 4 patches vertically, but the present disclosure is not limited thereto. The compensation-Swin transformer model may be a model trained using a window (620) having a sufficiently small resolution so that a feature map is extracted by a window (620) having the same resolution, regardless of the resolution of the input image (300). In this case, the sufficiently small resolution may be determined according to the purpose of use, target of use, etc. of the electronic device (100). The resolution of the window may be determined based on the resolution of an image predicted to be input to the electronic device (100), the number of compensation-Swin transformer blocks included in the compensation-Swin transformer model, the number of patch merging times, the size of the patch when splitting the patch, etc.

[0125] The electronic device (100) of the present disclosure can utilize a one-dimensional feature tensor (320) extracted using a Swin transformer model or a compensated-Swin transformer model (310). Hereinafter, for convenience of explanation, it will be described that the one-dimensional feature tensor (320) is extracted using the compensated-Swin transformer model (310).

[0126] FIG. 7 is a diagram illustrating an operation for calculating a quality score for each reference area according to one embodiment of the present disclosure. Hereinafter, components identical to those described in FIG. 3 are assigned the same reference numerals, and redundant descriptions are omitted.

[0127] Referring to FIGS. 1, 3, and 7, a convolution operation may be performed on a feature map (330) input to a region quality calculation model (340) in a first convolution layer (341). In one embodiment, a convolution operation may be performed on the feature map (330) in the first convolution layer (341) using a first filter. The resolution of the first filter may correspond to each of a plurality of reference areas included in the image (300). The resolution of the first filter may correspond to each of a plurality of patches included in the feature map (330). In one embodiment, the size of the first filter may correspond to each of a size of each of the plurality of patches included in the feature map (330). The first convolution layer (341) may perform a convolution operation on each of a plurality of patches included in the feature map (330) using the first filter.

[0128] In one embodiment, the first filter may be a filter for extracting features representing the quality of the image (300) through a convolution operation from the feature map (330). In one embodiment, the weights included in the first filter may be weights learned for extracting features representing the quality of the image (300) through a convolution operation from the feature map (330). The weights included in the first filter may be values ​​updated according to a loss function based on a ground truth score obtained by evaluating the image (300) described below and a final quality score of the image (300) calculated through the electronic device (100).

[0129] In one embodiment, by performing a convolution operation using a first filter having a resolution corresponding to each of a plurality of reference areas included in an image (300), a feature indicating the quality of each of the plurality of reference areas of the image (300) can be extracted. In one embodiment, the plurality of reference areas can each correspond to a plurality of patches distinguished in a correction-Swin transformer model (310). By performing a convolution operation using the first filter in the region quality calculation module (340), a feature indicating the quality corresponding to each of the plurality of patches can be extracted.

[0130] In one embodiment, a convolution operation may be performed in the first convolution layer (341) so that the extracted feature has one channel. Through this, A feature map (330) having a channel can be extracted as a feature map having one channel.

[0131] In one embodiment, in the region quality calculation model (340), an activation operation may be performed on a tensor extracted by performing a convolution operation through the first convolution layer (341) in the first activation layer (342). In one embodiment, the first activation layer (342) may perform the activation operation using a sigmoid function, a sigmoid function and a linear normalization function, a ReLU (Rectified Linear Unit) function and a linear normalization function, or a softmax normalization function, and is not limited to any one function.

[0132] In one embodiment, the feature map (330) input to the region quality calculation model (340) may be extracted as a quality score map (350) through a first convolution layer (341) and a first activation layer (342). In one embodiment, at least one processor (130) may input the feature map (330) to the region quality calculation model (340) and generate a quality score map (350) through the first convolution layer (341) and the first activation layer (342). In one embodiment, the quality score map (350) may be divided into a plurality of reference regions, and each of the plurality of reference regions may include a quality score of the image (300).

[0133] FIG. 8 is a diagram illustrating an operation for calculating importance for each reference area according to one embodiment of the present disclosure. FIG. 9 is a diagram illustrating a filter used in an operation for calculating importance for each reference area according to one embodiment of the present disclosure. Hereinafter, the same components as those described in FIG. 3 are assigned the same reference numerals, and redundant descriptions are omitted.

[0134] Referring to FIGS. 1, 3, and 8, a convolution operation may be performed in a second convolution layer (361) on a feature map (330) input to a region importance calculation model (360). In one embodiment, the second convolution layer (361) may include a plurality of sub-convolution layers. A convolution operation may be performed in a first sub-convolution layer (362), a second sub-convolution layer (363), and a third sub-convolution layer (364) on a feature map (330) input to a region importance calculation model (360).

[0135] In one embodiment, a second convolution layer (361) may perform a convolution operation on the feature map (330) using a second filter. In one embodiment, a resolution of the second filter may correspond to two or more reference areas among a plurality of reference areas included in the image (300). A resolution of the second filter may correspond to two or more patches among a plurality of patches included in the feature map (330). A size of the second filter may correspond to a size of two or more patches among a plurality of patches included in the feature map (330). A second convolution layer (361) may perform a convolution operation on two or more patches among a plurality of patches included in the feature map (330) using the second filter.

[0136] In one embodiment, the second filter may be a filter for extracting features indicating the importance of each reference region of the image (300) through a convolution operation from the feature map (330). In one embodiment, the weights included in the second filter may be weights learned for extracting features indicating the importance of each reference region of the image (300) through a convolution operation from the feature map (330). The weights included in the second filter may be values ​​updated according to a loss function based on a ground truth score obtained by evaluating the image (300) to be described later and a final quality score of the image (300) calculated through the electronic device (100).

[0137] In one embodiment, a first sub-convolution layer (362) may perform a convolution operation on a feature map (330) using a first sub-filter. A second sub-convolution layer (363) may perform a convolution operation on a feature map (330) using a second sub-filter. A third sub-convolution layer (364) may perform a convolution operation on a feature map (330) using a third sub-filter. In one embodiment, the weights included in each of the first sub-filter, the second sub-filter, and the third sub-filter may be values ​​updated according to a loss function based on a ground truth score obtained by evaluating the image (300) and a final quality score of the image (300) calculated through the electronic device (100).

[0138] In one embodiment, by performing a convolution operation using a second filter having a resolution corresponding to two or more of the plurality of reference areas included in the image (300), a feature indicating the importance between the two or more reference areas corresponding to the second filter can be extracted. By performing a convolution operation on the feature map (330) using the second filter having a resolution corresponding to the two or more reference areas, the importance of each reference area in relation to other reference areas can be extracted.

[0139] In one embodiment, the first sub-filter, the second sub-filter, and the third sub-filter may be filters for performing dilated convolution. In one embodiment, the dilation rates of the first sub-filter, the second sub-filter, and the third sub-filter may be different. In one embodiment, the dilation rate may be an interval between reference regions having weights included in each sub-filter. In one embodiment, the dilation rate of the second sub-filter may be greater than the dilation rate of the first sub-filter. The dilation rate of the third sub-filter may be greater than the dilation rate of the second sub-filter. In one embodiment, the dilation rate of the first sub-filter may be 4. The dilation rate of the second sub-filter may be 8. The dilation rate of the third sub-filter may be 16.

[0140] In one embodiment, referring to FIGS. 8 and 9, since the dilation rates of the first to third sub-filters are different from each other, the sizes of the receptive areas of the first to third sub-filters may also be different from each other. In one embodiment, the receptive area (910) for the feature map (330) of the filter (901) having a resolution of three patches horizontally and vertically and a dilation rate of 1 may be wider than the receptive area (900) for the feature map (330) of the filter (910) having a resolution of three patches horizontally and vertically and a dilation rate of 3.

[0141] In one embodiment, the receptive field of the second sub-filter may be wider than the receptive field of the first sub-filter. The receptive field of the second sub-filter may be wider than the receptive field of the first sub-filter. The receptive field of the third sub-filter may be wider than the receptive field of the second sub-filter.

[0142] In one embodiment, a convolution operation may be performed using sub-filters having different receptive fields to extract the importance of each reference region considering adjacent reference regions among a plurality of reference regions included in the image (330) and the importance of each reference region considering spaced-apart reference regions among the plurality of reference regions. In one embodiment, when the image (330) includes an object and a background, a convolution operation may be performed using sub-filters having small receptive fields to extract the importance of each reference region within the object and the importance of each reference region within the background. In addition, a convolution operation may be performed using sub-filters having wide receptive fields to extract the importance of each reference region within an area including the background and the object.

[0143] In one embodiment, a convolution operation may be performed in the second convolution layer (361) so that the extracted features have 1024 channels. Through this, A feature map (330) having a channel can be extracted as a feature map having 1024 channels. In one embodiment, a convolution operation can be performed in a first sub-convolution layer (362) so that the extracted feature has 1024 channels. A convolution operation can be performed in a second sub-convolution layer (363) so that the extracted feature has 1024 channels. A convolution operation can be performed in a third sub-convolution layer (364) so ​​that the extracted feature has 1024 channels.

[0144] In one embodiment, a concatenation operation may be performed in a concatenation layer (365) on tensors extracted through the first sub-convolution layer (362), the second sub-convolution layer (363), and the third sub-convolution layer (364).

[0145] In one embodiment, tensors connected through a connection layer (365) may be subjected to a convolution operation using a third filter in a third convolution layer (366). The resolution of the third filter may correspond to each of a plurality of reference areas included in the image (300). The resolution of the third filter may correspond to each of a plurality of patches included in the tensor on which the connection operation is performed. In one embodiment, the size of the third filter may correspond to each of a plurality of patches included in the feature map (330). The third convolution layer (366) may perform a convolution operation on each of a plurality of patches included in the tensor on which the connection operation is performed using the third filter.

[0146] In one embodiment, a convolution operation may be performed in the third convolution layer (366) so that the extracted features have one channel. Through this, a feature map (330) having 3072 channels may be extracted as a feature map having one channel.

[0147] In one embodiment, in the region importance calculation model (360), an activation operation may be performed on a tensor extracted by performing a convolution operation through the third convolution layer (367) in the second activation layer (367). In one embodiment, the second activation layer (367) may perform an activation operation using a sigmoid function, a sigmoid function and a linear normalization function, a ReLU function and a linear normalization function, or a softmax normalization function, and is not limited to any one function.

[0148] In one embodiment, the feature map (330) input to the region importance calculation model (360) may be extracted as an importance map (370) through a second convolution layer (361), a connection layer (365), a third convolution layer (366), and a second activation layer (367). In one embodiment, at least one processor (130) may input the feature map (330) to the region importance calculation model (360) and generate an importance map (370) through a second convolution layer (361), a connection layer (365), a third convolution layer (366), and a second activation layer (367). In one embodiment, the importance map (370) may be divided into a plurality of reference regions, and each of the plurality of reference regions may include an importance of the image (300).

[0149] FIG. 10 is a diagram illustrating a method for training a model used in an operating method of an electronic device for evaluating image quality according to one embodiment of the present disclosure. Hereinafter, components identical to those described in FIG. 3 are assigned the same reference numerals, and redundant descriptions are omitted.

[0150] Referring to FIGS. 3 and 10, in one embodiment, the artificial intelligence model included in the compensation-Swin transformer model (310) may be a model trained to infer a one-dimensional tensor feature (320) from an image (300) by the loss calculation model (1000). In one embodiment, the artificial intelligence model included in the region quality calculation model (340) may be a model trained to calculate a quality score for each reference region from the feature map (330) by the loss calculation model (1000) and infer a quality score map (350). In one embodiment, the artificial intelligence model included in the region importance calculation model (360) may be a model trained to calculate an importance for each reference region from the feature map (330) by the loss calculation model (1000) and infer an importance map (370).

[0151] In one embodiment, the loss calculation model (1000) may update the weights of the artificial intelligence models included in the correction-Swin transformer model (310), the region quality calculation model (340), and the region importance calculation model (360) using a loss function based on the pre-evaluated correct value score (1010) for the input image (300) and the final quality score calculated in the final quality calculation model (380). At this time, the pre-evaluated correct value score (1010) may be a score evaluated by image quality evaluation experts for the quality of the input image (300) for learning of the electronic device (100), or may be a score evaluated by the quality of the input image (300) using a pre-used evaluation method.

[0152] In one embodiment, the loss function used in the loss calculation model (1000) is as shown in Equations 2 and 3 below.

[0153] Mathematical formula 2: Loss=

[0154] Mathematical formula 3:

[0155] At this time, is the final quality score calculated in the final quality calculation model (380), is the pre-evaluated correct value score, LOSS is the loss function, is the number of data included in the mini-batch in which training is performed, is the average value of the final quality score, is the average value of the correct answer value score, is the standard deviation of the final quality score, is the standard deviation value of the correct answer value score, is a regularization coefficient, which can have a value between 0 and 1.

[0156] In one embodiment, since the loss calculation model (1000) uses the loss function using the above mathematical expressions 2 and 3, unnecessary training can be prevented in improving the accuracy and performance of image quality evaluation.

[0157] In one embodiment, the accuracy and performance of image quality assessment may be determined based on indices such as Pearson's Linear Correlation Coefficient (PLCC) or Spearman's Rank Order Correlation Coefficient (SRCC). In one embodiment, the electronic device (100) of the present disclosure may be trained to calculate and infer a final quality score that evaluates the quality of an input image (100) based on evaluation indices such as PLCC or SRCC.

[0158] At this time, if the artificial intelligence models included in the correction-Swin transformer model (310), the region quality calculation model (340), and the region importance calculation model (360) are trained using a conventional loss function simply based on the difference between the final quality score and the correct value score, unnecessary training may be repeated to reduce the difference between the average or standard deviation of the correct value and the average or standard deviation of the final quality score, regardless of improving performance based on evaluation indices such as PLCC or SRCC.

[0159] In one embodiment, the electronic device (100) of the present disclosure can prevent unnecessary repetition of training for discrepancies between the mean or standard deviation of the correct answer value and the mean or standard deviation of the final quality score by utilizing the loss function using the above-described mathematical expressions 2 and 3. Accordingly, the time required to train the artificial intelligence models included in the correction-Swin transformer model (310), the region quality calculation model (340), and the region importance calculation model (360) can be reduced.

[0160] Additionally, the loss function has a regularization coefficient The training operation of the artificial intelligence model included in the compensation-Swin transformer model (310), the region quality calculation model (340), and the region importance calculation model (360) can be stabilized, respectively. In one embodiment, can be used by setting it to a value close to 1.

[0161] In one embodiment, the weights of the artificial intelligence models included in the compensation-Swin transformer model (310), the region quality calculation model (340), and the region importance calculation model (360) may be updated to minimize a loss function. In one embodiment, the electronic device (100) may update the weights of the artificial intelligence models included in the compensation-Swin transformer model (310), the region quality calculation model (340), and the region importance calculation model (360) to minimize a loss function using a forward propagation algorithm and a back propagation algorithm.

[0162] FIG. 11 is a drawing for explaining a display device using an image quality evaluation method according to one embodiment of the present disclosure.

[0163] Referring to FIGS. 1 and 11, in one embodiment, the display device (1100) may be implemented as a display device of various shapes, such as a television, digital signage, projector, mobile device, smart phone, laptop computer, desktop, tablet PC, wearable device, etc.

[0164] In one embodiment, the display device (1100) may include a display (1110), a memory (1120), and at least one processor (1140). However, not all components of the display device (1100) illustrated in FIG. 11 are essential components. The display device (1100) may be implemented with more components than those illustrated in FIG. 10, or may be implemented with fewer components.

[0165] In one embodiment, the display (1110), the memory (1120) and at least one processor (1140) may each be electrically and / or physically connected to one another.

[0166] In one embodiment, the display (1110) may include any one of a liquid crystal display, a plasma display, an organic light emitting diode display, and an inorganic light emitting diode display. However, the present disclosure is not limited thereto, and the display (1110) may include other types of displays capable of providing images to a user using the display device (1100).

[0167] In one embodiment, the memory (1120) may store an image evaluation module (1130) for evaluating the quality of an image. In one embodiment, the image quality evaluation module (1130) may be a module described in FIGS. 1 to 10 . However, not all modules illustrated in FIG. 10 are required modules. The memory (1120) may store more or fewer modules than the modules illustrated in FIG. 10 . In one embodiment, the memory (1120) may store a module for changing the resolution of an image or changing the size of an image. The image quality evaluation module (1130) may be used to evaluate the quality of an image whose resolution has been changed or to evaluate the quality of an image whose size has been changed.

[0168] In one embodiment, at least one processor (1140) can control the operation of the display device (2000). At least one processor (1140) can evaluate the quality of an image used in the display device (1100) by executing instructions or program codes of the image quality evaluation module (1130).

[0169] In one embodiment, at least one processor (1140) may use an image quality evaluation module (1130) to evaluate the quality of an image provided from an external server or electronic device before displaying the image on the display (1110). If the at least one processor (1140) determines that the quality of the evaluated image is appropriate for providing to a user using the display device (1100), the processor may provide the image to the user through the display (1110).

[0170] In one embodiment, if the quality of the evaluated image is determined to be not suitable for providing to a user using the display device (1100), the at least one processor (1140) may provide the image to the user along with a notification that the quality of the provided image is not suitable (e.g., 'the quality of the image is bad' or 'a low-resolution image is displayed'). In addition, the at least one processor (1140) may improve the quality of the provided image using a module that improves the quality of the image, such as up-scaling using interpolation, and then provide the image to the user.

[0171] FIG. 12 is a drawing for explaining an electronic device using an image quality evaluation method according to one embodiment of the present disclosure.

[0172] Referring to FIGS. 1 and 12, in one embodiment, the electronic device (1200) may be an electronic device that converts and outputs a provided image, such as by improving the quality of the image or increasing the size of the image.

[0173] In one embodiment, the electronic device (1200) of FIG. 12 may be, but is not limited to, a set-top box or an electronic device including image editing software. In one embodiment, the electronic device (1200) of FIG. 12 may convert the quality, size, shape, etc. of an image provided from an external server or electronic device and output it back to the external server or electronic device.

[0174] In one embodiment, the electronic device (1200) may include a memory (1210), at least one processor (1240), and a communication interface (1250). However, not all of the components of the electronic device (1200) illustrated in FIG. 12 are essential components. The electronic device (1200) may be implemented with more components than the components illustrated in FIG. 12, or may be implemented with fewer components. In one embodiment, the memory (1210), at least one processor (1240), and the communication interface (1250) may be electrically and / or physically connected to each other, respectively.

[0175] In one embodiment, the memory (1210) may store an image transformation module (1220) that transforms the quality, size, shape, etc. of an image, and an image evaluation module (1230) that evaluates the quality of an image. In one embodiment, the image quality evaluation module (1230) may be a module described in FIGS. 1 to 10. However, not all modules illustrated in FIG. 12 are required modules. The memory (1210) may store more or fewer modules than the modules illustrated in FIG. 12. In one embodiment, the memory (1210) further includes an image generation module, and the image quality evaluation module (1230) may be used to evaluate the quality of an image generated through the image generation module.

[0176] In one embodiment, at least one processor (1240) can control the operation of the electronic device (1200). At least one processor (1240) can convert the quality, size, shape, etc. of the provided image by executing instructions or program codes of the image conversion module (1220).

[0177] At least one processor (1240) can evaluate the quality of an image provided from an electronic device (1200) by executing instructions or program codes of an image quality evaluation module (1230).

[0178] In one embodiment, at least one processor (1140) may receive an image from an external server or electronic device via a communication interface (1250), convert the image quality, size, shape, etc. using an image conversion module (1220), and evaluate the quality of the converted image using an image quality evaluation module (1130). If the quality of the converted image is determined to be appropriate by comparing it with a preset judgment criterion, the at least one processor (1140) may provide the image back to the external server or electronic device via the communication interface (1250).

[0179] In one embodiment, if the quality of the converted image is determined to be inappropriate compared to a preset judgment criterion, at least one processor (1140) may re-convert the quality, size, shape, etc. of the image using the image conversion module (1220), or may provide information that the quality of the image provided is inappropriate to an external server or electronic device that provided the image. In addition, at least one processor (1140) may provide the converted image together with information that the quality of the converted image is inappropriate to an external server or electronic device.

[0180] To solve the above-described technical problem, in one embodiment, an electronic device may be included to evaluate the quality of an image. The electronic device may include a memory storing at least one instruction and at least one processor executing the at least one instruction stored in the memory. The at least one processor may acquire an image by executing the at least one instruction. The at least one processor may extract a feature map including features of the image based on the image by executing the at least one instruction. The at least one processor may calculate a quality score for each reference region of the image based on the extracted feature map by executing the at least one instruction. The at least one processor may calculate an importance for each reference region of the image based on the extracted feature map by executing the at least one instruction. The at least one processor may evaluate the quality of the image based on a final quality score of the image calculated based on the quality score for each reference region and the importance for each reference region by executing the at least one instruction.

[0181] In one embodiment, at least one processor may input an image into a Swin transformer (Shifted windows Transformer) model to extract a feature map by executing at least one instruction.

[0182] In one embodiment, at least one processor may input an image into a Revised Shifted Windows Transformer model to extract a feature map by executing at least one instruction. The Revised Shifted Windows Transformer model may be a model in which the Swin Transformer model is corrected so that the feature map is extracted by a window of the same size regardless of the size of the image.

[0183] In one embodiment, the size of the window used in the compensation-Swin transformer model may be smaller than the size of the window used in the Swin transformer model.

[0184] In one embodiment, the reference area may be an area corresponding to a unit area constituting a feature map.

[0185] In one embodiment, an image may be segmented into multiple reference regions. At least one processor may perform a convolution operation on the extracted feature map using a first filter by executing at least one command to calculate a quality score for each reference region.

[0186] In one embodiment, the size of the first filter may correspond to each of the plurality of reference regions.

[0187] In one embodiment, an image may be segmented into multiple reference regions. At least one processor may perform a convolution operation on the extracted feature map using a second filter by executing at least one command to calculate importance for each reference region.

[0188] In one embodiment, the size of the second filter may correspond to two or more of the plurality of reference areas.

[0189] In one embodiment, the size of the second filter may correspond to two or more spaced apart reference areas among the plurality of reference areas.

[0190] In order to solve the above-described technical problem, in one embodiment, an operating method of an electronic device for evaluating the quality of an image is provided. The operating method of the electronic device may include a step of acquiring an image. The operating method of the electronic device may include a step of extracting a feature map including features of the image based on the image. The operating method of the electronic device may include a step of calculating a quality score for each reference region of the image based on the extracted feature map. The operating method of the electronic device may include a step of calculating an importance for each reference region of the image based on the extracted specific map. The operating method of the electronic device may include a step of evaluating the quality of the image based on a final quality score of the image calculated based on the quality score for each reference region and the importance for each reference region.

[0191] In one embodiment, the step of extracting a feature map may include inputting an image into a Swin transformer (Shifted windows Transformer) model to extract the feature map.

[0192] In one embodiment, the step of extracting a feature map may include inputting an image into a Revised Shifted Windows Transformer model to extract the feature map. The Revised Shifted Windows Transformer may be a model in which the Swin Transformer model is corrected so that the feature map is extracted by a window of the same size regardless of the size of the image.

[0193] In one embodiment, an image may be divided into multiple reference regions. In the step of calculating a quality score for each reference region, a convolution operation may be performed on the extracted feature map using a first filter to calculate a quality score for each reference region.

[0194] In one embodiment, the size of the first filter may correspond to each of the plurality of reference regions.

[0195] In one embodiment, in the step of calculating importance by reference area, the importance by reference area can be calculated by performing a convolution operation using a second filter on the extracted feature map.

[0196] As one embodiment of the present disclosure, a computer-readable recording medium having recorded thereon a program for performing at least one method of the disclosed method on a computer may be provided.

[0197] The program executed by the electronic device described in this disclosure may be implemented as hardware components, software components, and / or a combination of hardware components and software components. The program may be executed by any system capable of executing computer-readable instructions.

[0198] Software may include a computer program, code, instructions, or a combination of one or more of these, which may configure a processing device to do a desired thing or may independently or collectively command a processing device to do a desired thing.

[0199] Software may be implemented as a computer program containing instructions stored on a computer-readable storage medium. Examples of computer-readable storage media include magnetic storage media (e.g., read-only memory (ROM), random-access memory (RAM), floppy disks, hard disks, etc.) and optical readable media (e.g., CD-ROMs, DVDs (Digital Versatile Discs)). The computer-readable storage media may be distributed across network-connected computer systems, so that computer-readable code may be stored and executed in a distributed manner. The storage media may be readable by a computer, stored in a memory, and executed by a processor.

[0200] Computer-readable storage media may be provided in the form of non-transitory storage media. Here, the term "non-transitory storage media" simply means a tangible device that does not contain signals (e.g., electromagnetic waves). This term does not distinguish between cases where data is permanently stored in the storage media and cases where data is temporarily stored. For example, a "non-transitory storage medium" may include a buffer in which data is temporarily stored.

[0201] Additionally, programs according to the embodiments disclosed herein may be provided as part of a computer program product. The computer program product may be traded as a commodity between sellers and buyers.

[0202] A computer program product may include a software program and a computer-readable storage medium storing the software program. For example, a computer program product may include a product in the form of a software program (e.g., a downloadable application) distributed electronically by an electronic device manufacturer or through an electronic marketplace (e.g., the Samsung Galaxy Store). For electronic distribution, at least a portion of the software program may be stored on a storage medium or temporarily created. In this case, the storage medium may be a server of the electronic device manufacturer, a server of the electronic marketplace, or a storage medium of an intermediary server that temporarily stores the software program.

[0203] Although the embodiments described above have been described with limited examples and drawings, those skilled in the art will appreciate that various modifications and variations can be made based on the above description. For example, appropriate results can still be achieved even if the described techniques are performed in a different order than described, and / or components such as the described computer system or modules are combined or combined in a different manner than described, or are replaced or substituted with other components or equivalents.

Claims

1. In an electronic device (100) for evaluating the quality of an image, A memory (110) storing at least one instruction; and At least one processor (130) for executing at least one command stored in the memory (110), The at least one processor (130) executes the at least one instruction, Obtain the above image, Based on the image, a feature map containing the features of the image is extracted, Based on the extracted feature map, a quality score for each reference region of the image is calculated, Based on the extracted feature map, the importance of each reference region of the image is calculated, An electronic device (100) for evaluating the quality of the image based on a final quality score of the image calculated based on the quality score for each reference area and the importance for each reference area.

2. In paragraph 1, The at least one processor (130) executes the at least one instruction, An electronic device (100) for extracting the feature map by inputting the image into a Swin transformer (Shifted windows Transformer) model.

3. In either of the first or second paragraphs, The at least one processor (130) executes the at least one instruction, The above image is input into the Revised Shifted windows Transformer model to extract the above feature map, The above-mentioned compensation-Swin transformer model is an electronic device (100) in which the Swin transformer model is compensated so that the feature map is extracted by a window of the same resolution regardless of the resolution of the image.

4. In paragraph 3, The resolution of the window used in the above-mentioned compensation-Swin transformer model is an electronic device (100) smaller than the resolution of the window used in the above-mentioned Swin transformer model.

5. In paragraph 1, The above reference area is an electronic device (100) that corresponds to a unit area constituting the above characteristic map.

6. In any one of clauses 1 to 5, The above image is divided into multiple reference areas, The at least one processor (130) executes the at least one instruction, An electronic device (100) that performs a convolution operation on the extracted feature map using a first filter to calculate a quality score for each reference area.

7. In paragraph 6, The resolution of the first filter is an electronic device (100) corresponding to each of the plurality of reference areas.

8. In paragraph 1, The above image is divided into multiple reference areas, The at least one processor (130) executes the at least one instruction, An electronic device (100) that performs a convolution operation using a second filter on the extracted feature map to calculate the importance for each reference area.

9. In paragraph 8, The resolution of the second filter is an electronic device (100) corresponding to two or more of the plurality of reference areas.

10. In any one of paragraphs 8 or 9, The resolution of the second filter is an electronic device (100) corresponding to two or more reference areas spaced apart from each other among the plurality of reference areas.

11. In the operating method of an electronic device (100) for evaluating the quality of an image, Step of acquiring the above image (S100); A step (S200) of extracting a feature map including features of the image based on the image; A step (S300) of calculating a quality score for each reference area of ​​the image based on the extracted feature map; Step (S400) of calculating importance for each reference area of ​​the image based on the above extracted specific map; and An operating method of an electronic device (100), comprising a step (S600) of evaluating the quality of the image based on a final quality score of the image calculated based on the quality score for each reference area and the importance for each reference area.

12. In paragraph 11, In the step (S200) of extracting the above characteristic map, An operating method of an electronic device (100) for extracting the feature map by inputting the image into a Swin transformer (Shifted windows Transformer) model.

13. In either of paragraphs 11 or 12, In the step (S200) of extracting the above characteristic map, The above image is input into the Revised Shifted windows Transformer model to extract the above feature map, The above correction-Swin transformer is an operating method of an electronic device (100) in which a Swin transformer model is a corrected model so that the characteristic map is extracted by a window of the same resolution regardless of the resolution of the image.

14. In paragraph 13, The resolution of the window used in the above-mentioned compensation-Swin transformer model is a method of operating an electronic device (100) smaller than the resolution of the window used in the above-mentioned Swin transformer model.

15. A computer-readable recording medium having recorded thereon a program for performing the method described in any one of claims 11 to 14 on a computer.

Citation Information

Patent Citations

  • Image evaluation apparatus, image evaluation method, and program

    JP2016149010A

  • Method for generating quality characteristic map

    JP2021111360A

  • Device for encoding and decoding for 2d image for 3D image generation

    KR1020210126940A

  • KR20190111810A

  • KR20220014715A

Cited By

  • Street lamp light lack detection method and system based on dynamic patrol data

    CN119251799A