Software and hardware combined odd-even pixel separation device and method, medium and terminal

Through the combination of software and hardware, the down-sampling scaling function of the graphics accelerator is used for odd-numbered pixel separation, which solves the problem of CPU resource waste and low efficiency during the odd-numbered pixel separation process of the microcontroller, and improves the processing speed and system stability.

CN118799164AInactive Publication Date: 2024-10-18HPMICRO SEMICONDUCTOR CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411077977.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing microcontrollers waste CPU resources and are inefficient during the odd-pixel separation process, affecting system performance and response speed.

Method used

Through the combination of software and hardware, the down-sampling scaling function of the graphics accelerator is used to perform odd pixel separation. The central processor only needs to configure parameters, and the graphics accelerator is responsible for the specific operations, reducing the burden on the CPU.

Benefits of technology

It greatly saves CPU resources, improves processing speed and system stability, realizes real-time image processing, and avoids performance degradation caused by CPU overload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799164A_ABST
    Figure CN118799164A_ABST
Patent Text Reader

Abstract

According to the software and hardware combined odd-even pixel separation device and method, the medium and the terminal, the odd-even pixel separation parameters are configured for the graphics accelerator through the central processing unit, the odd-even pixel separation is efficiently completed through the built-in down-sampling scaling function of the graphics accelerator, the algorithm complexity is simplified, a large number of CPU resources are saved, and the hardware and software combined odd-even pixel separation efficiency is improved. And the processing speed is also improved, so that real-time image processing becomes possible. On the basis of a software and hardware combination mode, complex image processing tasks are distributed to the special graphics accelerators, the function of odd-even pixel separation is achieved in combination with the hardware acceleration capacity of the graphics accelerators, the central processing unit is responsible for higher-level control and scheduling tasks, and the image processing efficiency is improved. The cooperative working mode gives full play to the performance advantages of the graphics accelerator, keeps the flexibility and programmability of the CPU, and solves the problems of resource waste and low efficiency caused by excessive dependence on the CPU in the traditional odd-even pixel separation method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of image processing of microprocessors, and in particular to an odd and even pixel separation device, method, medium and terminal combining software and hardware. Background Art

[0002] In the field of embedded system design, graphic MCUs are widely used in devices that require graphic processing functions, such as smart cameras, security monitoring systems, and portable image acquisition devices, due to their cost-effectiveness, low power consumption, and compact design. These applications often require the system to efficiently process image data from the camera to meet the needs of real-time display, image analysis, or data compression.

[0003] Although the graphics MCU is usually equipped with a 2D graphics accelerator to accelerate basic graphics rendering tasks, the graphics processing function of its CPU and 2D graphics accelerator is still relatively weak compared to that of the SOC processor, and it does not directly have the odd and even pixel separation function. In some applications, after the image is captured by the camera, the odd and even pixels of the image need to be stored separately. Usually, the CPU directly processes the pixels, traverses each pixel in the image one by one, determines its position (odd or even row / column), and writes the pixel value into the corresponding buffer. This processing method of odd and even pixel separation by the CPU consumes a lot of computing resources, which not only greatly wastes CPU resources, but also is inefficient, affecting the overall performance and response speed of the system. Summary of the invention

[0004] In view of the shortcomings of the prior art described above, the purpose of the present application is to provide a hardware-software combined odd and even pixel separation device, method, medium and terminal, which are used to solve the technical problems such as CPU waste and low efficiency caused by the microcontroller separating odd and even pixels in the prior art.

[0005] To achieve the above-mentioned purpose and other related purposes, the first aspect of the present application provides a hardware-software combined odd-even pixel separation device, comprising: a central processing unit and a graphics accelerator communicatively connected to the central processing unit, wherein: the central processing unit is used to obtain image data to be processed, and parse out the first row memory start address and single row spacing of the image data to be processed; according to the first row memory start address and single row spacing of the image data to be processed, the odd-even pixel separation parameters are configured for the graphics accelerator; the graphics accelerator is used to perform an odd-even pixel separation operation on the image data to be processed using a downsampling scaling function according to the odd-even pixel separation parameters configured by the central processing unit; the odd-even pixel separation operation includes an odd pixel extraction operation and an even pixel extraction operation.

[0006] In some embodiments of the first aspect of the present application, the graphics accelerator includes a register and a processing unit electrically connected to the register, and the register and the processing unit are respectively communicated with the central processing unit; the odd and even pixel separation parameters are set by configuring the register; when the processing unit receives a start signal sent by the central processing unit, the processing unit performs an odd and even pixel separation operation on the image data to be processed according to the set odd and even pixel separation parameters using a downsampling scaling function.

[0007] In some embodiments of the first aspect of the present application, the manner of configuring the register to set the odd and even pixel separation parameters includes any one or more of the following combinations:

[0008] (1) configuring the memory start address of the first row of the image data to be processed in the register;

[0009] (2) configuring the downsampling multiple of the image data to be processed in a register;

[0010] (3) configuring a single line spacing of the image data to be processed in a register;

[0011] (4) configuring multiple output data target addresses in the register;

[0012] (5) The size and format of the image data to be processed are configured in a register.

