Image data processing method, display device, electronic device, and storage medium
By using image processing modes and mode filters in the display device to be processed, the display screen performance and life problems caused by resolution mismatch are solved, and better visual effects and simplified computing processes are achieved.
Patent Information
- Application Number
- PCT/CN2024/098583
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-24
- Filing Date
- 2024-06-12
- Publication Date
- 2025-07-31
AI Technical Summary
The existing image resolution reconstruction method is too complex to deal with the resolution mismatch of display devices, which affects the working performance and service life of the display screen.
By determining the image processing mode and mode filter, the data to be processed is simple to process the row data or column data, including adding or deleting modes, and filtering using a 3*2 or 4*2 convolution kernel filter to obtain pattern image data matching the display resolution.
The calculation process is simplified, avoiding the impact on the display performance and life, and improving the visual display effect.
Smart Images

Figure CN2024098583_31072025_PF_FP_ABST
Abstract
Description
Image data processing method, display device, electronic device and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application number 2024101020330 filed with the China Patent Office on January 24, 2024, entitled “Image Data Processing Method, Display Device, Electronic Device and Storage Medium,” the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application relates to the field of image processing technology, and in particular to an image data processing method, a display device, an electronic device, and a storage medium. Background Art
[0004] During the actual image display process of a display device, there may be a situation where the image data to be displayed does not match the resolution of the display device. For example, the resolution of the original image is different from the resolution of the display device, the display screen of the display device is damaged causing the original resolution to change, or the display screen is replaced causing a resolution mismatch.
[0005] Existing image resolution reconstruction methods can address the issue of "the resolution of the image data to be displayed not matching the display device's resolution." However, due to factors such as "the resolution of the original image differs from the display device's resolution, or the display screen is damaged or replaced," the degree of this mismatch is relatively low. Using existing image resolution reconstruction methods to reconstruct the resolution of the image data to be displayed can increase the display screen's temperature due to the complexity of the algorithm, which can affect the display's performance and actual service life.
[0006] Summary of the Invention
[0007] In view of this, the purpose of the embodiments of the present application is to provide an image data processing method, a display device, an electronic device and a storage medium to solve the technical problem that the existing image resolution reconstruction method is too complicated and easily affects the working performance and actual service life of the display screen.
[0008] In a first aspect, an embodiment of the present application provides an image data processing method, which is applied to a display device and includes:
[0009] Determining a corresponding image processing mode and at least one set of data to be processed according to image size data of an image to be displayed and a display resolution of the display device; wherein the image processing mode includes a row data adding mode and a row data deleting mode, or a column data adding mode and a column data deleting mode;
[0010] Processing the data to be processed based on a mode filter corresponding to the corresponding image processing mode to obtain mode-processed data;
[0011] According to the mode processing data and the image to be displayed, the mode image data processed by the corresponding image processing mode is obtained.
[0012] In the above implementation process, the image data processing method determines the corresponding image processing mode and at least one set of data to be processed according to the image size data of the image to be displayed and the display resolution of the display device; processes the data to be processed based on the pattern filter corresponding to the corresponding image processing mode to obtain pattern processing data; obtains pattern image data processed by the corresponding image processing mode according to the pattern processing data and the image to be displayed. The image data processing method filters the corresponding data to be processed (which can be row data or column data) through the pattern filter to obtain pattern image data that matches the display resolution; compared with the existing image resolution reconstruction method, the image data processing method provided in this application only involves the processing of a single row of data or a single column of data, and the calculation and processing process is simpler, which can avoid affecting the working performance and actual service life of the display screen. It solves the technical problem that the existing image resolution reconstruction method is too complicated and easily affects the working performance and actual service life of the display screen.
[0013] Optionally, in an embodiment of the present application, determining the corresponding image processing mode and at least one group of data to be processed based on the image size data of the image to be displayed and the display resolution of the display device includes: determining the corresponding image processing mode based on the image size data of the image to be displayed and the display resolution; determining at least one group of data to be processed based on the image size data of the image to be displayed, the display resolution and a preset index rule corresponding to the corresponding image processing mode; wherein, in the case where the image processing mode includes the row data addition mode and the row data deletion mode, the preset index rule includes at least one of a preset starting number of processing rows and a preset processing row interval; wherein, in the case where the image processing mode includes the column data addition mode and the column data deletion mode, the preset index rule includes at least one of a preset starting number of processing columns and a preset processing column interval.
[0014] In the above implementation process, through preset index rules (including at least one of the preset starting number of processing rows and the preset processing row interval; or, at least one of the preset starting number of processing columns and the preset processing column interval), at least one group of data to be processed under the corresponding image processing mode can be quickly determined to improve the processing efficiency of the image data to be displayed.
[0015] Optionally, in an embodiment of the present application, when the corresponding image processing mode is the row / column data addition mode, each group of the data to be processed includes: the row / column data to be added and the first adjacent row / column data of the row / column data to be added; wherein, the number of rows / columns of the first adjacent row / column data corresponding to each of the row / column data to be added is 4; the pattern filter includes: a 3*2 / 2*3 convolution kernel.
[0016] Existing methods for solving the problem of "the image data to be displayed does not match the resolution of the display device" include: directly deleting redundant row / column data, or directly adding missing row / column data. This processing method will result in an unsmooth transition between the directly deleted / added row / column data and the surrounding data, which will affect the display effect. In the above implementation process, based on the mode filter corresponding to the corresponding image processing mode, at least one group of to-be-processed data (including the row / column data to be added and the first adjacent row / column data) is processed, which can achieve a smooth transition between the added row / column data and the surrounding data, thereby obtaining a better visual display effect.
[0017] Optionally, in an embodiment of the present application, when the corresponding image processing mode is the row data adding mode and the row data to be added is the k-th row of filtered data, the first adjacent row data includes the k-2-th row data, the k-1-th row data, the k-th row data, and the k+1-th row data; and when the corresponding image processing mode is the column data adding mode and the column data to be added is the k-th column of filtered data, the first adjacent column data includes the k-2-th column data, the k-1-th column data, the k-th column data, and the k+1-th column data.
[0018] The processing of the data to be processed based on the pattern filter corresponding to the corresponding image processing mode to obtain pattern processing data includes: when the corresponding image processing mode is the row data addition mode, determining the filtered k-1th row of filtered data according to the product of the filtered data of the first row and first column of the pattern filter and the k-2th row of data, and the product of the filtered data of the first row and second column of the pattern filter and the k-1th row of data; determining the filtered kth row of filtered data according to the product of the filtered data of the second row and first column of the pattern filter and the k-1th row of data, and the product of the filtered data of the second row and second column of the pattern filter and the kth row of data; determining the filtered kth row of filtered data according to the product of the filtered data of the third row and first column of the pattern filter and the kth row of data, and the product of the filtered data of the third row and second column of the pattern filter and the kth row of data. The product of the k+1 row data is used to determine the filtered k+1th row filtered data; when the corresponding image processing mode is the column data addition mode, the filtered data of the k-1th column is determined according to the product of the filtered data of the first row and first column of the pattern filter and the k-2th column data, and the product of the filtered data of the second row and first column of the pattern filter and the k-1th column data; the filtered data of the kth column is determined according to the product of the filtered data of the first row and second column of the pattern filter and the k-1th column data, and the product of the filtered data of the second row and second column of the pattern filter and the kth column data; the filtered data of the k+1th column is determined according to the product of the filtered data of the first row and third column of the pattern filter and the kth column data, and the product of the filtered data of the second row and third column of the pattern filter and the k+1th column data.
[0019] In the above implementation process, a specific implementation process of filtering the processed data based on a pattern filter is provided; when the row / column data to be added is the kth row / column filtered data, the k-2th row / column data, the k-1th row / column data, the kth row / column data and the k+1th row / column data are filtered to obtain the k-1th row / column filtered data, the kth row / column filtered data and the k+1th row / column filtered data after filtering; based on the k-1th row / column filtered data, the kth row / column filtered data and the k+1th row / column filtered data after filtering, a smooth transition between the added row / column data (kth row / column filtered data) and the surrounding data (k-1th row / column filtered data and k+1th row / column filtered data) can be achieved, thereby obtaining a better visual display effect.
[0020] Optionally, in an embodiment of the present application, when the corresponding image processing mode is the row / column data deletion mode, each group of the data to be processed includes: row / column data to be deleted and second adjacent row / column data of the row / column data to be deleted; wherein, the number of rows / columns of the second adjacent row / column data corresponding to each row / column data to be deleted is 4; and the pattern filter includes: a 4*2 / 2*4 convolution kernel.
[0021] In the above implementation process, based on the pattern filter corresponding to the corresponding image processing mode, at least one group of data to be processed (including the row / column data to be deleted and the second adjacent row / column data) is processed, which can achieve a smooth transition between the deleted row / column data and the surrounding data to obtain a better visual display effect.
[0022] Optionally, in an embodiment of the present application, when the corresponding image processing mode is the row data deletion mode and the row data to be deleted is the kth row data, the second adjacent row data includes the k-2th row data, the k-1th row data, the k+1th row data, and the k+2th row data; when the corresponding image processing mode is the column data deletion mode and the column data to be deleted is the kth column data, the second adjacent column data includes the k-2th column data, the k-1th column data, the k+1th column data, and the k+2th column data;
[0023] The processing of the data to be processed based on the pattern filter corresponding to the corresponding image processing mode to obtain pattern processing data includes: when the corresponding image processing mode is the row data deletion mode, determining the filtered k-2th row of filtered data according to the product of the filtered data of the first row and first column of the pattern filter and the k-2th row of data, and the product of the filtered data of the first row and second column of the pattern filter and the k-1th row of data; determining the filtered k-1th row of filtered data according to the product of the filtered data of the second row and first column of the pattern filter and the k-1th row of data, and the product of the filtered data of the second row and second column of the pattern filter and the kth row of data; determining the filtered kth row of filtered data according to the product of the filtered data of the third row and first column of the pattern filter and the kth row of data, and the product of the filtered data of the third row and second column of the pattern filter and the k+1th row of data; determining the filtered kth row of filtered data according to the product of the filtered data of the fourth row and first column of the pattern filter and the k+1th row of data, and the product of the filtered data of the fourth row and second column of the pattern filter and the The k+2 row filtered data is determined by multiplying the filtered data by the product of the first row and first column of the mode filter and the k-2 column data, and the product of the filtered data by the second row and first column of the mode filter and the k-1 column data; the k-1 column filtered data is determined by multiplying the filtered data by the first row and second column of the mode filter and the k-1 column data; the k+1 column filtered data is determined by multiplying the filtered data by the first row and third column of the mode filter and the k column data, and the product of the filtered data by the second row and third column of the mode filter and the k+1 column data; the k+1 column filtered data is determined by multiplying the filtered data by the first row and fourth column of the mode filter and the k+1 column data, and the product of the filtered data by the second row and fourth column of the mode filter and the k+2 column data.
[0024] In the above implementation process, a specific implementation process of filtering the processed data based on a pattern filter is provided; when the row / column data to be deleted is the kth row / column data, the k-2th row / column data, the k-1th row / column data, the kth row / column data, the k+1th row / column data and the k+2th row / column data are filtered to obtain the k-2th row / column filtered data, the k-1th row / column filtered data, the kth row / column filtered data and the k+1th row / column filtered data after filtering; based on the k-2th row / column filtered data, the k-1th row / column filtered data, the kth row / column filtered data and the k+1th row / column filtered data after filtering, a smooth transition between the surrounding data (k-2th row / column filtered data, k-1th row / column filtered data, the kth row / column filtered data and the k+1th row / column filtered data) of the deleted row / column data (kth row / column data) can be achieved, thereby obtaining a better visual display effect.
[0025] Optionally, in an embodiment of the present application, before processing the data to be processed based on the pattern filter corresponding to the corresponding image processing mode to obtain pattern processing data, the method also includes: performing a gamma positive transformation on the image to be displayed to obtain positive transformation image data; processing the data to be processed based on the pattern filter corresponding to the corresponding image processing mode to obtain pattern processing data, including: processing the transformed data to be processed in the positive transformation image data based on the pattern filter corresponding to the corresponding image processing mode to obtain pattern processing transformation data; obtaining the pattern image data processed by the corresponding image processing mode according to the pattern processing data and the image to be displayed, including: obtaining pattern processing image transformation data according to the pattern processing transformation data and the positive transformation image data; performing a gamma inverse transformation on the pattern processing image transformation data to obtain the pattern image data.
[0026] In the above implementation process, by performing a gamma positive transformation on the image to be displayed before filtering the processed data, the influence of the pattern filter on the processed data can be increased to obtain a more natural visual transition effect; after filtering, the pattern processed image transformation data is uniformly subjected to a gamma inverse transformation to obtain the corresponding pattern image data.
[0027] In a second aspect, an embodiment of the present application provides a display device, comprising: a display and an image data processing device; the image data processing device comprises: a to-be-processed data determination module, a data processing module, and a pattern image data acquisition module;
[0028] The module for determining the data to be processed is configured to determine the corresponding image processing mode and at least one set of data to be processed based on the image size data of the image to be displayed and the display resolution of the display device; wherein the image processing mode includes a row data addition mode and a row data deletion mode, or a column data addition mode and a column data deletion mode; the data processing module is configured to process the data to be processed based on the pattern filter corresponding to the corresponding image processing mode to obtain pattern processing data; the pattern image data acquisition module is configured to obtain pattern image data processed by the corresponding image processing mode based on the pattern processing data and the image to be displayed; and the display is configured to display the pattern image data.
[0029] Optionally, in an embodiment of the present application, the module for determining the data to be processed can be specifically configured to: determine the corresponding image processing mode based on the image size data of the image to be displayed and the display resolution; determine at least one group of the data to be processed based on the image size data of the image to be displayed, the display resolution and the preset index rules corresponding to the corresponding image processing mode; wherein, in the case where the image processing mode includes the row data addition mode and the row data deletion mode, the preset index rules include at least one of a preset starting number of processing rows and a preset processing row interval; wherein, in the case where the image processing mode includes the column data addition mode and the column data deletion mode, the preset index rules include at least one of a preset starting number of processing columns and a preset processing column interval.
[0030] Optionally, in an embodiment of the present application, when the corresponding image processing mode is the row / column data deletion mode, each group of the data to be processed includes: the row / column data to be deleted and the second adjacent row / column data of the row / column data to be deleted; wherein the number of rows / columns of the second adjacent row / column data corresponding to each row / column data to be deleted is 4; the pattern filter includes: a 4*2 / 2*4 convolution kernel; when the corresponding image processing mode is the row data addition mode, and the row data to be added is the kth row of filtered data, the first adjacent row data includes the k-2th row data, the k-1th row data, and the k-2nd row data. row data, kth row data and k+1th row data; when the corresponding image processing mode is the column data addition mode and the column data to be added is the kth column filtered data, the first adjacent column data includes the k-2th column data, the k-1th column data, the kth column data and the k+1th column data; the data processing module can be specifically configured to: when the corresponding image processing mode is the row data addition mode, determine according to the product of the filtered data of the first row and the first column of the pattern filter and the k-2th row data, and the product of the filtered data of the first row and the second column of the pattern filter and the k-1th row data The k-1th row of filtered data; according to the product of the filtered data of the second row and first column of the pattern filter and the k-1th row of data, and the product of the filtered data of the second row and second column of the pattern filter and the kth row of data, determine the k-1th row of filtered data; according to the product of the filtered data of the third row and first column of the pattern filter and the kth row of data, and the product of the filtered data of the third row and second column of the pattern filter and the k+1th row of data, determine the k+1th row of filtered data; in the case where the corresponding image processing mode is the column data adding mode, according to the filtered data of the first row and first column of the pattern filter The filtered data of the k-1th column after filtering is determined according to the product of the filtered data of the first row and second column of the pattern filter and the data of the k-2th column, and the product of the filtered data of the second row and first column of the pattern filter and the data of the k-1th column; the filtered data of the kth column after filtering is determined according to the product of the filtered data of the first row and second column of the pattern filter and the data of the k-1th column, and the product of the filtered data of the second row and second column of the pattern filter and the data of the kth column; the filtered data of the k+1th column after filtering is determined according to the product of the filtered data of the first row and third column of the pattern filter and the data of the k-2th column, and the product of the filtered data of the second row and third column of the pattern filter and the data of the k+1th column.
[0031] Optionally, in an embodiment of the present application, when the corresponding image processing mode is the row / column data deletion mode, each group of the data to be processed includes: the row / column data to be deleted and the second adjacent row / column data of the row / column data to be deleted; wherein, the number of rows / columns of the second adjacent row / column data corresponding to each row / column data to be deleted is 4; the pattern filter includes: a 4*2 / 2*4 convolution kernel; when the corresponding image processing mode is the row data deletion mode, and the row data to be deleted is the kth row data, the second adjacent row data includes the k-2th row data, the k-1th row data, the k+1th row data and the k+2th row data; The corresponding image processing mode is the column data deletion mode, and when the column data to be deleted is the kth column data, the second adjacent column data includes the k-2th column data, the k-1th column data, the k+1th column data, and the k+2th column data; the data processing module can be specifically configured to: when the corresponding image processing mode is the row data deletion mode, determine the filtered k-2th row data according to the product of the filtered data of the first row and first column of the pattern filter and the k-2th row data, and the product of the filtered data of the first row and second column of the pattern filter and the k-1th row data; determine the filtered k-2th row data according to the product of the filtered data of the second row and first column of the pattern filter and the k-1th row data; determine the filtered k-2th row data according to the product of the filtered data of the second row and first column of the pattern filter and the k-1th row data. The product of the filtered data in the second row and the second column of the pattern filter and the data in the kth row is used to determine the filtered data in the k-1th row after filtering; the product of the filtered data in the third row and the first column of the pattern filter and the data in the kth row, and the product of the filtered data in the third row and the second column of the pattern filter and the data in the k+1th row is used to determine the filtered data in the kth row after filtering; the product of the filtered data in the fourth row and the first column of the pattern filter and the data in the k+1th row, and the product of the filtered data in the fourth row and the second column of the pattern filter and the data in the k+2th row is used to determine the filtered data in the k+1th row after filtering; in the case where the corresponding image processing mode is the column data deletion mode , determining the filtered k-2 column filtered data according to the product of the filtered data of the first row and first column of the pattern filter and the k-2 column data, and the product of the filtered data of the second row and first column of the pattern filter and the k-1 column data; determining the filtered k-1 column filtered data according to the product of the filtered data of the first row and second column of the pattern filter and the k-1 column data, and the product of the filtered data of the second row and second column of the pattern filter and the k column data; determining the filtered k column filtered data according to the product of the filtered data of the first row and third column of the pattern filter and the k column data, and the product of the filtered data of the second row and third column of the pattern filter and the k+1 column data;Determine the filtered data in the k+1th column after filtering based on the product of the filtered data in the first row and fourth column of the pattern filter and the data in the k+1th column, and the product of the filtered data in the second row and fourth column of the pattern filter and the data in the k+2th column.
[0032] Optionally, in an embodiment of the present application, the above-mentioned image data processing device may further include: an image transformation module, configured to perform a gamma positive transformation on the image to be displayed to obtain positive transformation image data; the data processing module may be specifically configured to process the to-be-processed transformation data in the positive transformation image data based on the mode filter corresponding to the corresponding image processing mode to obtain mode-processed transformation data; the mode image data acquisition module may be specifically configured to obtain mode-processed image transformation data based on the mode-processed transformation data and the positive transformation image data; and perform a gamma inverse transformation on the mode-processed image transformation data to obtain the mode image data.
[0033] In a third aspect, an embodiment of the present application further provides an electronic device comprising: a memory and a processor, wherein the memory stores a computer program executable by the processor, and when the computer program is executed by the processor, the image data processing method described in the first aspect above is executed.
[0034] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the image data processing method as described in the first aspect above is executed.
[0035] The beneficial effects of this application are as follows: the corresponding data to be processed is filtered through a pattern filter to obtain pattern image data that matches the display resolution; compared with existing image resolution reconstruction methods, the image data processing method provided by this application only involves processing a single row or column of data, which simplifies the calculation and processing process and can avoid affecting the operating performance and actual service life of the display. This solves the technical problem that existing image resolution reconstruction methods are too complex and easily affect the operating performance and actual service life of the display. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0037] FIG1 is a schematic flow chart of an image data processing method provided in an embodiment of the present application;
[0038] FIG2 is a schematic structural diagram of a display device provided in an embodiment of the present application;
[0039] FIG3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The following embodiments of the technical solution of the present application will be described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application and are therefore only examples and are not intended to limit the scope of protection of the present application.
[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0042] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is two or more, unless otherwise specifically defined.
[0043] Please refer to FIG1 , which shows a flow chart of an image data processing method provided by an embodiment of the present application. The image data processing method may include the following steps:
[0044] Step 101: Determine a corresponding image processing mode and at least one set of data to be processed based on image size data of an image to be displayed and a display resolution of the display device; wherein the image processing mode includes a row data addition mode and a row data deletion mode, or a column data addition mode and a column data deletion mode;
[0045] Step 102: Process the data to be processed based on a mode filter corresponding to the corresponding image processing mode to obtain mode-processed data;
[0046] Step 103: Obtain the pattern image data processed by the corresponding image processing pattern according to the pattern processing data and the image to be displayed.
[0047] Wherein, in step 101, the image to be displayed refers to image data input into the above-mentioned display device and configured to be displayed based on the above-mentioned display device. The display device can be a device such as a mobile phone or a computer with a display screen and a corresponding image data processing device (with image processing function). The above-mentioned image data processing method can be specifically applied to the corresponding image data processing device. When the image size data is consistent with the number of columns of the display resolution but the number of rows does not match, the image to be displayed can be processed based on the "row data increase mode or row data deletion mode"; when the image size data is consistent with the number of rows of the display resolution but the number of columns does not match, the image to be displayed can be processed based on the "column data increase mode or column data deletion mode". Specifically, the row / column data increase mode is configured to increase the specified row / column data, and the row / column data deletion mode is configured to delete the specified row / column data. The number of groups of data to be processed can be determined based on the "difference between the image size data and the display resolution"; for example, when the image size data is consistent with the number of columns of the display resolution, but the number of rows does not match (and the image to be displayed is 50 rows more than the number of rows of the display resolution), the corresponding image processing mode can be "row data deletion mode", and the number of groups of data to be processed is 50 groups; when the image size data is consistent with the number of columns of the display resolution, but the number of rows does not match (and the image to be displayed is 100 rows less than the number of rows of the display resolution), the corresponding image processing mode can be "row data addition mode", and the number of groups of data to be processed is 100 groups.
[0048] In step 102, the pattern filter can be implemented by a convolution kernel. Specifically, the number of rows and columns of the convolution kernel configured to implement the pattern filter can be adjusted according to actual application conditions such as the image processing mode and the specific data content of the data to be processed. Taking "the image processing mode is a row / column data addition mode, and each group of data to be processed includes row / column data to be added and the first adjacent row / column data of the row / column data to be added; wherein the number of rows / columns of the first adjacent row / column data corresponding to each row / column data to be added is 6" as an example, the corresponding pattern filter can be specifically implemented by a 5*2 / 2*5 convolution kernel. Taking "the image processing mode is a row / column data addition mode, and each group of data to be processed includes row / column data to be added and the first adjacent row / column data of the row / column data to be added; wherein the number of rows / columns of the first adjacent row / column data corresponding to each row / column data to be added is 4" as an example, the corresponding pattern filter can be specifically implemented by a 3*2 / 2*3 convolution kernel.
[0049] In step 103, the pattern processing data can be used to replace the image data of the corresponding area in the image to be displayed to obtain pattern image data processed by the corresponding image processing mode. For example, if the image processing mode is the row data addition mode and the corresponding pattern filtering is implemented by a 3*2 convolution kernel, three rows of pattern processing data can be obtained based on the 3*2 convolution kernel. The pattern image data can be obtained by replacing "one row of image data to be displayed before and after" the row data to be added based on the pattern processing data. For example, if the image processing mode is the row data deletion mode and the corresponding pattern filtering is implemented by a 4*2 convolution kernel, four rows of pattern processing data can be obtained by replacing "two rows of image data to be displayed before and after" the row data to be deleted based on the 4*2 convolution kernel.
[0050] Thus, the image data processing method provided in the embodiment of the present application filters the corresponding data to be processed through a pattern filter to obtain pattern image data that matches the display resolution. Compared with the existing image resolution reconstruction method, the image data processing method provided in the present application only involves processing a single row of data or a single column of data, and the calculation and processing process is simpler, which can avoid affecting the working performance and actual service life of the display screen. This solves the technical problem that the existing image resolution reconstruction method is too complex and easily affects the working performance and actual service life of the display screen.
[0051] In some optional embodiments, step 101, determining a corresponding image processing mode and at least one group of data to be processed based on the image size data of the image to be displayed and the display resolution of the display device, includes: determining the corresponding image processing mode based on the image size data of the image to be displayed and the display resolution; determining at least one group of data to be processed based on the image size data of the image to be displayed, the display resolution and a preset index rule corresponding to the corresponding image processing mode; wherein, in the case where the image processing mode includes the row data addition mode and the row data deletion mode, the preset index rule includes at least one of a preset starting number of processing rows and a preset processing row interval; wherein, in the case where the image processing mode includes the column data addition mode and the column data deletion mode, the preset index rule includes at least one of a preset starting number of processing columns and a preset processing column interval.
[0052] Among them, when the image size data is consistent with the number of columns of the display resolution but the number of rows does not match, the corresponding image processing mode can be "row data addition mode or row data deletion mode"; when the image size data is consistent with the number of rows of the display resolution but the number of columns does not match, the corresponding image processing mode can be "column data addition mode or column data deletion mode". The preset starting number of processing rows / columns and the preset processing row / column interval can be adjusted according to actual application conditions (for example, the display resolution of the display device or the image size data of the image to be displayed, etc.); when the preset starting number of processing rows / columns is determined, the actual processing row / column interval can also be adjusted according to actual application conditions; the preset starting number of processing rows / columns can be 20, 50 or other reasonable values, and the preset processing row / column interval can be 20, 50, 80 or other reasonable values.
[0053] In some optional embodiments, when the corresponding image processing mode is the row / column data addition mode, each group of the data to be processed includes: the row / column data to be added and the first adjacent row / column data of the row / column data to be added; wherein, the number of rows / columns of the first adjacent row / column data corresponding to each of the row / column data to be added is 4; and the pattern filter includes: a 3*2 / 2*3 convolution kernel.
[0054] Among them, when the number of rows / columns of the first adjacent row / column data is 4, the first adjacent row / column data can specifically include two rows / columns of adjacent data before and after the row / column data to be added. Based on the 3*2 / 2*3 convolution kernel, at least one group of data to be processed "including the row / column data to be added and the first adjacent row / column data" is processed to achieve a smooth transition between the added row / column data and the surrounding data to obtain a better visual display effect. For example, when the corresponding image processing mode is the row data addition mode, the pattern filter can be specifically composed of When the corresponding image processing mode is the column data adding mode, the mode filter can be specifically implemented by accomplish.
[0055] In some optional embodiments, when the corresponding image processing mode is the row data adding mode and the row data to be added is the k-th row of filtered data, the first adjacent row data includes the k-2-th row data, the k-1-th row data, the k-th row data, and the k+1-th row data; and when the corresponding image processing mode is the column data adding mode and the column data to be added is the k-th column of filtered data, the first adjacent column data includes the k-2-th column data, the k-1-th column data, the k-th column data, and the k+1-th column data;
[0056] The processing of the data to be processed based on the pattern filter corresponding to the corresponding image processing mode to obtain pattern processing data includes: when the corresponding image processing mode is the row data addition mode, determining the filtered k-1th row of filtered data according to the product of the filtered data of the first row and first column of the pattern filter and the k-2th row of data, and the product of the filtered data of the first row and second column of the pattern filter and the k-1th row of data; determining the filtered kth row of filtered data according to the product of the filtered data of the second row and first column of the pattern filter and the k-1th row of data, and the product of the filtered data of the second row and second column of the pattern filter and the kth row of data; determining the filtered kth row of filtered data according to the product of the filtered data of the third row and first column of the pattern filter and the kth row of data, and the product of the filtered data of the third row and second column of the pattern filter and the kth row of data. The product of the k+1 row data is used to determine the filtered k+1th row filtered data; when the corresponding image processing mode is the column data addition mode, the filtered data of the k-1th column is determined according to the product of the filtered data of the first row and first column of the pattern filter and the k-2th column data, and the product of the filtered data of the second row and first column of the pattern filter and the k-1th column data; the filtered data of the kth column is determined according to the product of the filtered data of the first row and second column of the pattern filter and the k-1th column data, and the product of the filtered data of the second row and second column of the pattern filter and the kth column data; the filtered data of the k+1th column is determined according to the product of the filtered data of the first row and third column of the pattern filter and the kth column data, and the product of the filtered data of the second row and third column of the pattern filter and the k+1th column data.
[0057] The pattern processing data can be used to replace the image data of the corresponding area in the image to be displayed to obtain pattern image data processed by the corresponding image processing mode. As shown in Table 1, when the corresponding image processing mode is the row data addition mode, the "k-2th row data, k-1th row data, kth row data, and k+1th row data" can be filtered based on the pattern filter to obtain "filtered k-1th row filtered data, kth row filtered data, and k+1th row filtered data." Table 1 illustrates the filtering process for a set of data to be processed. Specifically, the filtered pattern image data can be determined based on the 1st to k-2th rows of data in the image to be displayed (serving as the 1st to k-2th rows of pattern image data), the k-1th row of filtered data, the kth row of filtered data, the k+1th row of filtered data, and the k+1th to nth rows of data in the image to be displayed (serving as the k+2th to n+1th rows of pattern image data). After filtering the set of data to be processed based on the row data addition mode, the number of rows of pattern image data obtained is increased by one compared to the number of rows of data in the image to be displayed. Table 1 merely illustrates the filtering process for a set of data to be processed. The specific number of rows / columns that can be increased after processing the image to be displayed based on this image data processing method can be determined based on the actual number of sets of data to be processed.
[0058] Table 1
[0059] Exemplarily, when the image size data is consistent with the number of columns of the display resolution, but the number of rows does not match (the image to be displayed is 20 rows less than the number of rows of the display resolution), the number of rows of the image to be displayed is 1900, and the preset starting number of processing rows is 20, and the preset processing row interval is 50, the first group of data to be processed in the image to be displayed includes: the 20th row data, the 21st row data, the 22nd row data, and the 23rd row data; the second group of data to be processed includes: the 70th row data, the 71st row data, the 72nd row data, and the 73rd row data; the twentieth group of data to be processed includes: the 970th row data, the 971st row data, the 972nd row data, and the 973rd row data; the remaining groups of data to be processed can be determined according to the above rules. The 20 sets of data to be processed can be processed according to the specific processing method of the above-mentioned "row data increase mode", and the number of rows of each set of pattern-processed data after processing is increased by 1. Based on the 20 sets of pattern-processed data obtained after processing, the corresponding data to be processed are replaced to obtain pattern image data consistent with the number of rows of the display resolution. In some optional embodiments, when the corresponding image processing mode is the row / column data deletion mode, each set of the data to be processed includes: row / column data to be deleted and second-adjacent row / column data of the row / column data to be deleted; wherein the number of rows / columns of the second-adjacent row / column data corresponding to each row / column data to be deleted is 4; and the pattern filter includes: a 4*2 / 2*4 convolution kernel.
[0060] Among them, when the number of rows / columns of the second adjacent row / column data is 4, the second adjacent row / column data can specifically include two rows / columns of adjacent data before and after the row / column data to be deleted. Based on the 4*2 / 2*4 convolution kernel, at least one group of data to be processed "including the row / column data to be deleted and the second adjacent row / column data" is processed to achieve a smooth transition between the surrounding data after the row / column data to be deleted is deleted, so as to obtain a better visual display effect. For example, when the corresponding image processing mode is the row data deletion mode, the pattern filter can be specifically composed of When the corresponding image processing mode is the column data deletion mode, the mode filter can be specifically implemented by accomplish.
[0061] In some optional embodiments, when the corresponding image processing mode is the row data deletion mode and the row data to be deleted is the kth row data, the second adjacent row data includes the k-2th row data, the k-1th row data, the k+1th row data, and the k+2th row data; when the corresponding image processing mode is the column data deletion mode and the column data to be deleted is the kth column data, the second adjacent column data includes the k-2th column data, the k-1th column data, the k+1th column data, and the k+2th column data;
[0062] The processing of the data to be processed based on the pattern filter corresponding to the corresponding image processing mode to obtain pattern processing data includes: when the corresponding image processing mode is the row data deletion mode, determining the filtered k-2th row of filtered data according to the product of the filtered data of the first row and first column of the pattern filter and the k-2th row of data, and the product of the filtered data of the first row and second column of the pattern filter and the k-1th row of data; determining the filtered k-1th row of filtered data according to the product of the filtered data of the second row and first column of the pattern filter and the k-1th row of data, and the product of the filtered data of the second row and second column of the pattern filter and the kth row of data; determining the filtered kth row of filtered data according to the product of the filtered data of the third row and first column of the pattern filter and the kth row of data, and the product of the filtered data of the third row and second column of the pattern filter and the k+1th row of data; determining the filtered kth row of filtered data according to the product of the filtered data of the fourth row and first column of the pattern filter and the k+1th row of data, and the product of the filtered data of the fourth row and second column of the pattern filter and the The k+2 row filtered data is determined by multiplying the filtered data by the product of the first row and first column of the mode filter and the k-2 column data, and the product of the filtered data by the second row and first column of the mode filter and the k-1 column data; the k-1 column filtered data is determined by multiplying the filtered data by the first row and second column of the mode filter and the k-1 column data; the k+1 column filtered data is determined by multiplying the filtered data by the first row and third column of the mode filter and the k column data, and the product of the filtered data by the second row and third column of the mode filter and the k+1 column data; the k+1 column filtered data is determined by multiplying the filtered data by the first row and fourth column of the mode filter and the k+1 column data, and the product of the filtered data by the second row and fourth column of the mode filter and the k+2 column data.
[0063] The pattern processing data can be used to replace the image data of the corresponding area in the image to be displayed to obtain pattern image data processed by the corresponding image processing mode. As shown in Table 2, when the corresponding image processing mode is the row data deletion mode, the "k-2th row data, k-1th row data, kth row data, k+1th row data, and k+2th row data" can be filtered based on the pattern filter to obtain "filtered k-2th row filtered data, k-1th row filtered data, kth row filtered data, and k+1th row filtered data." Table 2 specifically illustrates the filtering process for a set of data to be processed. Specifically, the filtered pattern image data can be determined based on the 1st to k-3th rows of data in the image to be displayed (serving as the 1st to k-3th rows of pattern image data), the k-2th row of filtered data, the k-1th row of filtered data, the kth row of filtered data, the k+1th row of filtered data, and the k+3th to nth rows of data in the image to be displayed (serving as the k+2th to n-1th rows of pattern image data). After filtering the set of data to be processed based on the row data reduction mode, the number of rows of pattern image data obtained is reduced by one compared to the number of rows of data in the image to be displayed. Table 2 merely illustrates the filtering process for a set of data to be processed. The specific number of rows / columns that can be deleted after processing the image to be displayed based on this image data processing method can be determined based on the actual number of sets of data to be processed.
[0064] Table 2
[0065] Exemplarily, when the image size data is consistent with the number of columns of the display resolution, but the number of rows does not match (the image to be displayed is 50 rows more than the number of rows of the display resolution), the number of rows of the image to be displayed is 1970, and the preset starting number of processing rows is 20, and the preset processing row interval is 30, the first group of data to be processed in the image to be displayed includes: the 20th row of data, the 21st row of data, the 22nd row of data, the 23rd row of data, and the 24th row of data; the second group of data to be processed includes: the 50th row of data, the 51st row of data, the 52nd row of data, the 53rd row of data, and the 54th row of data; the fiftieth group of data to be processed includes: the 1490th row of data, the 1491st row of data, the 1492nd row of data, the 1493rd row of data, and the 1494th row of data; the remaining groups of data to be processed can be determined according to the above rules. The 50 groups of data to be processed can be processed according to the specific processing method of the above-mentioned "row data reduction mode". The number of rows of each group of pattern-processed data after processing is reduced by 1. Based on the 50 groups of pattern-processed data obtained after processing, the corresponding data to be processed are replaced to obtain pattern image data consistent with the number of rows of the display resolution.
[0066] In some optional embodiments, before processing the data to be processed based on the mode filter corresponding to the corresponding image processing mode to obtain mode-processed data, the method further includes: performing a gamma positive transformation on the image to be displayed to obtain positively transformed image data;
[0067] The processing of the data to be processed based on the mode filter corresponding to the corresponding image processing mode to obtain mode-processed data includes: processing the transformed data to be processed in the positively transformed image data based on the mode filter corresponding to the corresponding image processing mode to obtain mode-processed transformed data;
[0068] The method of obtaining the pattern image data after the corresponding image processing pattern processing according to the pattern processing data and the image to be displayed includes: obtaining the pattern processing image transformation data according to the pattern processing transformation data and the forward transformation image data; and performing an inverse gamma transformation on the pattern processing image transformation data to obtain the pattern image data.
[0069] The image to be displayed can be gamma-transformed based on a gamma-transformation curve (specifically, a gamma-transformation curve of 2.2) to obtain the gamma-transformed image data; the mode-processed image transformation data can be gamma-inversely transformed based on an inverse gamma-transformation curve (specifically, a gamma-transformation curve of 1 / 2.2) to obtain the mode image data. By performing a gamma-transform on the image to be displayed before filtering the processed data, the influence of the mode filter on the processed data can be enhanced, thereby obtaining a more natural visual transition effect; after filtering, the mode-processed image transformation data can be uniformly gamma-inversely transformed to obtain the corresponding mode image data.
[0070] Please refer to Figure 2, which is a schematic diagram of the structure of a display device provided in an embodiment of the present application. The display device includes: a display 20 and an image data processing device 30; the image data processing device 30 includes: a to-be-processed data determination module 301, a data processing module 302, and a pattern image data acquisition module 303;
[0071] The to-be-processed data determination module 301 is configured to determine a corresponding image processing mode and at least one set of to-be-processed data based on the image size data of the to-be-displayed image and the display resolution of the display device; wherein the image processing mode includes a row data addition mode and a row data deletion mode, or a column data addition mode and a column data deletion mode; the data processing module 302 is configured to process the to-be-processed data based on a pattern filter corresponding to the corresponding image processing mode to obtain pattern-processed data; the pattern image data acquisition module 303 is configured to obtain pattern image data processed by the corresponding image processing mode based on the pattern-processed data and the to-be-displayed image;
[0072] The display 20 is configured to display the pattern image data.
[0073] It should be understood that the image data processing device 30 in the display device corresponds to the above-mentioned embodiment of the image data processing method and is capable of executing each step involved in the above-mentioned embodiment of the method. The specific functions of the image data processing device 30 can be found in the description above, and a detailed description is omitted here to avoid repetition. The image data processing device 30 includes at least one software function module that can be stored in a memory in the form of software or firmware or embedded in the device's operating system (OS).
[0074] Please refer to Figure 3, which is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. An electronic device 400 provided in an embodiment of the present application includes: a processor 401 and a memory 402. These components are interconnected and communicate with each other via a communication bus 403 and / or other forms of connection mechanisms (not shown). The memory 402 stores a computer program executable by the processor 401. When the computer program is executed by the processor 401, it performs the image data processing method described in the first aspect above.
[0075] An embodiment of the present application further provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by the processor 401 , the image data processing method described in the first aspect above is executed.
[0076] Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0077] In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed devices / systems and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a portion of code, and the module, program segment or a portion of code contains one or more executable instructions configured to implement the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.
[0078] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0079] The above description is only an optional implementation method of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited to this. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in the embodiment of the present application, and they should all be covered by the protection scope of the embodiment of the present application. Industrial Applicability
[0080] Using the above scheme, the corresponding data to be processed is filtered through a pattern filter to obtain pattern image data that matches the display resolution. Compared with existing image resolution reconstruction methods, the image data processing method provided in this application only involves processing a single row or column of data, which simplifies the calculation and processing process and avoids affecting the operating performance and actual service life of the display. This solves the technical problem that existing image resolution reconstruction methods are overly complex and easily affect the operating performance and actual service life of the display, and is more practical.
Claims
1. An image data processing method, characterized in that, The method is applied to a display device, and the method includes: Determining a corresponding image processing mode and at least one set of data to be processed according to the image size data of an image to be displayed and the display resolution of the display device; wherein, the image processing mode includes a row data increasing mode and a row data deleting mode, or a column data increasing mode and a column data deleting mode; Processing the data to be processed based on a mode filter corresponding to the corresponding image processing mode to obtain mode-processed data; Obtaining mode image data after being processed by the corresponding image processing mode according to the mode-processed data and the image to be displayed.
2. The method according to claim 1, wherein The determining a corresponding image processing mode and at least one set of data to be processed according to the image size data of an image to be displayed and the display resolution of the display device includes: Determining the corresponding image processing mode according to the image size data of the image to be displayed and the display resolution; Determining at least one set of the data to be processed according to the image size data of the image to be displayed, the display resolution, and a preset indexing rule corresponding to the corresponding image processing mode; Wherein, when the image processing mode includes the row data increasing mode and the row data deleting mode, the preset indexing rule includes at least one of a preset starting processing row number and a preset processing row interval; Wherein, when the image processing mode includes the column data increasing mode and the column data deleting mode, the preset indexing rule includes at least one of a preset starting processing column number and a preset processing column interval.
3. The method according to claim 2, wherein, Wherein, When the corresponding image processing mode is the row / column data increasing mode, each set of the data to be processed includes: data of a row / column to be added and first adjacent row / column data of the data of the row / column to be added; Wherein, the row / column number of the first adjacent row / column data corresponding to each data of the row / column to be added is 4; the mode filter includes a 3*2 / 2*3 convolution kernel.
4. The method according to claim 3, wherein Wherein, When the corresponding image processing mode is the row data increasing mode and the data of the row to be added is the k-th row filtering data, the first adjacent row data includes the (k-2)-th row data, the (k-1)-th row data, the k-th row data, and the (k+1)-th row data; when the corresponding image processing mode is the column data increasing mode and the data of the column to be added is the k-th column filtering data, the first adjacent column data includes the (k-2)-th column data, the (k-1)-th column data, the k-th column data, and the (k+1)-th column data; The processing the data to be processed based on a mode filter corresponding to the corresponding image processing mode to obtain mode-processed data includes: When the corresponding image processing mode is the row data addition mode, determine the filtered (k - 1)-th row of filtered data according to the product of the filtered data in the first row and first column of the mode filter and the (k - 2)-th row of data, and the product of the filtered data in the first row and second column of the mode filter and the (k - 1)-th row of data; determine the filtered k-th row of filtered data according to the product of the filtered data in the second row and first column of the mode filter and the (k - 1)-th row of data, and the product of the filtered data in the second row and second column of the mode filter and the k-th row of data; determine the filtered (k + 1)-th row of filtered data according to the product of the filtered data in the third row and first column of the mode filter and the k-th row of data, and the product of the filtered data in the third row and second column of the mode filter and the (k + 1)-th row of data; When the corresponding image processing mode is the column data addition mode, determine the filtered (k - 1)-th column of filtered data according to the product of the filtered data in the first row and first column of the mode filter and the (k - 2)-th column of data, and the product of the filtered data in the second row and first column of the mode filter and the (k - 1)-th column of data; determine the filtered k-th column of filtered data according to the product of the filtered data in the first row and second column of the mode filter and the (k - 1)-th column of data, and the product of the filtered data in the second row and second column of the mode filter and the k-th column of data; determine the filtered (k + 1)-th column of filtered data according to the product of the filtered data in the first row and third column of the mode filter and the k-th column of data, and the product of the filtered data in the second row and third column of the mode filter and the (k + 1)-th column of data.
5. The method according to claim 2, wherein Wherein, When the corresponding image processing mode is the row / column data deletion mode, each group of the data to be processed includes: the row / column data to be deleted and the second adjacent row / column data of the row / column data to be deleted; Wherein, the number of rows / columns of the second adjacent row / column data corresponding to each row / column data to be deleted is 4; the mode filter includes a 4*2 / 2*4 convolution kernel.
6. The method according to claim 5, characterized in that, Wherein, When the corresponding image processing mode is the row data deletion mode and the row data to be deleted is the k-th row of data, the second adjacent row data includes the (k - 2)-th row of data, the (k - 1)-th row of data, the (k + 1)-th row of data, and the (k + 2)-th row of data; when the corresponding image processing mode is the column data deletion mode and the column data to be deleted is the k-th column of data, the second adjacent column data includes the (k - 2)-th column of data, the (k - 1)-th column of data, the (k + 1)-th column of data, and the (k + 2)-th column of data; Processing the data to be processed based on the mode filter corresponding to the corresponding image processing mode to obtain mode-processed data, including: When the corresponding image processing mode is the row data deletion mode, the filtered (k - 2)-th row of data is determined according to the product of the filtered data in the first row and first column of the mode filter and the (k - 2)-th row of data, and the product of the filtered data in the first row and second column of the mode filter and the (k - 1)-th row of data; the filtered (k - 1)-th row of data is determined according to the product of the filtered data in the second row and first column of the mode filter and the (k - 1)-th row of data, and the product of the filtered data in the second row and second column of the mode filter and the k-th row of data; the filtered k-th row of data is determined according to the product of the filtered data in the third row and first column of the mode filter and the k-th row of data, and the product of the filtered data in the third row and second column of the mode filter and the (k + 1)-th row of data; the filtered (k + 1)-th row of data is determined according to the product of the filtered data in the fourth row and first column of the mode filter and the (k + 1)-th row of data, and the product of the filtered data in the fourth row and second column of the mode filter and the (k + 2)-th row of data. When the corresponding image processing mode is the column data deletion mode, the filtered (k - 2)-th column of data is determined according to the product of the filtered data in the first row and first column of the mode filter and the (k - 2)-th column of data, and the product of the filtered data in the second row and first column of the mode filter and the (k - 1)-th column of data; the filtered (k - 1)-th column of data is determined according to the product of the filtered data in the first row and second column of the mode filter and the (k - 1)-th column of data, and the product of the filtered data in the second row and second column of the mode filter and the k-th column of data; the filtered k-th column of data is determined according to the product of the filtered data in the first row and third column of the mode filter and the k-th column of data, and the product of the filtered data in the second row and third column of the mode filter and the (k + 1)-th column of data; the filtered (k + 1)-th column of data is determined according to the product of the filtered data in the first row and fourth column of the mode filter and the (k + 1)-th column of data, and the product of the filtered data in the second row and fourth column of the mode filter and the (k + 2)-th column of data.
7. The method according to any one of claims 1-6, characterized in that, Before processing the data to be processed based on the mode filter corresponding to the corresponding image processing mode to obtain the mode processing data, the method further includes: performing gamma positive transformation on the image to be displayed to obtain positive transformation image data. Processing the data to be processed based on the mode filter corresponding to the corresponding image processing mode to obtain the mode processing data includes: processing the transformation data to be processed in the positive transformation image data based on the mode filter corresponding to the corresponding image processing mode to obtain the mode processing transformation data. Processing the data and the image to be displayed according to the mode, and obtaining the mode image data processed by the corresponding image processing mode, including: processing the transform data and the forward transform image data according to the mode to obtain the mode processing image transform data; performing an inverse gamma transform on the mode processing image transform data to obtain the mode image data.
8. A display device, characterized in that, The display device includes: a display and an image data processing device; the image data processing device includes: a data to be processed determination module, a data processing module, and a mode image data acquisition module; The data to be processed determination module is configured to determine a corresponding image processing mode and at least one set of data to be processed according to the image size data of the image to be displayed and the display resolution of the display device; wherein, the image processing mode includes a row data addition mode and a row data deletion mode, or a column data addition mode and a column data deletion mode; the data processing module is configured to process the data to be processed based on a mode filter corresponding to the corresponding image processing mode to obtain mode processing data; the mode image data acquisition module is configured to obtain the mode image data processed by the corresponding image processing mode according to the mode processing data and the image to be displayed; The display is configured to display the mode image data. The electronic device includes:
9. An electronic device, characterized in that, a memory; a processor; A computer program executable by the processor is stored on the memory, and when the computer program is executed by the processor, it executes the method according to any one of claims 1-7. Computer program instructions are stored in the computer-readable storage medium, and when the computer program instructions are run by a processor, they execute the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that,
Citation Information
Patent Citations
Data processing method, device and apparatus
CN108573305A
Image filling method and device, equipment and storage medium
CN112465932A
Image processing apparatus, method, and program
CN114679547A
Image processing method and device, equipment and storage medium
CN116757933A
Image data processing method, display device, electronic device and storage medium
CN117711353A