An interpolation error control method and device of an iterative image resampling chain and a storage medium

By distinguishing between the interpolation processing methods of the coordinate field and the source image, and employing interpolation-type convolution kernels and pre-filtering techniques, the problems of interpolation error accumulation and computational overhead in image processing are solved, achieving efficient image resampling results.

CN123181218APending Publication Date: 2026-11-27NANJING UNIV OF INFORMATION SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611209102.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-11
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In image processing, existing technologies fail to effectively distinguish the data variation characteristics of the coordinate field and the source image, leading to the accumulation of interpolation errors and increased computational overhead, making it difficult to simultaneously control coordinate field errors and loss of source image details.

Method used

An interpolation-type convolution kernel is used to resample the coordinate field, and the static source image is pre-filtered within the target processing cycle to form a source image coefficient field. The interpolation operations of the coordinate field and the source image are processed separately to avoid the pre-filtering calculation of the coordinate field and the repeated interpolation of the source image.

Benefits of technology

It reduces the computational overhead of the coordinate field, lowers the accumulation of interpolation errors, maintains the detail quality of the output image, and improves the efficiency and accuracy of image processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181218A_ABST
    Figure CN123181218A_ABST
Patent Text Reader

Abstract

The application discloses an interpolation error control method and device of an iterative image resampling chain and a storage medium. The method obtains a static source image which remains unchanged in a target processing period, initializes a coordinate field as an identity mapping, and performs pre-filtering on the static source image to obtain a source image coefficient field; according to a position indicated by a displacement mapping, a pre-filtering-free interpolation convolution kernel is used to resample a current coordinate field to obtain an updated coordinate field; a position represented by the updated coordinate field is taken as a sampling position, spline interpolation is performed on the source image coefficient field to generate an output image frame, and the coordinate field and the source image coefficient field are iteratively updated in subsequent processing. The application can reduce cumulative interpolation errors caused by continuous compounding of the coordinate field, reduce repeated pre-filtering overhead, and improve the detail retention effect of the output image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image processing technology, and in particular to an interpolation error control method, apparatus and storage medium for an iterative image resampling chain. Background Technology

[0002] In image processing processes such as flow field visualization, image deformation animation, and medical image registration, it is often necessary to continuously combine multiple single-step displacements or single-step deformations to form an overall deformation that gradually accumulates over time.

[0003] In a common processing approach, a coordinate field can be set up to characterize the correspondence between the output pixel position and the sampling position in the source image. Each coordinate value in the coordinate field indicates where in the source image the corresponding output pixel should be sampled from. Initially, the coordinate field can be set as an identity mapping, so that each output pixel position corresponds to the same position in the source image. As the processing progresses, the coordinate field is resampled and composited according to the displacement mapping corresponding to the current moment, so that the coordinate field gradually records the cumulative effect of multiple single-step displacements. Then, the composite coordinate field is used to sample the source image to generate the corresponding output image frame.

[0004] The above processing actually involves two different types of resampling operations. The first resampling operation uses the coordinate field as the sampled object, and is used to composite the single-step displacement mapping into the current coordinate field. Since the coordinate field changes after each iteration, the error generated by resampling the coordinate field will be carried over to subsequent iterations and may accumulate with the number of composite iterations. The second resampling operation uses the source image as the sampled object, and determines the sampling position in the source image based on the updated coordinate field to generate the current output image frame.

[0005] Existing technologies typically employ the same interpolation method in both resampling operations. For example, while bilinear interpolation involves less computation, it can lead to a gradual accumulation of numerical dissipation during repeated resampling, resulting in increased coordinate field deviation and attenuation of detail in the output image. Especially when coordinate fields are repeatedly combined, the coordinate error generated in the previous resampling can affect the sampling position in the subsequent resampling, causing the error to continue propagating along the processing chain.