[0013] In some embodiments of the first aspect of the present application, the method for extracting odd pixels includes: obtaining the starting address of the current row of pixels according to the first row memory starting address and unit row spacing of the image data to be processed; extracting the pixels of the current row located in odd columns in sequence according to the starting address of the current row of pixels and the downsampling multiple; calculating the starting address of the next row of pixels according to the starting address of the current row of pixels and the single row spacing, and extracting the pixels of the next row located in odd columns; repeating the above steps of calculating the starting address of the new row of pixels and extracting the pixels of the new row located in odd columns, traversing all rows of the image data to be processed, and completing the extraction of all odd pixels; writing all the extracted odd pixels into the corresponding output data target address.

[0014] In some embodiments of the first aspect of the present application, the method for extracting even pixels includes: calculating the starting address of the first even pixel in the first row of the image data to be processed according to the starting address of the first row of the memory of the image data to be processed; calculating the starting address of the first even pixel in the current row according to the starting address of the first even pixel in the first row of the image data to be processed and the line spacing of a single row; extracting pixels in the current row located in even columns in sequence according to the starting address of the first even pixel in the current row and the downsampling multiple; calculating the starting address of the first even pixel in the next row according to the starting address of the first even pixel in the current row and the line spacing of a single row, and extracting pixels in the next row located in even columns; repeating the above steps of calculating the starting address of the first even pixel in the new row and extracting pixels in the new row located in even columns, traversing all rows of the image data to be processed, and completing the extraction of all even pixels; and writing all the extracted even pixels into the corresponding output data target address.

[0015] To achieve the above-mentioned purpose and other related purposes, the second aspect of the present application provides a software-hardware combined odd-even pixel separation method, which is applied to the software-hardware combined odd-even pixel separation device as described above, and the method includes: a central processing unit obtains image data to be processed, and parses the first line memory start address and single line spacing of the image data to be processed; according to the first line memory start address and single line spacing of the image data to be processed, the odd-even pixel separation parameters are configured for the graphics accelerator; the central processing unit sends a start signal to the graphics accelerator; the graphics accelerator receives the start signal, and according to the odd-even pixel separation parameters configured by the central processing unit, uses a downsampling scaling function to perform an odd-even pixel separation operation on the image data to be processed; the odd-even pixel separation operation includes an odd pixel extraction operation and an even pixel extraction operation.

[0016] In some embodiments of the second aspect of the present application, the method for extracting odd pixels includes: obtaining the starting address of the pixels in the current row according to the memory starting address of the first row of the image data to be processed and the unit row spacing; extracting the pixels in the odd columns of the current row in sequence according to the starting address of the pixels in the current row and the downsampling multiple; calculating the starting address of the pixels in the next row according to the starting address of the pixels in the current row and the single row spacing, and extracting the pixels in the odd columns of the next row; repeating the above steps of calculating the starting address of the pixels in the new row and extracting the pixels in the odd columns of the new row, traversing all rows of the image data to be processed, and completing the extraction of all odd pixels; writing all the extracted odd pixels into the corresponding output data target address.

[0017] In some embodiments of the second aspect of the present application, the method for extracting even pixels includes: calculating the starting address of the first even pixel in the first row of the image data to be processed according to the starting address of the first row of the memory of the image data to be processed; calculating the starting address of the first even pixel in the current row according to the starting address of the first even pixel in the first row of the image data to be processed and the line spacing of a single row; extracting pixels in the current row located in even columns in sequence according to the starting address of the first even pixel in the current row and the downsampling multiple; calculating the starting address of the first even pixel in the next row according to the starting address of the first even pixel in the current row and the line spacing of a single row, and extracting pixels in the next row located in even columns; repeating the above steps of calculating the starting address of the first even pixel in the new row and extracting pixels in the new row located in even columns, traversing all rows of the image data to be processed, and completing the extraction of all even pixels; and writing all the extracted even pixels into the corresponding output data target address.

[0018] To achieve the above-mentioned purpose and other related purposes, the third aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the odd and even pixel separation method combining software and hardware as described above.

[0019] To achieve the above-mentioned purpose and other related purposes, the fourth aspect of the present application provides an electronic terminal, including a memory, a processor and a computer program stored in the memory, and the processor executes the computer program to implement the odd and even pixel separation method combining software and hardware as described above.

[0020] As described above, in the odd-even pixel separation device, method, medium and terminal combined with software and hardware of the present application, the central processor only needs to simply configure the odd-even pixel separation parameters of the graphics accelerator, and can separate the odd and even pixels through the built-in downsampling and scaling function of the graphics accelerator. The central processor does not participate in the specific operation of separation, which greatly saves CPU resources and improves CPU utilization and real-time performance, which is mainly reflected in the following aspects:

[0021] (1) The present invention greatly reduces the burden on the CPU by transferring the task of separating odd and even pixels to the graphics accelerator for processing. The CPU only needs to perform simple parameter configuration and result reception, thereby having more resources to execute other critical or complex computing tasks. This collaborative working mode fully utilizes the performance advantages of the graphics accelerator while retaining the flexibility and programmability of the CPU, thereby improving the response speed and efficiency of the overall system.

[0022] (2) By assigning the task of odd and even pixel separation to the graphics accelerator and combining it with the hardware acceleration capability of the graphics accelerator, not only can the algorithm complexity be simplified and a large amount of CPU resources be saved, but the processing speed can also be significantly accelerated and the processing time can be reduced, making real-time image processing possible.

[0023] (3) Since graphics accelerators are more professional and efficient in processing graphics tasks, handing over the task of odd and even pixel separation to them can help reduce problems such as system crashes or performance degradation caused by CPU overload, thereby enhancing system stability and reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 Shown is a structural schematic diagram of an odd and even pixel separation device combining software and hardware in one embodiment of the present application.

