Image scaling method, device, sending card and medium in LED sending card
By using the bilinear interpolation formula with preset amplification coefficient and precision compensation in the LED synchronization sending card for image scaling, the problem of large calculation amount and excessive resource usage is solved, efficient image scaling is achieved, the cost is reduced and the efficiency is improved. Product competitiveness.
Patent Information
- Application Number
- CN202410851722.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-28
AI Technical Summary
In LED synchronous sending cards, when using bilinear interpolation method for image scaling, the calculation amount is large and it takes up too many resources, resulting in increased costs. Moreover, commonly used synchronous sending cards with the same cost and load capacity usually do not have the scaling function.
The bilinear interpolation formula is amplified through the preset amplification coefficient, and accuracy compensation is performed based on the width ratio remainder and height ratio remainder between the source image and the target image. The compensated formula is used for image scaling, reducing the amount of calculation and resource usage.
Implementing better bilinear interpolation image scaling on the main control FPGA chip of the LED synchronization sending card reduces costs, improves product competitiveness, and avoids the need for additional image processing chips or FPGAs.
Smart Images

Figure CN118396843B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of image processing technology, and in particular to an image scaling method, device, sending card and medium in an LED sending card. Background Art
[0002] When using LED synchronous sending cards, such as synchronous sending cards with a total load of 1.3 million points or 2.6 million points, the image zoom function is usually required. Generally, the zooming based on the bilinear interpolation method can be used. Since there is no floating-point operation on the FPGA, the parameters are often magnified many times. In this way, if you want to fully realize the zooming, the amount of calculation will be relatively large, which will occupy a lot of resources, and the remaining resources of the main control FPGA chip of the synchronous sending card cannot meet it. At this time, it is usually necessary to use an additional external image processing chip or use an extra FPGA to specifically process the bilinear interpolation algorithm, which greatly increases the cost. The neighboring interpolation method can also be used to achieve image zooming. Although it occupies less resources, the effect is very poor. Summary of the invention
[0003] The embodiments of the present invention provide an image scaling method, device, sending card and medium in an LED sending card, so as to reduce the amount of calculation in the image scaling process on the basis of adopting a bilinear interpolation method with better effect, thereby reducing resource occupation and reducing the cost of the synchronous sending card.
[0004] In a first aspect, an embodiment of the present invention provides an image scaling method in an LED sending card, the method comprising:
[0005] Get the source image data input by the data source;
[0006] A bilinear interpolation formula is amplified using a preset amplification factor to obtain an amplified formula, wherein the bilinear interpolation formula is used to determine the coordinate value of the corresponding reference pixel point participating in the interpolation calculation in the source image according to the coordinate value of the pixel point to be processed in the target image;
[0007] Performing precision compensation on the amplified formula according to a width ratio remainder and a height ratio remainder between the source image and the target image to obtain a compensated formula;
[0008] The target image is obtained by adopting a bilinear interpolation method and performing image scaling according to the source image data based on the compensated formula.
[0009] Optionally, the bilinear interpolation formula adopts a geometric center point coincidence correspondence formula.
[0010] Optionally, the compensation formula is:
[0011] Dx=((Sw*N) / desw*desx) / N+Tw*desx+Tw / 2-N / 2;
[0012] Dy=((Sh*N) / desh*desy) / N+Th*desy+Th / 2-N / 2;
[0013] Among them, Dx represents the calculated value of the X-axis coordinate of the reference pixel point, Dy represents the calculated value of the Y-axis coordinate of the reference pixel point, Sw represents the remainder of the width ratio after being magnified N times, Sh represents the remainder of the height ratio after being magnified N times, Tw represents the integer part of the width ratio after being magnified N times, Th represents the integer part of the height ratio after being magnified N times, N represents the preset magnification factor, desw represents the width of the target image, desh represents the height of the target image, desx represents the X-axis coordinate value of the pixel point to be processed, and desy represents the Y-axis coordinate value of the pixel point to be processed.
[0014] Optionally, the adopting bilinear interpolation method, based on the compensated formula, performing image scaling according to the source image data to obtain the target image includes:
[0015] The calculated value of the coordinates of the reference pixel point calculated based on the compensated formula is stored in the first bit width data; the first high bit of the first bit width data is determined according to the maximum width and height of the target image, and is used to store the corresponding integer part of the calculated value of the coordinates of the reference pixel point that has not been magnified by the preset magnification factor; the first low bit of the first bit width data is determined according to the preset magnification factor, and is used to store the corresponding decimal part of the calculated value of the coordinates of the reference pixel point that has been magnified by the preset magnification factor;
[0016] Determine interpolation calculation formula parameters according to the reference pixel point coordinate calculation value stored in the first bit width data, and determine the pixel value of the reference pixel point according to the interpolation calculation formula parameters and the source image data;
[0017] Interpolation calculation is performed according to the pixel value of the reference pixel point and the interpolation calculation formula parameters, and the pixel calculation value of the pixel point to be processed is obtained and stored in the second bit-width data; the second high bit of the second bit-width data is determined according to the bit width of the single color component of the pixel, and is used to store the single color component of the pixel value of the pixel point to be processed, and the second low bit of the second bit-width data is determined according to the preset amplification factor.
[0018] Optionally, before the step of using the bilinear interpolation method and performing image scaling according to the source image data based on the compensated formula to obtain the target image, the step further includes:
[0019] storing the source image data in a plurality of RAMs in sequence by row;
[0020] The method of using bilinear interpolation method, based on the compensated formula, and performing image scaling according to the source image data to obtain the target image includes:
[0021] The Y-axis coordinate calculation value of the reference pixel point is calculated based on the compensated formula;
[0022] Determine the target RAM where the reference pixel point is located according to the calculated value of the Y-axis coordinate of the reference pixel point;
[0023] The calculated value of the X-axis coordinate of the reference pixel point is calculated based on the compensated formula;
[0024] The pixel value of the reference pixel point is read from the target RAM according to the calculated value of the X-axis coordinate of the reference pixel point to perform interpolation calculation.
[0025] Optionally, the step of reading the pixel value of the reference pixel point from the target RAM according to the calculated value of the X-axis coordinate of the reference pixel point to perform interpolation calculation includes:
[0026] Reading pixel values of a plurality of reference pixels from each target RAM in each clock cycle, the output bit width of the RAM being set according to the number of reads in a single cycle;
[0027] Correspondingly, the calculation value of the X-axis coordinate of the reference pixel point is obtained based on the compensated formula, including:
[0028] One or more sets of compensated formulas are used to calculate the corresponding X-axis coordinate calculation values of one or more reference pixel points according to the single-cycle reading quantity.
[0029] In a second aspect, an embodiment of the present invention further provides an image scaling device in an LED sending card, the device comprising:
[0030] A source image data acquisition module is used to acquire source image data input by a data source;
[0031] A formula magnification module, used to magnify the bilinear interpolation formula using a preset magnification factor to obtain an amplified formula, wherein the bilinear interpolation formula is used to determine the coordinate values of the corresponding reference pixel points participating in the interpolation calculation in the source image according to the coordinate values of the pixel points to be processed in the target image;
[0032] A formula compensation module, used for performing precision compensation on the amplified formula according to a width ratio remainder part and a height ratio remainder part between the source image and the target image to obtain a compensated formula;
[0033] The image scaling module is used to adopt a bilinear interpolation method, based on the compensated formula, perform image scaling according to the source image data to obtain the target image.
[0034] In a third aspect, an embodiment of the present invention further provides an LED synchronous transmission card, the LED synchronous transmission card comprising:
[0035] one or more processors;
[0036] A memory for storing one or more programs;
[0037] When the one or more programs are executed by the one or more processors, the one or more processors implement the image scaling method in the LED sending card provided in any embodiment of the present invention.
[0038] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the image scaling method in the LED sending card provided in any embodiment of the present invention is implemented.
[0039] In a fifth aspect, an embodiment of the present invention further provides a computer program product, which includes a computer program, and when the program is executed by a processor, the image scaling method in the LED sending card provided in any embodiment of the present invention is implemented.
[0040] The embodiment of the present invention provides an image scaling method in an LED sending card, firstly obtaining source image data inputted by a data source, then amplifying the bilinear interpolation formula to be used for image scaling by using a preset magnification factor, and then performing precision compensation on the amplified formula according to the width ratio remainder and the height ratio remainder between the source image before scaling and the target image after scaling, thereby using the bilinear interpolation method, and performing image scaling according to the source image data based on the compensated formula to obtain the target image. The image scaling method in an LED sending card provided by the embodiment of the present invention can use a smaller magnification factor by performing image scaling using the bilinear interpolation formula after precision compensation, thereby reducing the amount of calculation, i.e., reducing the amount of resource occupation, while ensuring a good scaling effect, and further directly realizing image scaling based on the bilinear interpolation method with a good effect on the main control FPGA chip in the LED synchronous sending card, such as a synchronous sending card with a total load of 1.3 million dots or 2.6 million dots, without the need to add an additional chip or FPGA specifically for image processing, thereby reducing the cost of the synchronous sending card and improving the product competitiveness. Currently, the commonly used synchronous sending cards with the same cost and load capacity usually do not have a scaling function. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1A flowchart of an image scaling method in an LED sending card provided in Embodiment 1 of the present invention;
[0042] Figure 2 A schematic diagram of an interpolation calculation process provided in Embodiment 1 of the present invention;
[0043] Figure 3 A schematic diagram of the structure of an image scaling device in an LED sending card provided in Embodiment 2 of the present invention;
[0044] Figure 4 This is a structural diagram of an LED synchronous sending card provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0045] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0046] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0047] Embodiment 1
[0048] Figure 1 This is a flow chart of the image scaling method in the LED sending card provided in the first embodiment of the present invention. This embodiment is applicable to the case where the image scaling function based on the bilinear interpolation method is implemented in the LED synchronous sending card in a low-cost manner. The method can be executed by the image scaling device in the LED sending card provided in the embodiment of the present invention. The device can be implemented by hardware and / or software, and can generally be integrated in the LED synchronous sending card. Figure 1 As shown, the specific steps include:
[0049] S11. Acquire source image data input by a data source.
[0050] Specifically, any data source supported by the synchronous sending card can be connected to obtain the source image data to be scaled. Optionally, after obtaining the source image data, the source image data can be first converted to the clock domain. Due to the influence of EDID, the clock of the data source is not fixed. When the clock of the data source is a low-frequency clock, the image magnification operation will increase the number of pixels in the output image. The low-frequency clock will lead to insufficient code efficiency. Therefore, the clock domain of the data source can be used without using the clock domain of the source image data, and the clock domain of the source image data can be converted to the local. After completing the clock domain conversion, the source image data can be used for the subsequent bilinear interpolation scaling process.
[0051] S12. A bilinear interpolation formula is amplified using a preset amplification factor to obtain an amplified formula, wherein the bilinear interpolation formula is used to determine the coordinate values of the corresponding reference pixel points participating in the interpolation calculation in the source image according to the coordinate values of the pixel points to be processed in the target image.
[0052] Among them, the preset magnification factor can be a specified small magnification, and the value is a power of 2. The specific value can be set according to the bilinear interpolation formula amplified by the preset magnification factor, which can be calculated by the remaining resources of the main control FPGA chip as a standard. Exemplarily, the preset magnification factor can be 16-256, preferably 256. The value of the preset magnification factor will affect the DSP resource usage of the multiplier during the calculation process. The preset magnification factor less than or equal to 256 can ensure that the DSP resource usage of each multiplier is 1, and the preset magnification factor greater than 256 can make the calculation more accurate, but it will increase the DSP resource usage of the multiplier. In the case of subsequent precision compensation calculations, a preset magnification factor as low as 16 can still guarantee a certain scaling effect, but since the DSP resource usage of the preset magnification factor multipliers of 16-256 is 1, it is preferably 256 to obtain a better effect.
[0053] The bilinear interpolation formula used can adopt a basic formula. Preferably, the bilinear interpolation formula adopts a geometric center point coincidence corresponding formula to further enhance the scaling effect. The bilinear interpolation formula is used to determine the coordinate values of the reference pixel points in the source image that need to participate in the interpolation calculation according to the coordinate values of the processed pixel points to be output in the target image. Generally, when the bilinear interpolation method is used, the number of reference pixel points required is 4. Specifically, the reference pixel point coordinate calculation value can be obtained according to the bilinear interpolation formula, and then the first reference pixel point can be determined according to the integer part of the reference pixel point coordinate calculation value, and then the other three reference pixel points are obtained by adding one to the X-axis, one to the Y-axis, and one to the X-axis and Y-axis of the reference pixel point. Among them, the basic formula is:
[0054] srcx=desx*srcw / desw;
[0055] srcy=desy*srch / desh;
[0056] Among them, srcx represents the calculated value of the X-axis coordinate of the reference pixel point under the basic formula, srcy represents the calculated value of the Y-axis coordinate of the reference pixel point under the basic formula, desx represents the X-axis coordinate value of the pixel point to be processed, desy represents the Y-axis coordinate value of the pixel point to be processed, srcw represents the width of the source image, srch represents the height of the source image, desw represents the width of the target image, and desh represents the height of the target image.
[0057] The corresponding formula for the coincidence of geometric center points is:
[0058] srcx=(desx+0.5)*srcw / desw-0.5;
[0059] srcy=(desy+0.5)*srch / desh-0.5;
[0060] Correspondingly, at this time, srcx represents the calculated value of the X-axis coordinate of the reference pixel point under the corresponding formula of the geometric center point coincidence, srcy represents the calculated value of the Y-axis coordinate of the reference pixel point under the corresponding formula of the geometric center point coincidence, and the others are the same as the basic formula. Since there are no decimals in the FPGA, it is necessary to use the preset magnification factor to magnify the bilinear interpolation formula before use, that is, multiply both sides of the equation by the preset magnification factor at the same time to obtain the amplified formula. At the same time, due to the subsequent precision compensation, a smaller preset magnification factor can be used compared to the traditional solution.
[0061] S13, performing precision compensation on the enlarged formula according to a width ratio remainder part and a height ratio remainder part between the source image and the target image to obtain a compensated formula.
[0062] Specifically, for the specified image scaling process, the sizes of the source image and the target image are determined, that is, in the bilinear interpolation formula, the width and height of the source image, the width and height of the target image, and the preset magnification factor are all fixed values, so this part can be calculated separately for use. Specifically, the (srcw / desw)*N and (srch / desh)*N (fixed parts) in the formula after magnification can be calculated, where N represents the preset magnification factor. Further, Tw can be set to represent ⌊srcw / desw⌋*N, that is, the integer part of the width after N times magnification, Th can represent ⌊srch / desh⌋*N, that is, the integer part of the height after N times magnification, Sw can represent (srcw%desw)*N, that is, the remainder part of the width after N times magnification, and Sh can represent (srch%desh)*N, that is, the remainder part of the height after N times magnification. That is, in the process of calculating the above fixed part, the integer part and the remainder part of srcw / desw and srch / desh can be considered at the same time, without completely enlarging srcw / desw and srch / desh to integers through a preset enlargement factor, and the accuracy of the enlarged formula can be compensated according to the width ratio and the height ratio to the remainder to obtain the compensated formula. Specifically, Tw, Sw, Th and Sh can be substituted into the enlarged formula to obtain the compensated formula. Optionally, when the corresponding formula of the geometric center point coincidence is used, the compensated formula is:
[0063] Dx=((Sw*N) / desw*desx) / N+Tw*desx+Tw / 2-N / 2;
[0064] Dy=((Sh*N) / desh*desy) / N+Th*desy+Th / 2-N / 2;
[0065] Wherein, Dx represents the calculated value of the X-axis coordinate of the reference pixel (under the compensated formula), Dy represents the calculated value of the Y-axis coordinate of the reference pixel (under the compensated formula), Sw represents the remainder of the width ratio after being magnified N times, Sh represents the remainder of the height ratio after being magnified N times, Tw represents the integer part of the width ratio after being magnified N times, Th represents the integer part of the height ratio after being magnified N times, N represents the preset magnification factor, desw represents the width of the target image, desh represents the height of the target image, desx represents the X-axis coordinate value of the pixel to be processed, and desy represents the Y-axis coordinate value of the pixel to be processed. In the compensated formula, considering that if the remainder of the height ratio or the remainder of the width ratio is directly divided by the height and width of the target image, the value will be too small, that is, it cannot be correctly involved in the calculation process, so it is chosen to enlarge the remainder of the height ratio and the remainder of the width ratio by N times before calculation, and then divide it back to N to obtain the correct value. Assuming that the preset magnification factor is 256, the scaling calculation process can use fewer resources, but will lose precision. Through the above-mentioned compensation formula, the precision is compensated by the remainder part, that is, the calculation precision requirement can be met while using fewer resources.
[0066] S14. Using a bilinear interpolation method, based on the compensated formula, image scaling is performed according to the source image data to obtain the target image.
[0067] Specifically, after obtaining the compensated formula, the compensated formula can be used to replace the original bilinear interpolation formula for image scaling based on the existing bilinear interpolation method to obtain the desired target image. Specifically, for each pixel to be processed in the target image, the compensated formula can be used to calculate the reference pixel coordinate calculation value, and then the four reference pixels corresponding to the interpolation calculation are determined according to the reference pixel coordinate calculation value, and the pixel value of each reference pixel is determined according to the source image data. At the same time, the decimal part required in the interpolation calculation formula (that is, the offset of the virtual pixel corresponding to the reference pixel coordinate calculation value relative to the specified reference pixel) can be determined according to the reference pixel coordinate calculation value, so that the interpolation calculation formula can be used to calculate the pixel value of the pixel to be processed according to the decimal part, the coordinate values of the four reference pixels and the pixel value.
[0068] On the basis of the above technical solution, optionally, the bilinear interpolation method is used, based on the compensated formula, to perform image scaling according to the source image data to obtain the target image, including: calculating the reference pixel point coordinate calculation value based on the compensated formula and storing it in the first bit width data; the first high bit of the first bit width data is determined according to the maximum width and height of the target image, and is used to store the corresponding integer part of the reference pixel point coordinate calculation value that has not been magnified by the preset magnification factor; the first low bit of the first bit width data is determined according to the preset magnification factor, and is used to store the corresponding integer part of the reference pixel point coordinate calculation value that has not been magnified by the preset magnification factor. The decimal part is amplified by a large coefficient; interpolation calculation formula parameters are determined according to the coordinate calculation value of the reference pixel point stored in the first bit width data, and the pixel value of the reference pixel point is determined according to the interpolation calculation formula parameters and the source image data; interpolation calculation is performed according to the pixel value of the reference pixel point and the interpolation calculation formula parameters, and the pixel calculation value of the pixel point to be processed is obtained and stored in the second bit width data; the second high bit of the second bit width data is determined according to the bit width of the single color component of the pixel, and is used to store the single color component of the pixel value of the pixel point to be processed, and the second low bit of the second bit width data is determined according to the preset amplification coefficient.
[0069] Specifically, the reference pixel point coordinate calculation value (such as Dx and Dy mentioned above) is calculated based on the compensated formula. The calculation process is performed after amplifying the preset magnification factor. The total bit width may depend on the maximum parameter supported by the target image and the selected preset magnification factor. After determining the corresponding first bit width (i.e., the total bit width required for the reference pixel point coordinate calculation value), the calculated reference pixel point coordinate calculation value may be stored in the first bit width data. Specifically, the X-axis coordinate calculation value and the Y-axis coordinate calculation value may be stored in their respective first bit width data. Exemplarily, the maximum width and height of the scaled target image are both 3840, and 2 to the power of 12 is 4096, which is greater than 3840. At the same time, the preset magnification factor is selected as 256, that is, 2 to the power of 8, then the first bit width can be set to 12+8=20, wherein the first high bit (that is, the high 12 bits) stores the value of the integer part of the reference pixel coordinate calculation value (Dx or Dy) that has not been magnified by the preset magnification factor (that is, the integer part of the reference pixel coordinate calculation value after being reduced by 256 times, that is, the integer part of the reference pixel coordinate theoretical calculation value), and the first low bit (that is, the low 8 bits) stores the value of the decimal part of the reference pixel coordinate calculation value (Dx or Dy) that has not been magnified by the preset magnification factor (that is, the integer part of the reference pixel coordinate calculation value after being reduced by 256 times, that is, the integer part of the reference pixel coordinate theoretical calculation value).
[0070] After obtaining the reference pixel coordinate calculation value, the interpolation calculation formula parameters can be determined according to the reference pixel coordinate calculation value stored in the first bit width data, such as the coordinate values of the above four reference pixels and the decimal part required in the interpolation calculation formula. Exemplarily, the reference pixel coordinate calculation value includes the X-axis coordinate calculation value Dx and the Y-axis coordinate calculation value Dy, and x=Dx decimal assignment (the first low-order data in the first bit width data corresponding to Dx), y=Dy decimal assignment (the first low-order data in the first bit width data corresponding to Dy), x1=Dx integer assignment (the data after the first low-order position is zeroed in the first bit width data corresponding to Dx), y1=Dy integer assignment (the data after the first low-order position is zeroed in the first bit width data corresponding to Dy), then the required decimal parts x and y can be obtained, the first reference pixel coordinate is (x1, y1), and then x2=x1+1, y2=y1+1, and the coordinates of the other three reference pixels can be obtained as (x2, y1), (x1, y2) and (x2, y2). In the source image data, the pixel values f11, f21, f12 and f22 of the corresponding reference pixel points can be found according to the coordinate values. Then the interpolation calculation formula F = f11*(x2-x)*(y2-y)+ f21*(x-x1)*(y2-y)+ f12*(x2-x)*(y-y1)+ f22*(x-x1)*(y-y1) can be substituted for interpolation calculation to obtain the pixel calculation value F of the corresponding pixel point to be processed. In the calculation process, since the interpolation calculation formula parameters x, x1, x2, y, y1 and y2 are all values obtained by magnifying the preset magnification factor, the value calculated by the interpolation calculation formula is magnified by the square of the preset magnification factor. Then the total bit width (i.e., the second bit width) required for the pixel calculation value of the pixel to be processed can be determined according to the pixel single color component bit width and the preset magnification factor. After determining the corresponding second bit width, the calculated pixel calculation value of the pixel to be processed can be stored in the second bit width data. Specifically, the calculated values of each color component (if the output data is in RGB format, it can be obtained by substituting the values of each color component of the reference pixel into the respective interpolation calculation formulas) can be stored in the respective second bit width data. Exemplarily, the preset magnification factor is 256, 256*256=65536, i.e., 2 to the 16th power. At the same time, the pixel single color component bit width of the general output data is 8, then the second bit width can be determined to be 16+8=24, where the second highest bit stores the value of the corresponding color component.
[0071] On the basis of the above technical solution, optionally, before the bilinear interpolation method is used and the compensated formula is used to scale the image according to the source image data to obtain the target image, it also includes: storing the source image data in multiple RAMs in sequence by row; the bilinear interpolation method is used and the compensated formula is used to scale the image according to the source image data to obtain the target image, including: calculating the Y-axis coordinate calculation value of the reference pixel point based on the compensated formula; determining the target RAM where the reference pixel point is located according to the Y-axis coordinate calculation value of the reference pixel point; calculating the X-axis coordinate calculation value of the reference pixel point based on the compensated formula; and reading the pixel value of the reference pixel point from the target RAM according to the X-axis coordinate calculation value of the reference pixel point for interpolation calculation.
[0072] Specifically, Figure 2 As shown, only three RAMs (RAMA, RAMB, RAMC) can be used, each RAM stores a row of source image data, and the count of each row of data is increased by one. The RAM input selection can be performed according to the count value to determine the RAM for storing the next row of source image data. Specifically, it can be stored in three RAMs in sequence by row until the storage is completed, that is, each two consecutive rows are not stored in the same RAM. Then, during the scaling process, the compensated formula can be used to calculate Dy first to obtain the Y-axis coordinate calculation value of the reference pixel point, so that the row where the currently required reference pixel point is located in the source image data can be determined according to the Y-axis coordinate calculation value of the reference pixel point, and then the target RAM where the reference pixel point is stored can be determined by RAM output selection. Then, the compensated formula can be used to calculate Dx to obtain the X-axis coordinate calculation value of the reference pixel point, so that the pixel value of the reference pixel point can be read from the target RAM according to the X-axis coordinate calculation value of the reference pixel point for interpolation calculation, and the pixel value output of the pixel point to be processed can be obtained. Among them, there can be two target RAMs, that is, two rows of data are required for one interpolation calculation, and two pixels are used for each row of data.
[0073] Further optionally, the interpolation calculation is performed by reading the pixel value of the reference pixel point from the target RAM according to the calculated value of the X-axis coordinate of the reference pixel point, including: reading the pixel values of multiple reference pixel points from each target RAM in each clock cycle, and the output bit width of the RAM is set according to the single-cycle reading quantity; accordingly, the calculated value of the X-axis coordinate of the reference pixel point is calculated based on the compensated formula, including: using one or more groups of the compensated formulas to calculate the corresponding one or more calculated values of the X-axis coordinate of the reference pixel point according to the single-cycle reading quantity.
[0074] Specifically, in the interpolation calculation, two rows of four reference pixels are required to calculate the pixel value of a pixel to be processed in the current output. The conventional RAM usage method has 24-bit input and output ports. When each RAM stores a row, two clock cycles are required to read out the two reference pixels in the required row. Under the image magnification operation, the overall number of pixels after magnification increases, and each clock cycle cannot guarantee the output of a pixel to be processed, or only one pixel to be processed is output, resulting in insufficient output efficiency, and the output of a frame of the enlarged image cannot be completed within 16.6 milliseconds, resulting in the current frame not being fully output and the next frame of data has arrived, resulting in image data errors. Then, according to the number of pixels to be processed that are to be calculated in one clock cycle, the pixel values of a specified number (i.e., the number of pixels to be read in a single cycle) of reference pixels can be read from each target RAM in each clock cycle. For example, the pixel values of two reference pixels are read from each target RAM in each clock cycle, and then at most one pixel to be processed can be output in each clock cycle. The pixel values of four reference pixels are read from each target RAM in each clock cycle, and then at most two pixels to be processed can be output in each clock cycle, and so on. At the same time, the DSP resources required for the calculation should also be considered. After each target RAM is determined, the calculation formula for the X-axis coordinates of the reference pixels of the corresponding number of groups can be set according to the number of pixels to be processed that are to be calculated in one clock cycle, and the corresponding number of X-axis coordinate calculation values of the reference pixels are calculated accordingly, so as to perform interpolation calculations of the corresponding number of groups and obtain the output of the corresponding number of pixels to be processed. This can avoid using multiple RAMs to store the same row of data when one or more pixels to be processed are required to be output in one clock cycle, further reducing the occupation of logic resources and DSP resources.
[0075] The output bit width of the RAM can be further set according to the number of single-cycle reads. Specifically, the output bit width can be set to M times the input bit width, where M is the number of single-cycle reads. For example, the widest input source of a synchronous sending card image of 1.3 million dots or 2.6 million dots is generally 3840, so the depth of the write end of the RAM is 3840 and the bit width is 24. When the required number of single-cycle reads is 4, the output bit width can be set to 96 and the depth to 960. At this time, 4 reference pixels can be read out in one clock cycle. Accordingly, two groups of interpolation calculations can be performed on the 4 reference pixels, that is, two groups (that is, the number of groups is half of the number of single-cycle reads) of reference pixel points in the compensation formula can be set accordingly to obtain the corresponding two reference pixel points X-axis coordinate calculation values, so that two groups of reference pixels can be read from the target RAM for interpolation calculations.
[0076] The technical solution provided by the embodiment of the present invention first obtains the source image data input by the data source, and then amplifies the bilinear interpolation formula to be used for image scaling using a preset magnification factor, and then performs precision compensation on the amplified formula according to the width ratio remainder and the height ratio remainder between the source image before scaling and the target image after scaling, thereby using the bilinear interpolation method, and performing image scaling according to the source image data based on the compensated formula to obtain the target image. By using the precision-compensated bilinear interpolation formula for image scaling, a smaller magnification factor can be used, thereby reducing the amount of calculation while ensuring a better scaling effect, that is, reducing the amount of resource occupation, and further directly realizing the image scaling based on the bilinear interpolation method with a better effect on the main control FPGA chip in the LED synchronous sending card, such as the synchronous sending card with a total load of 1.3 million dots or 2.6 million dots, without the need to add an additional chip or FPGA dedicated to image processing, thereby reducing the cost of the synchronous sending card and improving the product competitiveness. The currently commonly used synchronous sending cards with the same cost and load capacity usually do not have a scaling function.
[0077] Embodiment 2
[0078] Figure 3 This is a schematic diagram of the structure of the image scaling device in the LED sending card provided in the second embodiment of the present invention. The device can be implemented by hardware and / or software, and can generally be integrated in the LED synchronous sending card to execute the image scaling method in the LED sending card provided in any embodiment of the present invention. Figure 3 As shown, the device comprises:
[0079] The source image data acquisition module 31 is used to acquire the source image data input by the data source;
[0080] A formula magnification module 32, used to magnify the bilinear interpolation formula using a preset magnification factor to obtain an amplified formula, wherein the bilinear interpolation formula is used to determine the coordinate value of the corresponding reference pixel point participating in the interpolation calculation in the source image according to the coordinate value of the pixel point to be processed in the target image;
[0081] A formula compensation module 33, used for performing precision compensation on the amplified formula according to a width ratio remainder part and a height ratio remainder part between the source image and the target image to obtain a compensated formula;
[0082] The image scaling module 34 is used to perform image scaling according to the source image data by using a bilinear interpolation method based on the compensated formula to obtain the target image.
[0083] The technical solution provided by the embodiment of the present invention first obtains the source image data input by the data source, and then amplifies the bilinear interpolation formula to be used for image scaling using a preset magnification factor, and then performs precision compensation on the amplified formula according to the width ratio remainder and the height ratio remainder between the source image before scaling and the target image after scaling, thereby using the bilinear interpolation method, and performing image scaling according to the source image data based on the compensated formula to obtain the target image. By using the precision-compensated bilinear interpolation formula for image scaling, a smaller magnification factor can be used, thereby reducing the amount of calculation while ensuring a better scaling effect, that is, reducing the amount of resource occupation, and further directly realizing the image scaling based on the bilinear interpolation method with a better effect on the main control FPGA chip in the LED synchronous sending card, such as the synchronous sending card with a total load of 1.3 million dots or 2.6 million dots, without the need to add an additional chip or FPGA dedicated to image processing, thereby reducing the cost of the synchronous sending card and improving the product competitiveness. The currently commonly used synchronous sending cards with the same cost and load capacity usually do not have a scaling function.
[0084] On the basis of the above technical solution, optionally, the bilinear interpolation formula adopts a geometric center point coincidence correspondence formula.
[0085] On the basis of the above technical solution, optionally, the compensation formula is:
[0086] Dx=((Sw*N) / desw*desx) / N+Tw*desx+Tw / 2-N / 2;
[0087] Dy=((Sh*N) / desh*desy) / N+Th*desy+Th / 2-N / 2;
[0088] Among them, Dx represents the calculated value of the X-axis coordinate of the reference pixel point, Dy represents the calculated value of the Y-axis coordinate of the reference pixel point, Sw represents the remainder of the width ratio after being magnified N times, Sh represents the remainder of the height ratio after being magnified N times, Tw represents the integer part of the width ratio after being magnified N times, Th represents the integer part of the height ratio after being magnified N times, N represents the preset magnification factor, desw represents the width of the target image, desh represents the height of the target image, desx represents the X-axis coordinate value of the pixel point to be processed, and desy represents the Y-axis coordinate value of the pixel point to be processed.
[0089] Based on the above technical solution, optionally, the image scaling module 34 includes:
[0090] A reference pixel point coordinate calculation value storage unit is used to obtain a reference pixel point coordinate calculation value calculated based on the compensated formula and store it in the first bit width data; the first high bit of the first bit width data is determined according to the maximum value of the width and height of the target image, and is used to store the corresponding integer part of the reference pixel point coordinate calculation value that has not been magnified by the preset magnification factor; the first low bit of the first bit width data is determined according to the preset magnification factor, and is used to store the corresponding decimal part of the reference pixel point coordinate calculation value that has been magnified by the preset magnification factor;
[0091] an interpolation calculation formula parameter determination unit, configured to determine an interpolation calculation formula parameter according to the reference pixel point coordinate calculation value stored in the first bit width data, and determine a pixel value of the reference pixel point according to the interpolation calculation formula parameter and the source image data;
[0092] An interpolation calculation unit is used to perform interpolation calculation according to the pixel value of the reference pixel point and the interpolation calculation formula parameters, and obtain the pixel calculation value of the pixel point to be processed and store it in the second bit width data; the second high bit of the second bit width data is determined according to the bit width of the single color component of the pixel, and is used to store the single color component of the pixel value of the pixel point to be processed, and the second low bit of the second bit width data is determined according to the preset amplification factor.
[0093] On the basis of the above technical solution, optionally, the image scaling device in the LED sending card further includes:
[0094] A source image data storage module, used for storing the source image data in a plurality of RAMs in sequence by row before performing image scaling according to the source image data based on the compensated formula by adopting the bilinear interpolation method to obtain the target image;
[0095] The image scaling module 34 comprises:
[0096] A Y-axis coordinate calculation unit, used to calculate the Y-axis coordinate calculation value of the reference pixel point based on the compensated formula;
[0097] A target RAM determining unit, configured to determine a target RAM where the reference pixel point is located according to a calculated value of a Y-axis coordinate of the reference pixel point;
[0098] An X-axis coordinate calculation unit, used to calculate the X-axis coordinate calculation value of the reference pixel point based on the compensated formula;
[0099] The pixel value reading unit is used to read the pixel value of the reference pixel point from the target RAM for interpolation calculation according to the calculated value of the X-axis coordinate of the reference pixel point.
[0100] On the basis of the above technical solution, optionally, the pixel value reading unit is specifically used for:
[0101] Reading pixel values of a plurality of reference pixels from each target RAM in each clock cycle, the output bit width of the RAM being set according to the number of reads in a single cycle;
[0102] Accordingly, the X-axis coordinate calculation unit is specifically used for:
[0103] One or more sets of compensated formulas are used to calculate the corresponding X-axis coordinate calculation values of one or more reference pixel points according to the single-cycle reading quantity.
[0104] The image scaling device in the LED sending card provided in the embodiment of the present invention can execute the image scaling method in the LED sending card provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0105] It is worth noting that in the embodiment of the image scaling device in the above-mentioned LED sending card, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0106] Embodiment 3
[0107] Figure 4 This is a structural schematic diagram of an LED synchronous transmission card provided in Embodiment 3 of the present invention, and shows a block diagram of an exemplary LED synchronous transmission card suitable for implementing an embodiment of the present invention. Figure 4 The LED synchronous transmission card shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention. Figure 4 As shown, the LED synchronous transmission card includes a processor 41, a memory 42, an input device 43 and an output device 44; the number of processors 41 in the LED synchronous transmission card can be one or more. Figure 4 Taking a processor 41 as an example, the processor 41, memory 42, input device 43 and output device 44 in the LED synchronous sending card can be connected through a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0108] The memory 42, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the image scaling method in the LED sending card in the embodiment of the present invention (for example, the source image data acquisition module 31, the formula amplification module 32, the formula compensation module 33 and the image scaling module 34 in the image scaling device in the LED sending card). The processor 41 executes various functional applications and data processing of the LED synchronous sending card by running the software programs, instructions and modules stored in the memory 42, that is, realizes the above-mentioned image scaling method in the LED sending card.
[0109] The memory 42 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the LED synchronous transmission card, etc. In addition, the memory 42 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 42 may further include a memory remotely arranged relative to the processor 41, and these remote memories may be connected to the LED synchronous transmission card via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0110] The input device 43 can be used to obtain source image data input from a data source, and generate key signal input related to user settings and function control of the LED synchronous transmission card, etc. The output device 44 can be used to send scaled target image data to a display screen, etc.
[0111] Embodiment 4
[0112] Embodiment 4 of the present invention further provides a storage medium containing computer executable instructions, which, when executed by a computer processor, is used to execute an image scaling method in an LED sending card, the method comprising:
[0113] Get the source image data input by the data source;
[0114] A bilinear interpolation formula is amplified using a preset amplification factor to obtain an amplified formula, wherein the bilinear interpolation formula is used to determine the coordinate value of the corresponding reference pixel point participating in the interpolation calculation in the source image according to the coordinate value of the pixel point to be processed in the target image;
[0115] Performing precision compensation on the amplified formula according to a width ratio remainder and a height ratio remainder between the source image and the target image to obtain a compensated formula;
[0116] The target image is obtained by adopting a bilinear interpolation method and performing image scaling according to the source image data based on the compensated formula.
[0117] The storage medium may be any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system, which is connected to the computer system via a network (such as the Internet). The second computer system may provide program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (e.g., in different computer systems connected via a network). The storage medium may store program instructions (e.g., embodied as a computer program) that may be executed by one or more processors.
[0118] Of course, the computer executable instructions of a storage medium including computer executable instructions provided in an embodiment of the present invention are not limited to the operations of the method described above, and can also execute related operations in the image scaling method in the LED sending card provided in any embodiment of the present invention.
[0119] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0120] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0121] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0122] Embodiment 5
[0123] Embodiment 5 of the present invention further provides a computer program product, which includes a computer program (also referred to as code, instruction), which can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it is used to execute the image scaling method in the LED sending card provided in any of the above embodiments, and has the corresponding beneficial effects of the execution method.
[0124] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. An image scaling method in an LED sending card, characterized in that: include: Get the source image data input by the data source; A bilinear interpolation formula is amplified using a preset amplification factor to obtain an amplified formula, wherein the bilinear interpolation formula is used to determine the coordinate values of the corresponding reference pixel points participating in the interpolation calculation in the source image according to the coordinate values of the pixel points to be processed in the target image; the bilinear interpolation formula adopts a geometric center point coincidence correspondence formula; The amplified formula is precision compensated according to the width ratio remainder and the height ratio remainder between the source image and the target image to obtain a compensated formula; the compensated formula is: Dx=((Sw*N) / desw*desx) / N+Tw*desx+Tw / 2-N / 2; Dy=((Sh*N) / desh*desy) / N+Th*desy+Th / 2-N / 2; Wherein, Dx represents the calculated value of the X-axis coordinate of the reference pixel point, Dy represents the calculated value of the Y-axis coordinate of the reference pixel point, Sw represents the remainder of the width ratio after being magnified N times, Sh represents the remainder of the height ratio after being magnified N times, Tw represents the integer part of the width ratio after being magnified N times, Th represents the integer part of the height ratio after being magnified N times, N represents the preset magnification factor, desw represents the width of the target image, desh represents the height of the target image, desx represents the X-axis coordinate value of the pixel point to be processed, and desy represents the Y-axis coordinate value of the pixel point to be processed; Using a bilinear interpolation method, based on the compensated formula, image scaling is performed according to the source image data to obtain the target image; The method of using bilinear interpolation method, based on the compensated formula, and performing image scaling according to the source image data to obtain the target image includes: The calculated value of the coordinates of the reference pixel point calculated based on the compensated formula is stored in the first bit width data; the first high bit of the first bit width data is determined according to the maximum width and height of the target image, and is used to store the corresponding integer part of the calculated value of the coordinates of the reference pixel point that has not been magnified by the preset magnification factor; the first low bit of the first bit width data is determined according to the preset magnification factor, and is used to store the corresponding decimal part of the calculated value of the coordinates of the reference pixel point that has been magnified by the preset magnification factor; Determine interpolation calculation formula parameters according to the reference pixel point coordinate calculation value stored in the first bit width data, and determine the pixel value of the reference pixel point according to the interpolation calculation formula parameters and the source image data; Interpolation calculation is performed according to the pixel value of the reference pixel point and the interpolation calculation formula parameters, and the pixel calculation value of the pixel point to be processed is obtained and stored in the second bit-width data; the second high bit of the second bit-width data is determined according to the bit width of the single color component of the pixel, and is used to store the single color component of the pixel value of the pixel point to be processed, and the second low bit of the second bit-width data is determined according to the preset amplification factor.
2. The image scaling method in the LED sending card according to claim 1, characterized in that: Before the bilinear interpolation method is used to perform image scaling according to the source image data based on the compensated formula to obtain the target image, the method further includes: storing the source image data in a plurality of RAMs in sequence by row; The method of using bilinear interpolation method, based on the compensated formula, and performing image scaling according to the source image data to obtain the target image includes: The Y-axis coordinate calculation value of the reference pixel point is calculated based on the compensated formula; Determine the target RAM where the reference pixel point is located according to the calculated value of the Y-axis coordinate of the reference pixel point; The calculated value of the X-axis coordinate of the reference pixel point is calculated based on the compensated formula; The pixel value of the reference pixel point is read from the target RAM according to the calculated value of the X-axis coordinate of the reference pixel point to perform interpolation calculation.
3. The image scaling method in the LED sending card according to claim 2, characterized in that: The step of reading the pixel value of the reference pixel point from the target RAM according to the calculated value of the X-axis coordinate of the reference pixel point for interpolation calculation includes: Reading pixel values of a plurality of reference pixels from each target RAM in each clock cycle, the output bit width of the RAM being set according to the number of reads in a single cycle; Correspondingly, the calculation value of the X-axis coordinate of the reference pixel point is obtained based on the compensated formula, including: One or more sets of compensated formulas are used to calculate the corresponding X-axis coordinate calculation values of one or more reference pixel points according to the single-cycle reading quantity.
4. An image scaling device in an LED sending card, characterized in that: include: A source image data acquisition module is used to acquire source image data input by a data source; A formula magnification module, used to magnify the bilinear interpolation formula using a preset magnification coefficient to obtain an amplified formula, wherein the bilinear interpolation formula is used to determine the coordinate values of the corresponding reference pixel points participating in the interpolation calculation in the source image according to the coordinate values of the pixel points to be processed in the target image; the bilinear interpolation formula adopts a geometric center point coincidence corresponding formula; A formula compensation module is used to perform precision compensation on the amplified formula according to the width ratio remainder part and the height ratio remainder part between the source image and the target image to obtain a compensated formula; the compensated formula is: Dx=((Sw*N) / desw*desx) / N+Tw*desx+Tw / 2-N / 2; Dy=((Sh*N) / desh*desy) / N+Th*desy+Th / 2-N / 2; Wherein, Dx represents the calculated value of the X-axis coordinate of the reference pixel point, Dy represents the calculated value of the Y-axis coordinate of the reference pixel point, Sw represents the remainder of the width ratio after being magnified N times, Sh represents the remainder of the height ratio after being magnified N times, Tw represents the integer part of the width ratio after being magnified N times, Th represents the integer part of the height ratio after being magnified N times, N represents the preset magnification factor, desw represents the width of the target image, desh represents the height of the target image, desx represents the X-axis coordinate value of the pixel point to be processed, and desy represents the Y-axis coordinate value of the pixel point to be processed; An image scaling module, configured to perform image scaling according to the source image data by using a bilinear interpolation method based on the compensated formula to obtain the target image; The image scaling module comprises: A reference pixel point coordinate calculation value storage unit is used to obtain a reference pixel point coordinate calculation value calculated based on the compensated formula and store it in the first bit width data; the first high bit of the first bit width data is determined according to the maximum value of the width and height of the target image, and is used to store the corresponding integer part of the reference pixel point coordinate calculation value that has not been magnified by the preset magnification factor; the first low bit of the first bit width data is determined according to the preset magnification factor, and is used to store the corresponding decimal part of the reference pixel point coordinate calculation value that has been magnified by the preset magnification factor; an interpolation calculation formula parameter determination unit, configured to determine an interpolation calculation formula parameter according to the reference pixel point coordinate calculation value stored in the first bit width data, and determine a pixel value of the reference pixel point according to the interpolation calculation formula parameter and the source image data; An interpolation calculation unit is used to perform interpolation calculation according to the pixel value of the reference pixel point and the interpolation calculation formula parameters, and obtain the pixel calculation value of the pixel point to be processed and store it in the second bit width data; the second high bit of the second bit width data is determined according to the bit width of the single color component of the pixel, and is used to store the single color component of the pixel value of the pixel point to be processed, and the second low bit of the second bit width data is determined according to the preset amplification factor.
5. An LED synchronous sending card, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the image scaling method in the LED sending card as described in any one of claims 1-3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the image scaling method in the LED sending card as described in any one of claims 1 to 3 is implemented.
7. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the image scaling method in the LED sending card as claimed in any one of claims 1 to 3.
Citation Information
Patent Citations
Image scaling method based on bilinear interpolation algorithm processing
CN108986033A
An improved RoIAgign region feature aggregation algorithm
CN109685064A
Image zooming method, storage medium and electronic equipment
CN112053283A
Image processing method and device and display device
CN114743509A
Image processing method and device, equipment and storage medium
CN115578258A