[0006] Using higher-order spline interpolation, such as cubic B-splines, can improve reconstruction continuity and sampling accuracy. However, cubic B-spline basis functions typically require pre-filtered spline coefficients as reconstruction coefficients. For coordinate fields that change with each iteration, recalculating the corresponding spline coefficients before each coordinate field update increases computational overhead in successive iterations, and coefficients calculated in previous iterations are difficult to reuse in subsequent iterations.

[0007] However, the coordinate field and the source image exhibit different data change characteristics throughout the processing cycle. The coordinate field is continuously updated during the iteration process, while the source image can remain unchanged throughout the target processing cycle. If the same interpolation method is used indiscriminately for both types of sampled objects, it is difficult to simultaneously ensure error control for continuous composite coordinate fields, source image sampling quality, and overall computational cost.

[0008] Therefore, it is necessary to provide a technical solution that configures interpolation processing methods for coordinate field iterative composite and static source image sampling respectively, so as to reduce the cumulative interpolation error in the iterative image resampling chain and avoid repeatedly performing pre-filtering on the continuously changing coordinate field. Summary of the Invention

[0009] The technical problem to be solved by this invention is: in the image processing process that includes successive composite updates of the coordinate field and repeated sampling of the static source image, how to adopt an appropriate interpolation processing method for the two types of resampling operations according to the data change characteristics of the coordinate field and the static source image, so as to reduce the pre-filtering calculation overhead in the successive iteration process while controlling the cumulative interpolation error of the coordinate field and the loss of details in the output image.

[0010] To address the aforementioned technical problems, this invention provides an interpolation error control method for an iterative image resampling chain, comprising: A static source image that remains unchanged during the target processing cycle is acquired, and the coordinate field is initialized to an identity mapping, wherein the coordinate field is used to characterize the mapping relationship between the output pixel position and the sampling position in the static source image; The static source image is pre-filtered once to obtain the source image coefficient field for spline interpolation; Obtain the displacement map representing the single-step pixel displacement; Based on the position indicated by the displacement mapping, the current coordinate field is resampled using an interpolation convolution kernel to obtain an updated coordinate field. The interpolation convolution kernel recovers the corresponding grid value of the current coordinate field at integer grid points, and no pre-filtering is performed on the current coordinate field before resampling it. Using the updated coordinate field as the sampling position of the static source image, spline interpolation is performed on the source image coefficient field to obtain the output image frame; The updated coordinate field is used as the current coordinate field for the next resampling, and the source image coefficient field is reused in subsequent spline interpolation calculations.

[0011] In one implementation, the interpolation convolution kernel is a Keys cubic convolution kernel with parameter a=-0.5, which can be separably applied to the 4×4 neighborhood of the current coordinate field in both the horizontal and vertical directions to obtain the updated coordinate field.

[0012] In one implementation, the spline interpolation is a cubic B-spline interpolation; The pre-filtering includes solving for cubic B-spline coefficients based on the static source image to form the source image coefficient field, such that when image reconstruction is performed using the source image coefficient field and the cubic B-spline basis function, the corresponding pixel values ​​of the static source image are recovered at integer grid points.

[0013] In one implementation, the displacement mapping is obtained by performing a single-step inverse numerical integration of the velocity field, using the fourth-order Runge-Kutta method.

[0014] In one implementation, when the number of times the coordinate field is resampled reaches a preset number, the current target processing cycle ends, the coordinate field is reinitialized to an identity mapping, and the next target processing cycle begins based on the reinitialized coordinate field.

[0015] In one implementation, when resampling the current coordinate field and performing spline interpolation on the source image coefficient field, sampling positions that are outside the effective image coordinate range are clamped to the corresponding image boundary.

[0016] In one implementation, the coordinate field is stored using single-precision floating-point data, the displacement mapping is calculated using double-precision floating-point data, and then converted to single-precision floating-point data for storage after the calculation is completed.

[0017] The present invention also provides an interpolation error control device for an iterative image resampling chain, comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the above-described interpolation error control method for the iterative image resampling chain.