[0025] Figure 2A Shown is the original pixel distribution diagram of the image data to be processed in one embodiment of the present application.

[0026] Figure 2B Shown is a pixel distribution diagram after odd pixels are extracted from the image data to be processed in one embodiment of the present application.

[0027] Figure 2C Shown is a diagram of the final effect after extracting odd pixels from the image data to be processed in one embodiment of the present application.

[0028] Figure 2D The figure shows a pixel distribution diagram after even pixels are extracted from the image data to be processed in one embodiment of the present application.

[0029] Figure 2E FIG. 1 is a schematic diagram of a process of extracting uniform pixels from image data to be processed in one embodiment of the present application.

[0030] Figure 2F The figure shows the final effect after even pixels are extracted from the image data to be processed in one embodiment of the present application.

[0031] Figure 3 It is a schematic flow chart of a method for separating odd and even pixels by combining software and hardware in one embodiment of the present application.

[0032] Figure 4 Shown is a schematic diagram of the structure of an electronic terminal in one embodiment of the present application. DETAILED DESCRIPTION

[0033] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0034] Before further describing the present invention in detail, the nouns and terms involved in the embodiments of the present invention are explained. The nouns and terms involved in the embodiments of the present invention are applicable to the following interpretations:

[0035] <1> SOC processor: The abbreviation of System on Chip, also known as system on chip, is a highly integrated chip that integrates multiple processing components, memory, modem and other basic components in a single package to form a complete processing system.

[0036] <2> Graphics MCU: Microcontroller Unit with Graphics Capabilities, is a microcontroller with integrated graphics processing capabilities.

[0037] <3> CPU (Central Processing Unit): Central processing unit, responsible for executing program instructions and processing data.

[0038] Some graphics MCUs are generally equipped with 2D graphics accelerators to accelerate basic graphics rendering tasks, but the graphics processing functions of their CPUs and 2D graphics accelerators are still relatively weak compared to SOC processors, and they do not directly have the function of odd-even pixel separation. In some applications, after the image is captured by the camera, the odd and even pixels of the image need to be stored separately. Usually, the CPU directly processes the pixels, traverses each pixel in the image one by one, determines its position (odd or even row / column), and writes the pixel value into the corresponding buffer. This processing method of odd-even pixel separation by the CPU consumes a lot of computing resources, which not only greatly wastes CPU resources, but also is inefficient, affecting the overall performance and response speed of the system.

[0039] In order to solve the above problems in the prior art, the present invention provides a software-hardware combined odd and even pixel separation device, method, medium and terminal, aiming to solve the technical problems such as CPU waste and low efficiency caused by the existing microcontroller separating odd and even pixels.

[0040] To facilitate understanding of the embodiments of the present application, first Figure 1 Detailed description. Figure 1 The structural schematic diagram of the odd-even pixel separation device combined with software and hardware in the embodiment of the present invention is shown. The odd-even pixel separation device 100 combined with software and hardware in the present embodiment mainly includes: a central processing unit 101 and a graphics accelerator 102 connected to the central processing unit 101 for communication, wherein the central processing unit 101 is used to obtain the image data to be processed, and parse out the first line memory start address and single line spacing of the image data to be processed; according to the first line memory start address and single line spacing of the image data to be processed, the odd-even pixel separation parameters are configured for the graphics accelerator 102. The graphics accelerator 102 is used to perform an odd-even pixel separation operation on the image data to be processed using a downsampling scaling function according to the odd-even pixel separation parameters configured by the central processing unit 102; the odd-even pixel separation operation includes an operation of extracting odd pixels and an operation of extracting even pixels.

[0041] In this embodiment, the hardware-software combined odd and even pixel separation device further includes an internal memory, which is respectively connected to the central processing unit and the graphics accelerator for communication, and is used to store image data to be processed, intermediate data during processing, and final output data.

[0042] In this embodiment, the memory start address of the first row of the image data to be processed is the start address of the image data to be processed in the memory, and the single row spacing refers to the memory size occupied by a single row of pixels.

[0043] In this embodiment, the central processor 101 reads the image data to be processed from the internal memory and parses the first row memory start address and single row spacing of the image data to be processed. The image data to be processed includes a plurality of rows and a plurality of columns of pixels, and the pixels in the odd columns of each row are odd pixels, and the pixels in the even columns of each row are even pixels.

[0044] It is worth noting that, usually, the graphics accelerator does not directly have the odd and even pixel separation function, but the graphics accelerator supports the graphics scaling function, and can realize the bilinear scaling and downsampling scaling functions. The present invention configures the odd and even pixel separation parameters for the graphics accelerator 102 through the central processor 101, and utilizes the built-in downsampling scaling function of the graphics accelerator to efficiently complete the odd and even pixel separation. This implementation method not only simplifies the algorithm complexity, saves a lot of CPU resources, but also improves the processing speed, making real-time image processing possible. Therefore, the present invention is based on the combination of software and hardware, assigns complex image processing tasks to the dedicated graphics accelerator 102, combines the hardware acceleration capability of the graphics accelerator 102, and realizes the odd and even pixel separation function, while the central processor 101 is responsible for higher-level control and scheduling tasks. This collaborative working method gives full play to the performance advantages of the graphics accelerator 102, while also retaining the flexibility and programmability of the CPU, and solves the problem of resource waste and low efficiency caused by the traditional odd and even pixel separation method being overly dependent on the CPU.

[0045] In this embodiment, the downsampling scaling function is an image reduction technology, which is achieved by reducing the number of pixels in the image, which usually involves sampling and aggregation of pixels to reduce the resolution of the image. Its main purpose is to make the image fit the size of a specific display area, or to generate a thumbnail of the corresponding image.

[0046] In this embodiment, bilinear scaling is an image interpolation technique that calculates the value of a new pixel by weighted averaging the four nearest neighboring pixels. This method can provide a relatively smooth image scaling effect and reduce jaggedness during the scaling process.

[0047] In this embodiment, the graphics accelerator 102 includes a register 1021 and a processing unit 1022 electrically connected to the register 1021, and the register 1021 and the processing unit 1022 are respectively communicated with the central processing unit 101; the register 1021 is configured to set the odd and even pixel separation parameters; when the processing unit 1022 receives the start signal sent by the central processing unit 101, the processing unit 1022 performs an odd and even pixel separation operation on the image data to be processed according to the set odd and even pixel separation parameters using the downsampling scaling function.

[0048] In this embodiment, the manner of configuring the register to set the odd and even pixel separation parameters includes any one or more of the following combinations:

[0049] (1) The memory start address of the first row of the image data to be processed is configured in a register.

[0050] (2) configuring the downsampling multiple of the image data to be processed in a register.

[0051] (3) configuring a single line spacing of the image data to be processed in a register.

[0052] (4) Configure multiple output data target addresses in the register.

[0053] (5) The size and format of the image data to be processed are configured in a register.

[0054] In this embodiment, the graphics accelerator 102 is a highly integrated hardware unit that configures specific image processing tasks, such as odd and even pixel separation, through registers 1021, thereby allowing the graphics accelerator 102 to work in conjunction with the central processor 101 to efficiently process image data.

[0055] In this embodiment, the register 1021 is a storage unit for storing configuration information inside the graphics accelerator 102. By configuring these registers 1021, the working mode, parameters, etc. of the graphics accelerator 102 can be set to adapt to different image processing requirements. In the scenario of odd-even pixel separation, the register 1021 will be used to store the relevant parameters of odd-even pixel separation, such as separation mode, output format, etc. The processing unit 1022 is the core part of the graphics accelerator 102, which is responsible for performing the actual image processing operation. The processing unit 1022 is electrically connected to the register 1021 so as to read the configuration information when needed. When the processing unit 1022 receives a start signal from the central processor 101, the downsampling scaling function is used to perform an odd-even pixel separation operation on the image data to be processed according to the parameters configured in the register 1021. After the processing is completed, the graphics accelerator 102 outputs the processing result (i.e., the image data after odd-even pixel separation) to the output data target address of the internal memory.

[0056] In this embodiment, the memory start address of the first row of the image data to be processed is configured in the register 1021 to specify the start address of the image data to be processed in the memory, so that the graphics accelerator 102 can accurately locate the start position of the image data to be processed from the system memory. Since the graphics accelerator 102 needs to frequently read and write data from the memory when processing image data, if the start address of the image data to be processed is known, the graphics accelerator 102 can directly jump to the address to start processing, reducing the addressing time and the overhead of data movement, thereby improving processing efficiency.

[0057] In this embodiment, the downsampling multiple of the image data to be processed is configured in the register 1021, and the graphics accelerator 102 can accurately control the number of pixels sampled from the image data to be processed. For example, if the downsampling multiple is 2, then every other pixel in each row is taken, and only the pixels in the odd columns (or the pixels in the even columns) are selected. If the downsampling multiple is 4, every third pixel in each row is taken, and only the pixels in the odd columns (or the pixels in the even columns) are selected, thereby achieving the separation of odd and even pixels.

[0058] In this embodiment, the single-line spacing of the image data to be processed is configured in the register 1021, and the single-line spacing determines the starting position of each row of pixel data in the memory. By accumulating the single-line spacing, the graphics accelerator 102 can accurately locate the starting address of the next row of pixel data. After processing each row of pixels, the graphics accelerator 102 will calculate the starting address of the next row based on the starting address of the current row and the preset single-line spacing (i.e., the memory size occupied by a single row of pixels). By continuously moving the starting address and processing new rows, the image accelerator 102 can traverse all rows of the entire image data to be processed and complete the processing of all pixels.

[0059] In this embodiment, multiple output data target addresses are configured in register 1021, so that the results of odd and even pixel separation are stored in different memory locations, which improves the efficiency of data writing, avoids confusion of processing results, and facilitates subsequent separate processing or analysis of odd and even pixels.

[0060] In this embodiment, the size and format of the image data to be processed are configured in the register 1021. By configuring the size (width and height) of the image data to be processed, the graphics accelerator 102 can clearly know the image range to be processed. By configuring the format of the image data to be processed, the graphics accelerator 102 can correctly parse the pixel data, including the color depth, color channel, and whether transparency is included for each pixel.

[0061] In this embodiment, the method of extracting odd pixel operation includes:

[0062] (1) Obtaining the starting address of the pixels in the current row according to the memory starting address of the first row of the image data to be processed and the unit row spacing.

[0063] (2) According to the starting address of the pixels in the current row and the downsampling multiple, the pixels in the odd columns of the current row are extracted in sequence.

[0064] (3) According to the starting address of the pixels in the current row and the line spacing of a single row, the starting address of the pixels in the next row is calculated, and the pixels in the next row located in odd columns are extracted.

[0065] (4) Repeat the above steps of calculating the starting address of the new row of pixels and extracting the pixels of the new row located in odd columns, traversing all rows of the image data to be processed, and completing the extraction of all odd pixels.