[0018] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor performs the interpolation error control method of the above-described iterative image resampling chain.

[0019] Compared with the prior art, the present invention has at least the following beneficial effects.

[0020] This invention does not uniformly configure the interpolation method for all resampling operations in the same processing process. Instead, it divides the resampling operation into coordinate field resampling and static source image sampling based on whether the sampled object changes with the iteration process. It then applies interpolation-type convolution kernels and pre-filtered spline interpolation to the two types of resampling operations, respectively.

[0021] For coordinate fields that continuously change during the iteration process, this invention employs an interpolation-type convolution kernel that does not require pre-filtering for the current coordinate field. This avoids recalculating the pre-filtering coefficients before each coordinate field update, reducing the additional computational overhead in the successive composite process of the coordinate field. Simultaneously, the interpolation-type convolution kernel can recover the corresponding grid values ​​of the coordinate field at integer grid points, which helps reduce the value deviation at integer grid positions.

[0022] For a static source image that remains unchanged during the target processing cycle, the present invention performs a pre-filter on the static source image at the beginning of the processing stage to form a source image coefficient field, and reuses the source image coefficient field in the generation of subsequent output image frames, so that the coefficients generated by the pre-filter can be reused across multiple source image samples.

[0023] By forming a seamless data processing chain between coordinate field resampling and static source image sampling, this invention avoids directly using the previous output image frame as the sampling object for the next output image frame. Each output image frame obtains image values ​​from the coefficient field corresponding to the same static source image based on the current composite coordinate field, which helps reduce detail attenuation caused by repeated frame-by-frame interpolation of image pixel values. Attached Figure Description

[0024] Figure 1 This is a flowchart illustrating the interpolation error control method of the iterative image resampling chain in an embodiment of the present invention. Detailed Implementation

[0025] The technical solution of the present invention will be further described below with reference to the accompanying drawings. It should be understood that the following embodiments are for illustrating the present invention and are not intended to limit the scope of protection of the present invention. Where there is no conflict, the technical features in the following embodiments can be combined with each other.

[0026] Example 1: Interpolation Error Control Method for Iterative Image Resampling Chain This embodiment provides an interpolation error control method for an iterative image resampling chain. This method is applicable to image processing processes that, within a single target processing cycle, use the same static source image as a basis to form multiple output image frames through successive composites of coordinate fields.

[0027] like Figure 1 As shown, the method includes steps S101 to S107.

[0028] Step S101: Obtain a static source image and initialize the coordinate field to obtain a static source image that remains unchanged during the target processing cycle.

[0029] The target processing cycle refers to the time period during which a static source image remains unchanged, and multiple output image frames are continuously generated based on that static source image. Different target processing cycles can use the same or different static source images.

[0030] The static source image can be a grayscale image, a color image, a single-channel scalar field image, or a multi-channel image. In flow field visualization applications, the static source image can be a normalized scalar field image obtained from flow field data; in deformation effect applications based on static images, the static source image can be the original image to which continuous deformation is to be applied; in medical image registration applications, the static source image can be a medical image to which composite registration deformation is to be applied.

[0031] Let the size of the static source image be H×W, and the coordinate field include the horizontal coordinate component C. X and vertical coordinate component C Y Each coordinate value in the coordinate field indicates the sampling position of the corresponding output pixel in the static source image.

[0032] At the start of the target processing cycle, the coordinate field is initialized to an identity mapping, i.e.: C X (i,j)=j; C Y (i,j)=i; Where i represents the pixel row index and j represents the pixel column index. When the coordinate field is an identity mapping, the output pixel position corresponds to the same pixel position in the static source image.

[0033] The coordinate field is not limited to being stored as two independent two-dimensional arrays; it can also be stored as a tensor, matrix, or other data structure that can record two-dimensional sampled coordinates, which has two coordinate channels.