[0066] (5) Write all extracted odd pixels into the corresponding output data target address.

[0067] In this embodiment, the principle of odd-even pixel separation is explained through an 8×5 image data to be processed. The downsampling and scaling function is achieved by partially discarding pixels. Figure 2A As shown in FIG. 1 , it is a raw pixel distribution diagram of the image data to be processed in an embodiment of the present invention. Figure 2B As shown in FIG. 1 , a pixel distribution diagram after extracting odd pixels from the image data to be processed in an embodiment of the present invention is shown. Figure 2C As shown, it is a diagram showing the final effect after extracting odd pixels from the image data to be processed in an embodiment of the present invention.

[0068] In this embodiment, if Figure 2A-2C As shown, the image data to be processed is an 8×5 image, each row has 8 pixels, the pixels in the 1st, 3rd, 5th, and 7th columns are odd pixels, and the pixels in the 2nd, 4th, 6th, and 8th columns are even pixels, where X is an odd pixel and O is an even pixel. If the downsampling multiple is 2, only odd pixels are extracted, and the pixels in the even columns of each row will be discarded, that is, starting from the first odd pixel in each row, every other pixel is taken, so that the pixels in the 1st, 3rd, 5th, and 7th columns are retained, and the pixels in the 2nd, 4th, 6th, and 8th columns are discarded. If the downsampling multiple is 4, every three pixels are taken in each row, and only the pixels in the 1st and 5th columns are retained, and the pixels in the 2nd, 3rd, 4th, 6th, 7th, and 8th columns are discarded.

[0069] In this embodiment, the starting address of each row of pixels is the starting address of the first pixel in each row, and the first pixel in each row is an odd pixel. Therefore, the starting address for extracting odd pixels is the starting address of the first row of memory. Taking the sampling multiple of 2 as an example, when extracting odd pixels, the starting address of the first row of memory of the image data to be processed is the starting address of the first pixel in the first row. The first pixel in the first row is located in the first column and is an odd pixel. Starting from this position, one pixel is taken every other pixel, and the pixels located in the 1st, 3rd, 5th, and 7th columns of the first row are extracted in sequence to complete the extraction of the odd pixels in the first row. After processing the first row, the starting address of the first row of memory is added with a single row spacing, that is, the starting address of the first row of memory is moved backward by the size of the single row spacing, as the starting address for extracting odd pixels in the second row. Starting from the starting address of the second row of pixels, one pixel is taken every other pixel, and the pixels located in the 1st, 3rd, 5th, and 7th columns of the second row are extracted in sequence to complete the extraction of the odd pixels in the second row. After processing the second row, the starting address of the second row of pixels is added with a single row spacing, that is, the starting address of the second row of pixels is moved backward by the size of the single row spacing, which is used as the starting address of the third row of pixels for extracting odd pixels. Starting from the starting address of the third row of pixels, every other pixel is taken, and the pixels located in the 1st, 3rd, 5th, and 7th columns of the third row are extracted in sequence to complete the extraction of the odd pixels of the third row. And so on, repeat the above process to complete the extraction of odd pixels of all rows. Therefore, when the graphics accelerator extracts odd pixels, the starting position of each row of pixels is an odd pixel. As long as the memory starting address of the first row of the image data to be processed and the single row spacing are configured, the starting address of each row of pixels can be obtained, which is also the starting address of each row of odd pixels, so that the pixels located in the odd columns are extracted row by row, and the extracted pixels located in the odd columns of each row are written into the corresponding output data target address.

[0070] In this embodiment, the method of extracting the even pixel operation includes:

[0071] (1) According to the memory starting address of the first row of the image data to be processed, the starting address of the first even pixel in the first row of the image data to be processed is calculated.

[0072] (2) The starting address of the first even pixel in the first line of the image data to be processed and the line spacing of a single line are used to calculate the starting address of the first even pixel in the current line.

[0073] (3) According to the starting address of the first even pixel in the current row and the downsampling multiple, the pixels in the even columns of the current row are extracted in sequence.

[0074] (4) According to the starting address of the first even pixel in the current row and the single-row spacing, the starting address of the first even pixel in the next row is calculated, and the pixels in the next row located in the even columns are extracted.

[0075] (5) Repeat the above steps of calculating the starting address of the first even pixel of the new row and extracting the pixels of the new row located in the even columns, traversing all rows of the image data to be processed, and completing the extraction of all even pixels.

[0076] (6) Write all extracted even pixels into the corresponding output data target address.

[0077] In this embodiment, if Figure 2D As shown in FIG. 1 , a pixel distribution diagram after even pixels are extracted from the image data to be processed in an embodiment of the present invention is shown. Figure 2E As shown in FIG. 1 , a schematic diagram of the process of extracting uniform pixels from the image data to be processed in an embodiment of the present invention is shown. Figure 2F As shown, it is a final effect diagram after even pixels are extracted from the image data to be processed in an embodiment of the present invention.

[0078] In this embodiment, if Figure 2A As shown in the figure, the image data to be processed is an 8×5 image, each row has 8 pixels, the pixels in the 1st, 3rd, 5th, and 7th columns are odd pixels, and the pixels in the 2nd, 4th, 6th, and 8th columns are even pixels, where X is an odd pixel and O is an even pixel. If the downsampling multiple is 2, only even pixels are extracted, and the pixels in the odd columns of each row will be discarded, that is, starting from the first even pixel in each row, every other pixel is taken, and only the pixels in the 2nd, 4th, 6th, and 8th columns are retained, and the pixels in the 1st, 3rd, 5th, and 7th columns are discarded.

[0079] In this embodiment, if Figure 2D-2F As shown, unlike extracting odd pixels, the starting address of extraction is the second pixel starting from the starting address of the first row of memory of the image data to be processed, that is, the even pixels. Starting from the second pixel of the first row, even pixels of each row are extracted. Taking the sampling multiple of 2 as an example, the starting address of the first row of memory is shifted backward by an offset of one pixel to obtain the starting address of the first even pixel in the first row, where the offset of one pixel depends on the memory size occupied by each pixel in the memory. The starting address of the first row of memory is shifted backward by an offset of one pixel as the starting address for extracting even pixels in the first row. When extracting even pixels in the first row, as shown in FIG. Figure 2E As shown in (a), starting from the position of the first even pixel in the first row, the pixels in the 3rd, 5th, and 7th columns of the first row and the pixels in the 1st column of the second row are discarded, and the pixels in the 2nd, 4th, 6th, and 8th columns of the first row are retained. In this way, all even pixels in the first row of the image data to be processed are obtained. When extracting even pixels in the second row, as shown in Figure 2EAs shown in (b), the starting address of the first even pixel in the first row is moved backward by the size of the single row spacing, that is, the starting address of the first even pixel in the first row is added with a single row spacing to obtain the starting address of the first even pixel in the second row, which is used as the starting address of even pixels extracted in the second row. Starting from the position of the first even pixel in the second row, the pixels in the 3rd, 5th, and 7th columns of the second row and the pixels in the 1st column of the third row are discarded, and the pixels in the 2nd, 4th, 6th, and 8th columns of the second row are retained. In this way, all even pixels in the first row of the image data to be processed are obtained. In this way, after processing a row, the single row spacing size is moved backward based on the previous row as the starting address of the next row. This process is repeated, and processing is performed row by row, and finally all even pixels in the image data to be processed are obtained, as shown in FIG. Figure 2F Finally, all the extracted even pixels are written to the corresponding output data target addresses.

[0080] In this embodiment, based on the memory starting address of the first line of the image data to be processed, the starting address of the first even pixel in the first line of the image data to be processed can be calculated, and according to the single-line spacing and the downsampling multiple, by continuously moving the starting address and processing new lines, all lines of the image data to be processed are traversed to complete the extraction of all even pixels.

[0081] It is worth noting that in the odd and even pixel separation device combined with software and hardware in the present invention, the central processor only needs to simply configure the odd and even pixel separation parameters of the graphics accelerator, and can separate the odd and even pixels through the built-in downsampling and scaling function of the graphics accelerator. The central processor does not participate in the specific operation of separation, which greatly saves CPU resources and improves CPU utilization and real-time performance, which is mainly reflected in the following aspects:

[0082] (1) The present invention greatly reduces the burden on the CPU by transferring the task of separating odd and even pixels to the graphics accelerator for processing. The CPU only needs to perform simple parameter configuration and result reception, thereby having more resources to execute other critical or complex computing tasks. This collaborative working mode fully utilizes the performance advantages of the graphics accelerator while retaining the flexibility and programmability of the CPU, thereby improving the response speed and efficiency of the overall system.

[0083] (2) By assigning the task of odd and even pixel separation to the graphics accelerator and combining it with the hardware acceleration capability of the graphics accelerator, not only can the algorithm complexity be simplified and a large amount of CPU resources be saved, but the processing speed can also be significantly accelerated and the processing time can be reduced, making real-time image processing possible.

[0084] (3) Since graphics accelerators are more professional and efficient in processing graphics tasks, handing over the task of odd and even pixel separation to them can help reduce problems such as system crashes or performance degradation caused by CPU overload, thereby enhancing system stability and reliability.

[0085] It should be understood that when performing odd and even pixel separation in any of the odd and even pixel separation devices combined with software and hardware provided in the above embodiments, only the division of the above program modules is used as an example. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the system can be divided into different program modules to complete all or part of the above-described processing. The present invention is not limited to this.

[0086] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" represent examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0087] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, ab, ac, bc or abc, where a, b, c can be single or multiple.

[0088] Figure 3 1 is a flow chart of a method for separating odd and even pixels using a combination of software and hardware provided in an embodiment of the present application. Figure 3 As shown, the software-hardware combined odd and even pixel separation method is applied to the software-hardware combined odd and even pixel separation device as described above, the software-hardware combined odd and even pixel separation device comprises a central processing unit and a graphics accelerator connected to the central processing unit in communication; the method comprises the following steps:

[0089] S301: The central processing unit obtains the image data to be processed, and parses the first row memory start address and the single row spacing of the image data to be processed; and configures the odd and even pixel separation parameters for the graphics accelerator according to the first row memory start address and the single row spacing of the image data to be processed.

[0090] S302: The central processing unit sends a start signal to the graphics accelerator.

[0091] S303: The graphics accelerator receives a start signal and performs an odd-even pixel separation operation on the image data to be processed using a downsampling scaling function according to the odd-even pixel separation parameters configured by the central processor; the odd-even pixel separation operation includes an odd pixel extraction operation and an even pixel extraction operation.