[0034] Step S102: Pre-filter the static source image. At the beginning of the target processing cycle, perform a pre-filter on the static source image to obtain the source image coefficient field for spline interpolation.

[0035] In this embodiment, cubic B-spline interpolation is used. Pre-filtering is used to solve for the corresponding cubic B-spline coefficients based on the pixel values ​​of the static source image, and the obtained cubic B-spline coefficients form the source image coefficient field.

[0036] For a single-channel static source image, the source image coefficient field can include a coefficient matrix corresponding to the size of the static source image. For a multi-channel static source image, pre-filtering can be performed on each image channel separately to obtain multiple coefficient matrices corresponding to each image channel.

[0037] After obtaining the source image coefficient field through pre-filtering, the cubic B-spline basis function can be used to evaluate the source image coefficient field, so that the reconstruction result can restore the corresponding pixel value of the static source image at integer grid points.

[0038] Since the static source image remains unchanged throughout the target processing cycle, the source image coefficient field also remains unchanged. Therefore, the source image coefficient field only needs to be calculated once at the beginning of the target processing cycle and does not need to be calculated repeatedly when generating each output image frame.

[0039] The specific coefficient calculation method and boundary extension conditions used in cubic B-spline pre-filtering can be preset according to the actual cubic B-spline interpolation program used, and kept consistent within the same target processing cycle.

[0040] Step S103: Obtain the displacement mapping, and obtain the displacement mapping that represents the single-step pixel displacement.

[0041] Displacement mapping is used to represent the position of the current output pixel in the previous processing time or the previous coordinate state. Using this displacement mapping, the sampling position of the current coordinate field can be determined by reverse mapping.

[0042] Displacement mappings can be generated based on velocity fields, preset deformation fields, or deformation fields obtained through medical image registration. In flow field visualization applications, displacement mappings can be obtained by performing single-step inverse numerical integration on the velocity field.

[0043] In a specific example, the velocity field V is integrated using a fourth-order Runge-Kutta method with a single-step inverse numerical integration. For position x, it is calculated as follows: k1 = -V(x)Δt; k2 = -V(x + k1 / 2)Δt; k3 = -V(x + k2 / 2)Δt; k4 = -V(x + k3)Δt; back(x)=x+(k1+2k2+2k3+k4) / 6; Here, Δt represents the single-step time interval, and back(x) represents the reverse sampling position corresponding to position x. By calculating the horizontal and vertical reverse sampling positions respectively, a two-dimensional displacement mapping can be formed.

[0044] In this embodiment, the numerical integration process of the displacement mapping can be performed using double-precision floating-point data to reduce rounding errors during the numerical integration stage. After the calculation is completed, the displacement mapping can be converted into single-precision floating-point data for storage to reduce storage space and data transmission overhead in subsequent resampling processes.

[0045] For a steady-state velocity field, a displacement mapping can be calculated once at the beginning of the target processing cycle and reused in subsequent coordinate field composites. For cases where different single-step displacements are used at different processing times, the displacement mapping corresponding to each processing time can be obtained separately.

[0046] Step S104: Update the coordinate field using an interpolation convolution kernel. Based on the position indicated by the displacement mapping, resample the current coordinate field using an interpolation convolution kernel to obtain the updated coordinate field.

[0047] Let the current coordinate field be C, the displacement mapping be Ψ, and the updated coordinate field be C′. Then the composite relationship of the coordinate fields can be expressed as: C′(x)=C(Ψ(x)) The above expression means that for the current output position x, its sampling position in the current coordinate field is first determined by the displacement mapping Ψ, and then the static source image coordinates recorded at the sampling position are obtained from the current coordinate field, so as to combine the single-step displacement into the existing coordinate mapping.

[0048] Since the sampling positions indicated by the displacement mapping are usually non-integer coordinates, it is necessary to use interpolation-type convolution kernels to perform weighted calculations on the adjacent grid values ​​of the current coordinate field.