[0092] In this embodiment, the graphics accelerator extracts odd pixels in a manner including: obtaining the starting address of the pixels in the current row according to the memory starting address of the first row of the image data to be processed and the unit row spacing; extracting the pixels in the current row located in odd columns in sequence according to the starting address of the pixels in the current row and the downsampling multiple; calculating the starting address of the pixels in the next row according to the starting address of the pixels in the current row and the single row spacing, and extracting the pixels in the next row located in odd columns; repeating the above steps of calculating the starting address of the pixels in the new row and extracting the pixels in the new row located in odd columns, traversing all rows of the image data to be processed, and completing the extraction of all odd pixels; and writing all the extracted odd pixels into the corresponding output data target address.

[0093] In this embodiment, the graphics accelerator extracts even pixels in a manner including: calculating the starting address of the first even pixel in the first row of the image data to be processed according to the starting address of the first row of the memory; calculating the starting address of the first even pixel in the current row according to the starting address of the first even pixel in the first row of the image data to be processed and the line spacing of a single row; sequentially extracting pixels in the current row located in even columns according to the starting address of the first even pixel in the current row and the downsampling multiple; calculating the starting address of the first even pixel in the next row according to the starting address of the first even pixel in the current row and the line spacing of a single row, and extracting pixels in the next row located in even columns; repeating the above steps of calculating the starting address of the first even pixel in the new row and extracting pixels in the new row located in even columns, traversing all rows of the image data to be processed, and completing the extraction of all even pixels; and writing all the extracted even pixels into the corresponding output data target address.

[0094] The odd and even pixel separation method combining software and hardware provided in the above embodiment is applied to the odd and even pixel separation device combining software and hardware as described above, and has the same concept as the device embodiment. The specific implementation process is detailed in the system embodiment and will not be repeated here.

[0095] Figure 4 is a schematic block diagram of an electronic terminal provided in an embodiment of the present application. Figure 4As shown, the electronic terminal includes: at least one processor 401, a memory 402, at least one network interface 403 and a user interface 405. The various components in the device are coupled together through a bus system 404. It can be understood that the bus system 404 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 404 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 4 In the specification, various buses are labeled as bus systems.

[0096] The user interface 405 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.

[0097] It is understood that the memory 402 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.

[0098] The memory 402 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic terminal 400. Examples of these data include: any executable program for operating on the electronic terminal 400, such as an operating system 4021 and an application 4022; the operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 4022 may include various applications, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. The odd and even pixel separation method combining software and hardware provided in the embodiment of the present invention may be included in the application 4022.

[0099] The method disclosed in the above embodiment of the present invention can be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 401 or the instruction in the form of software. The above processor 401 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 401 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 401 may be a microprocessor or any conventional processor, etc. In combination with the steps of the accessory optimization method provided in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0100] In an exemplary embodiment, the electronic terminal 400 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD) to execute the aforementioned method.

[0101] According to the method provided in the embodiment of the present application, the present application also provides a computer-readable storage medium, which stores a program code, and when the program code is run on a computer, the computer executes Figure 3 A method according to any one of the embodiments shown.

[0102] According to the method provided in the embodiment of the present application, the present application also provides a computer program product, which includes: a computer program code, when the computer program code is run on a computer, the computer executes Figure 3 A method according to any one of the embodiments shown.

[0103] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program and / or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process and / or an execution thread, and a component may be located on a computer and / or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may, for example, communicate through local and / or remote processes according to signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system and / or a network, such as the Internet interacting with other systems through signals).

[0104] Those of ordinary skill in the art will appreciate that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0105] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0106] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0107] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0108] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0109] In the above embodiments, the functions of each functional unit can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (programs). When loading and executing computer program instructions (programs) on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integrations. Available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., high-density digital video discs (DVDs), or semiconductor media (e.g., solid state disks (SSDs), etc.).

[0110] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0111] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0112] In summary, the present application provides an odd-even pixel separation device, method, medium and terminal that combines software and hardware. The odd-even pixel separation parameters are configured on the graphics accelerator by the central processor, and the built-in downsampling and scaling function of the graphics accelerator is used to efficiently complete the odd-even pixel separation. This implementation method not only simplifies the algorithm complexity, saves a lot of CPU resources, but also improves the processing speed, making real-time image processing possible. Therefore, the present invention is based on the combination of software and hardware, assigns complex image processing tasks to a dedicated graphics accelerator, combines the hardware acceleration capability of the graphics accelerator, and realizes the odd-even pixel separation function, while the central processor is responsible for higher-level control and scheduling tasks. This collaborative working method gives full play to the performance advantages of the graphics accelerator, while also retaining the flexibility and programmability of the CPU, and solves the problem of resource waste and low efficiency caused by the traditional odd-even pixel separation method being overly dependent on the CPU. Therefore, the present application effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.

[0113] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A software-hardware combined odd and even pixel separation device, characterized in that: include: A central processing unit and a graphics accelerator in communication with the central processing unit, wherein: A central processing unit, configured to obtain image data to be processed, and parse out the memory start address of the first row and the line spacing of a single row of the image data to be processed; and configure odd and even pixel separation parameters for the graphics accelerator according to the memory start address of the first row and the line spacing of a single row of the image data to be processed; The graphics accelerator is used to perform an odd-even pixel separation operation on the image data to be processed by using a downsampling scaling function according to the odd-even pixel separation parameters configured by the central processing unit; the odd-even pixel separation operation includes an odd pixel extraction operation and an even pixel extraction operation.

2. The odd and even pixel separation device combining software and hardware according to claim 1, characterized in that: The graphics accelerator includes a register and a processing unit electrically connected to the register, wherein the register and the processing unit are respectively connected to the central processing unit for communication; the register is configured to set an odd-even pixel separation parameter; when the processing unit receives a start signal sent by the central processing unit, the processing unit performs an odd-even pixel separation operation on the image data to be processed according to the set odd-even pixel separation parameter using a downsampling scaling function.

3. The odd and even pixel separation device combining software and hardware according to claim 2, characterized in that: The manner of setting the odd and even pixel separation parameters by configuring the register includes any one or more of the following combinations: (1) configuring the memory start address of the first row of the image data to be processed in the register; (2) configuring the downsampling multiple of the image data to be processed in a register; (3) configuring a single line spacing of the image data to be processed in a register; (4) configuring multiple output data target addresses in the register; (5) The size and format of the image data to be processed are configured in a register.

4. The odd and even pixel separation device combining software and hardware according to claim 3, characterized in that: The method of extracting odd pixel operation includes: According to the memory start address of the first row of the image data to be processed and the unit row spacing, the start address of the pixels in the current row is obtained; According to the starting address of the pixels in the current row and the downsampling multiple, the pixels in the odd columns of the current row are extracted in sequence; According to the starting address of the pixels in the current row and the single-row spacing, the starting address of the pixels in the next row is calculated, and the pixels in the next row located in the odd-numbered columns are extracted; Repeat the above steps of calculating the starting address of the new row of pixels and extracting the pixels of the new row located in odd columns, traversing all rows of the image data to be processed, and completing the extraction of all odd pixels; Write all the extracted odd pixels into the corresponding output data target addresses.

5. The odd and even pixel separation device combining software and hardware according to claim 3, characterized in that: The method of extracting the same pixel operation includes: According to the memory start address of the first row of the image data to be processed, the start address of the first even pixel in the first row of the image data to be processed is calculated; The starting address of the first even pixel in the first line of the image data to be processed and the line spacing of a single line are calculated to obtain the starting address of the first even pixel in the current line; According to the starting address of the first even pixel in the current row and the downsampling multiple, the pixels in the even columns of the current row are extracted in sequence; According to the starting address of the first even pixel in the current row and the single-row spacing, the starting address of the first even pixel in the next row is calculated, and the pixels in the even columns of the next row are extracted; Repeat the above steps of calculating the starting address of the first even pixel of the new row and extracting the pixels of the new row located in the even columns, traversing all rows of the image data to be processed, and completing the extraction of all even pixels; Write all extracted even pixels to the corresponding output data target addresses.

6. A software-hardware combined odd and even pixel separation method, applied to the software-hardware combined odd and even pixel separation device as claimed in any one of claims 1 to 5, characterized in that: The method comprises: The central processing unit obtains the image data to be processed, and parses the memory start address of the first line and the line spacing of the image data to be processed; and configures the odd and even pixel separation parameters for the graphics accelerator according to the memory start address of the first line and the line spacing of the image data to be processed; The central processing unit sends a start signal to the graphics accelerator; The graphics accelerator receives a start signal and performs an odd-even pixel separation operation on the image data to be processed using a downsampling scaling function according to the odd-even pixel separation parameters configured by the central processor; the odd-even pixel separation operation includes an odd pixel extraction operation and an even pixel extraction operation.

7. The software-hardware combined odd and even pixel separation method according to claim 6, characterized in that: The method of extracting odd pixel operation includes: According to the memory start address of the first row of the image data to be processed and the unit row spacing, the start address of the pixels in the current row is obtained; According to the starting address of the pixels in the current row and the downsampling multiple, the pixels in the odd columns of the current row are extracted in sequence; According to the starting address of the pixels in the current row and the single-row spacing, the starting address of the pixels in the next row is calculated, and the pixels in the next row located in the odd-numbered columns are extracted; Repeat the above steps of calculating the starting address of the new row of pixels and extracting the pixels of the new row located in odd columns, traversing all rows of the image data to be processed, and completing the extraction of all odd pixels; Write all the extracted odd pixels into the corresponding output data target addresses.

8. The software-hardware combined odd and even pixel separation method according to claim 6, characterized in that: The method of extracting the same pixel operation includes: According to the memory start address of the first row of the image data to be processed, the start address of the first even pixel in the first row of the image data to be processed is calculated; The starting address of the first even pixel in the first line of the image data to be processed and the line spacing of a single line are calculated to obtain the starting address of the first even pixel in the current line; According to the starting address of the first even pixel in the current row and the downsampling multiple, the pixels in the even columns of the current row are extracted in sequence; According to the starting address of the first even pixel in the current row and the single-row spacing, the starting address of the first even pixel in the next row is calculated, and the pixels in the even columns of the next row are extracted; Repeat the above steps of calculating the starting address of the first even pixel of the new row and extracting the pixels of the new row located in the even columns, traversing all rows of the image data to be processed, and completing the extraction of all even pixels; Write all extracted even pixels to the corresponding output data target addresses.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the software-hardware combined odd and even pixel separation method according to any one of claims 6 to 8 is implemented.

10. An electronic terminal comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the software-hardware combined odd and even pixel separation method according to any one of claims 6 to 8.

Citation Information

Patent Citations

  • Ultra-high-definition image processing method and device

    CN104144310A

  • Image processing method and device, terminal equipment and storage medium

    CN111915673A

  • Image zooming method, image zooming device and terminal equipment

    CN112215751A

  • Image histogram generation method and device, electronic equipment and storage medium

    CN114862659A

  • CT (Computed Tomography) reconstruction method and device for high-pixel image and storage medium

    CN116363247A