[0049] In this embodiment, the interpolation convolution kernel uses a Keys cubic convolution kernel with parameter a = -0.5, and its one-dimensional kernel function W(t) is expressed as: When |t|≤1 W(t) = 1.5|t|^3 - 2.5|t|^2 + 1; When 1 < |t| ≤ 2, W(t)=-0.5|t|^3+2.5|t|^2-4|t|+2; When |t|>2 W(t) = 0; Let the sampling position indicated by the displacement mapping for pixel position (i,j) be (y,x), and let: In the horizontal direction, the convolution weights corresponding to the four adjacent grid positions are calculated based on fx; in the vertical direction, the convolution weights corresponding to the four adjacent grid positions are calculated based on fy. The horizontal and vertical weights can be applied separately to the 4×4 neighborhood of the current coordinate field to obtain the updated horizontal and vertical coordinate components, respectively.

[0050] Specifically, for any coordinate component Cq of the coordinate field, where q is X or Y, the updated coordinate value is calculated according to the following formula:

[0051] Therefore, the updated coordinate field components C' can be obtained respectively. X and C' Y .

[0052] The Keys cubic convolution kernel is an interpolation-type convolution kernel, capable of recovering the corresponding grid values ​​of the current coordinate field at integer grid points. Before resampling the current coordinate field, it is not necessary to resolve the pre-filter coefficients for the changed coordinate field.

[0053] In addition to the Keys cubic convolution kernel with parameter a=-0.5, other interpolation-type convolution kernels that can recover the corresponding grid values ​​at integer grid points and do not require pre-filtering for the current coordinate field can also be used.

[0054] Step S105: Perform spline interpolation on the coefficient field of the source image. Using the updated coordinate field as the sampling position of the static source image, cubic B-spline interpolation is performed on the source image coefficient field obtained in step S102 to obtain the resampled image corresponding to the current processing time.

[0055] For pixel position (i,j) in the output image, the updated coordinate field gives the sampling position as follows: (C' Y (i,j),C' X (i,j); Based on the sampling position, the corresponding coefficients are selected from the adjacent coefficients of the source image coefficient field, and the weighted values ​​are obtained by using the cubic B-spline basis function to obtain the image value of the output image at pixel position (i,j).

[0056] Since the source image coefficient field is pre-calculated when performing spline interpolation, instead of directly using the original pixel values ​​of the static source image as B-spline coefficients, the image values ​​at non-integer sampling positions can be calculated according to the cubic B-spline reconstruction relationship corresponding to the pre-filtering.

[0057] Within the same target processing cycle, the same source image coefficient field is reused for each generated output image frame, eliminating the need to repeatedly perform pre-filtering on the static source image for each output image frame.

[0058] Step S106: Generate an output image frame. The output image frame is generated based on the resampled image obtained in step S105.

[0059] When the static source image is a grayscale image or a color image, the resampling result can be directly used as the output image frame, or further grayscale adjustment, color adjustment or image enhancement can be performed on the basis of the resampling result.

[0060] When the static source image is a scalar field image, the scalar value can be converted into the corresponding color value according to the preset color lookup table to generate a color output image frame for displaying the changes in the flow field.

[0061] Step S107: Iteratively update the coordinate field The updated coordinate field obtained in step S104 is used as the current coordinate field for the next coordinate field resampling.

[0062] At the next processing moment, the current coordinate field is resampled again according to the corresponding displacement mapping to obtain the next updated coordinate field. Then, the position represented by the next updated coordinate field is used as the sampling position, and three B-spline interpolation values ​​are performed again on the same source image coefficient field to generate the next output image frame.

[0063] Repeatedly perform coordinate field updates and static source image sampling until the output image frame sequence within the target processing cycle is completed.

[0064] Therefore, the pixel values ​​of the static source image are not repeatedly resampled by passing them frame-by-frame between adjacent output image frames. Each output image frame is evaluated directly on the source image coefficient field corresponding to the static source image, based on the current composite coordinate field.

[0065] Example 2: Target processing cycle and coordinate field re-initialization In one alternative implementation, the maximum number of composite elements T of the coordinate field can be preset.

[0066] Within the current target processing cycle, for each output image frame generated, the coordinate field is resampled and composited once. When the number of resampling operations of the coordinate field reaches a preset number T, the current target processing cycle ends.

[0067] When starting the next target processing cycle, the coordinate field is reinitialized to an identity mapping, and it is determined whether the source image coefficient field needs to be recalculated based on the static source image used in the next target processing cycle.

[0068] When the same static source image is used in the next target processing cycle, the original source image coefficient field can be reused. When another static source image is used in the next target processing cycle, a pre-filter is performed on the other static source image to generate the corresponding other source image coefficient field.

[0069] In flow field visualization animation, the preset number of iterations T can be determined based on the animation segment length, the allowable cumulative coordinate error, and the expected degree of deformation. For example, T can be set to 30.

[0070] In this embodiment, reinitialization is used to start a new processing cycle after the previous target processing cycle has ended. For applications requiring visual continuity between processing cycles, appropriate frame sequence stitching methods can be used between each processing cycle. Coordinate field reinitialization does not necessarily mean that the two output image frames before and after reinitialization have the same image content.

[0071] Example 3: Boundary Treatment When resampling the current coordinate field, the sampling position indicated by the displacement mapping may exceed the effective coordinate range of the coordinate field. Similarly, when performing cubic B-spline interpolation on the source image coefficient field, the sampling position represented by the updated coordinate field may also exceed the effective coordinate range of the static source image.

[0072] For the aforementioned out-of-bounds sampling locations, this embodiment uses the nearest neighbor clamping method for processing.

[0073] Let the effective horizontal coordinate range be [0, W-1], and the effective vertical coordinate range be [0, H-1]. For the horizontal sampling coordinate x, the clamped horizontal sampling coordinate xc is: xc=min{max{x,0},W-1} For the vertical sampling coordinate y, the clamped vertical sampling coordinate yc is: yc=min{max{y,0},H-1} By using the clamped sampling position to perform coordinate field resampling or source image coefficient field evaluation, data outside the effective image range is avoided.

[0074] Example 4: Interpolation Error Control Device This embodiment provides an interpolation error control device for an iterative image resampling chain, including a processor and a memory.

[0075] The memory stores at least one of the following data: computer program, static source image, source image coefficient field, current coordinate field, displacement mapping, and output image frame.

[0076] The processor reads and executes a computer program in memory to perform the following processing: acquiring a static source image that remains unchanged within the target processing cycle; initializing the coordinate field to an identity mapping; performing a pre-filter on the static source image to obtain the source image coefficient field; acquiring a displacement mapping; resampling the current coordinate field using an interpolation-type convolution kernel based on the displacement mapping to obtain an updated coordinate field; performing spline interpolation on the source image coefficient field using the position represented by the updated coordinate field as the sampling position to obtain an output image frame; using the updated coordinate field as the current coordinate field for the next resampling, and reusing the source image coefficient field in subsequent spline interpolation calculations.

[0077] The processor can be a central processing unit, graphics processing unit, digital signal processor, or other processing unit capable of performing image resampling operations. For different pixel rows, pixel columns, or image partitions in an image, multi-threaded or parallel processing methods can be used to perform coordinate field resampling and source image coefficient field evaluation.

[0078] Memory may include random access memory, read-only memory, flash memory, hard disk, or other storage components capable of storing computer programs and image data.

[0079] Example 5: Computer-readable storage medium This embodiment also provides a computer-readable storage medium on which a computer program is stored.

[0080] When the computer program is executed by the processor, the processor performs the interpolation error control method of the iterative image resampling chain described in any of the above embodiments.

[0081] Computer-readable storage media may be disks, optical disks, read-only memory, random access memory, flash memory, or other non-transitory storage media capable of storing computer programs.

[0082] The above description is merely a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Equivalent substitutions or conventional adjustments made by those skilled in the art to the interpolation kernel type, spline interpolation type, data storage format, displacement mapping source, and image processing application without departing from the concept of the present invention should all fall within the scope of protection of the present invention.

Claims

1. A method for interpolation error control in an iterative image resampling chain, characterized in that, include: A static source image that remains unchanged during the target processing cycle is acquired, and the coordinate field is initialized to an identity mapping, wherein the coordinate field is used to characterize the mapping relationship between the output pixel position and the sampling position in the static source image; The static source image is pre-filtered once to obtain the source image coefficient field for spline interpolation; Obtain the displacement map representing the single-step pixel displacement; Based on the position indicated by the displacement mapping, the current coordinate field is resampled using an interpolation convolution kernel to obtain an updated coordinate field. The interpolation convolution kernel recovers the corresponding grid value of the current coordinate field at integer grid points, and no pre-filtering is performed on the current coordinate field before resampling it. Using the updated coordinate field as the sampling position of the static source image, spline interpolation is performed on the source image coefficient field to obtain the output image frame; The updated coordinate field is used as the current coordinate field for the next resampling, and the source image coefficient field is reused in subsequent spline interpolation calculations.

2. The interpolation error control method for the iterative image resampling chain according to claim 1, characterized in that, The interpolation convolution kernel is a Keys cubic convolution kernel with parameter a=-0.

5. The Keys cubic convolution kernel can be applied to the 4×4 neighborhood of the current coordinate field in both the horizontal and vertical directions to obtain the updated coordinate field.

3. The interpolation error control method for the iterative image resampling chain according to claim 1, characterized in that, The spline interpolation is a cubic B-spline interpolation; The pre-filtering includes solving for cubic B-spline coefficients based on the static source image to form the source image coefficient field, such that when image reconstruction is performed using the source image coefficient field and the cubic B-spline basis function, the corresponding pixel values ​​of the static source image are recovered at integer grid points.

4. The interpolation error control method for the iterative image resampling chain according to claim 1, characterized in that, The displacement mapping is obtained by performing a single-step inverse numerical integration of the velocity field, which employs the fourth-order Runge-Kutta method.

5. The interpolation error control method for the iterative image resampling chain according to any one of claims 1 to 4, characterized in that, When the number of resampling operations on the coordinate field reaches a preset number, the coordinate field is reinitialized to an identity mapping, and the next target processing cycle begins based on the reinitialized coordinate field.

6. The interpolation error control method for the iterative image resampling chain according to any one of claims 1 to 4, characterized in that, When resampling the current coordinate field and performing spline interpolation on the source image coefficient field, sampling positions that exceed the effective image coordinate range are clamped to the corresponding image boundary.

7. The interpolation error control method for the iterative image resampling chain according to any one of claims 1 to 4, characterized in that, The coordinate field is stored using single-precision floating-point data; the displacement mapping is calculated using double-precision floating-point data, and then converted to single-precision floating-point data for storage after the calculation is completed.

8. The interpolation error control method for the iterative image resampling chain according to any one of claims 1 to 4, characterized in that, The target processing cycle corresponds to any of the following image processing procedures: The process of generating a flow field visualization animation, wherein the static source image is a scalar field image obtained from the flow field data, and the displacement mapping is obtained from the velocity field; The video deformation effect generation process based on static source images, wherein the displacement mapping is obtained according to the deformation field; A composite deformation application process in medical image registration, wherein the displacement mapping is obtained based on the registration deformation field.

9. An interpolation error control device for an iterative image resampling chain, characterized in that, It includes a processor and a memory; the memory stores a computer program, which, when executed by the processor, causes the processor to perform the interpolation error control method of the iterative image resampling chain according to any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the processor performs the interpolation error control method of the iterative image resampling chain according to any one of claims 1 to 8.