Non-uniformity correction and correctness detection method for large aperture space imaging system

The TDICMOS data correction system sets the appropriate bit width and detection mechanism in the large-diameter spatial imaging system, which solves the problem of overflow and inconsistency in the non-uniform correction process, and realizes high-precision and efficient calibration results verification, adapting to vignetting The difference in grayscale values ​​between the zone and the non-vignet area improves the detection efficiency.

CN118784998BActive Publication Date: 2024-11-15CHANGCHUN INST OF OPTICS FINE MECHANICS & PHYSICS CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411270486.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-11-15
Estimated Expiration
2044-09-11

AI Technical Summary

Technical Problem

Large-diameter spatial imaging systems are prone to overflow during inhomogeneous correction, resulting in inappropriate data processing, resulting in inconsistency of images or response mutations, and the prior art has failed to effectively consider the difference in grayscale value multiples between vignetting and non-vignetting areas. And the problem of data bit width after the increase in the bit width of the coefficient is corrected.

Method used

The TDICMOS data correction system is adopted to determine the decimal part of the product correction coefficient and the bit width of the addition and subtraction correction coefficient by setting the bit width of the parallel image data to ensure that there is no overflow during the correction process, and the correctness of the correction results are verified through the detection steps. Position detection including secondary correction coefficient, primary correction coefficient and addition and subtraction correction coefficient ensures correction accuracy and range coverage.

Benefits of technology

Improve the correction accuracy, avoid overflow problems, ensure the corrected image consistency, and reduce the detection workload through bit width setting and detection mechanism, improving detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784998B_ABST
    Figure CN118784998B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of non-uniformity correction of imaging systems, and in particular to a non-uniformity correction and correctness detection method for a large-aperture space imaging system. In view of the situation that there may be address mapping errors of image data and correction coefficients in the application of a non-uniformity correction link, the addresses of the two are gradually changed during the verification process; the first scheme is that the correction coefficient changes gradually, and the change value of adjacent coefficients requires that the difference of DN values ​​of the corrected image is greater than or equal to 1; the second scheme is that the correction coefficient value is fixed, and the grayscale value of the image changes gradually, and the change value of adjacent image grayscale requires that the difference of DN values ​​of the corrected image is greater than or equal to 1; the third scheme is to determine the correction coefficient based on the minimum grayscale average value of the vignetting area and the maximum grayscale average value of the non-vignetting area, and determine the bit width of the output image data in the processing process according to the maximum value of the integer part of the correction coefficient, and the grayscale range to be checked according to the set correction coefficient value range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of non-uniformity correction of imaging systems, and in particular relates to a non-uniformity correction and correctness detection method for a large-aperture space imaging system. Background Art

[0002] For long-focus and large-aperture space imaging systems, in order to reduce the size and weight, a fully reflective and fully transparent focal plane stitching method is usually used. The problem is that the light energy in the area where each detector intersects is low, which will form a vignetting effect. In order to overcome the influence of vignetting and the inconsistency of the responses of each detector, all pixels of each detector need to be non-uniformly corrected. If during the correction process, due to the incorrect mapping of the corrected data and the correction coefficient, or overflow due to improper data processing during the correction process, the corrected image may be inconsistent or the response may change suddenly.

[0003] When performing non-uniform correction on all pixels of the detector, the more digits representing decimals are set, the higher the accuracy; the more digits representing integers are set, the wider the correction range. The more digits are set, the greater the amount of computing resources and storage resources occupied when performing non-uniform correction, so it is necessary to compromise between bit width and resource occupancy. The result after non-uniform correction may be a decimal. Due to the difference in bit width intercepted by different hardware platforms, the final calculation result may differ by 1 DN value. If this 1 DN value difference is not tolerated, a large number of errors may occur only due to the difference in bit width interception; if errors are tolerated, the final value difference between adjacent pixels does not exceed 1 DN value, then even if the correction coefficient and the input image deviate by one position during the correction process, it is difficult to detect.

[0004] The Chinese invention patent with publication number CN116320385A and publication date June 23, 2023, discloses a method for setting and detecting non-uniform correction parameters of a detector, which sets the bit width of the decimal part of the product correction coefficient and the addition and subtraction correction coefficient according to the bit width of the input parallel image data, and sets the bit width of the integer part of the product correction coefficient according to the multiple of the difference between the maximum and minimum values ​​of the acquired image; tolerates a deviation of 1 DN value during the verification and detection process, and sets coefficient values ​​whose calculation results exceed 1DN in adjacent correction coefficients. However, this patent does not take into account the multiple difference in grayscale values ​​between the vignetting area and the non-vignetting area in large-aperture space camera applications, nor does it take into account the increase in the bit width of subsequent processing data caused by increasing the multiple correction coefficient bit width, which may cause correction coefficient overflow during the application process.

[0005] In addition, due to the limited number of pixels in a single-chip detector, especially the image data output in multiple channels, the number of pixels corresponding to a single channel is even smaller, and the compiled self-calibration image grayscale value is difficult to cover the entire DN value range; and if the correction coefficient varies in a large range, and the value of the secondary correction result differs by 1, a large number of correction coefficients will be required, and the testing workload will be huge. Summary of the invention

[0006] In view of this, the present invention aims to provide a method for non-uniform correction and correctness detection of a large-aperture spatial imaging system, so as to solve the problem that when the corrected data and the correction coefficient mapping are incorrect, improper data processing may lead to overflow, resulting in inconsistent corrected images or sudden response changes.

[0007] To achieve the above object, the technical solution created by the present invention is implemented as follows:

[0008] A method for non-uniform correction and correctness detection of a large-aperture spatial imaging system is implemented using a TDICMOS data correction system. The decimal part of the product correction coefficient and the bit width of the addition and subtraction correction coefficient c are set according to the bit width n of the input parallel image data. The product correction coefficient consists of a quadratic correction coefficient a and a primary correction coefficient b. The correction formula for the parallel image data is: y = ax 2 +bx+c, where x is the DN value of the input parallel image data and y is the DN value of the corrected image;

[0009] Then the number of binary digits occupied by the decimal part of the quadratic correction coefficient a is 2n, the positive and negative signs occupy 1 bit, and the integer part of the quadratic correction coefficient a occupies 1 bit; the positive and negative signs of the addition and subtraction correction coefficient c occupy 1 bit, and the integer part of the addition and subtraction correction coefficient c occupies n bits; the number of binary digits occupied by the decimal part of the primary correction coefficient b is n+1, and the number of binary digits occupied by the integer part of the primary correction coefficient b is k, that is, the decimal number represented by the integer part is required to be greater than the ratio of the DN value of the maximum image collected to the DN value DNmin of the minimum image:

[0010] ;

[0011] In the formula, DNmax represents the DN value of the maximum image, and DNmin represents the DN value of the minimum image;

[0012] The steps of non-uniformity correction include:

[0013] S11. Intermediate result reservation: The total bit width of the product of the primary correction coefficient b and the input parallel image data is 2n+k+1, the intercepted bit width m is not less than n+k+1, and interception starts from the 2n-1th bit of the total bit width of the product 2n+k+1; the square bit width of the product of the secondary correction coefficient a and the input parallel image data is 4n+1, the lowest 2n-1 bits of the square bit width of the product are intercepted, and the bit width m is intercepted from the 2nth bit;

[0014] S12.ax 2 +bx operation: ax 2 The bit widths of ax and bx are both expanded to m+1, the high bits are filled with 0, and the bit width becomes m+1; if the quadratic correction coefficient a is a positive number with a positive sign, then ax 2 The result of +bx is ax 2 The absolute value of ax is added to the absolute value of bx; if the quadratic correction coefficient a is negative, ax 2 The absolute value of ax is greater than the absolute value of bx, so the sign is negative. 2 The result of +bx is ax 2 The absolute value of ax minus the absolute value of bx; if the quadratic correction coefficient a is negative, ax 2 The absolute value of ax is smaller than the absolute value of bx, so the sign is positive. 2 The result of +bx is the absolute value of bx minus ax 2 The absolute value of

[0015] S13.ax 2 +bx+c operation: ax 2 +bx and the bit width of the addition and subtraction correction coefficient c are both expanded to m+2, the high bits are filled with 0, and the bit width becomes m+2; if ax 2 If the result of +bx is positive, the sign is positive, ax 2 The result of +bx+c is ax 2 The absolute value of the result of +bx is added to the absolute value of the addition and subtraction correction coefficient c; if ax 2 The result of +bx is negative, ax 2 If the absolute value of the result of +bx is greater than the absolute value of the addition and subtraction correction coefficient c, the sign is negative, and ax 2 The result of +bx+c is ax 2 +bx minus the absolute value of the addition and subtraction correction coefficient c; if ax 2 The result of +bx is negative, ax 2 If the absolute value of the result of +bx is smaller than the absolute value of the addition and subtraction correction coefficient c, the sign is positive, and ax 2 The result of +bx+c is the absolute value of the addition and subtraction correction coefficient c minus ax 2 The absolute value of the result of +bx;

[0016] S14. DN value processing of the corrected image: If the high m-n+1 bits are all 0, ax 2 +bx+c has a positive sign, and the lower n+1 to 2 bits are all 1, then the final output value is all 1; if the upper m-n+1 bits are all 0, ax 2 +bx+c has a positive sign, and the lower n+1 to 2 bits are not all 1, and the lowest is 1, then the final output value is the value of the lower n+1 to 2 bits plus 1; if the upper m-n+1 bits are all 0, ax 2 +bx+c has a positive sign, the lower n+1 to 2 bits are not all 1, and the lowest is 0, then the final output value is the value of the lower n+1 to 2 bits; if the upper m-n+1 bits are not all 0, ax 2 +bx+c has a positive sign, the final output value is all 1; if the high m-n+1 bits are not all 0, ax 2 If the sign of +bx+c is negative, the final output value is all 0.

[0017] Furthermore, the steps for checking the correctness of the non-uniformity correction process include:

[0018] S21. Correctness check of the position of the addition and subtraction correction coefficient c: Set the DN value of the input parallel image data to be constant , the secondary correction coefficient a and the primary correction coefficient b are both 0, and the value of the addition and subtraction correction coefficient c is from arrive The DN value of the corrected image is tested by changing the bit by 1 to make a cyclic change.

[0019] S22. Check the correctness of the position of the secondary correction coefficient a: Set the DN value of the input parallel image data to be constant , the addition and subtraction correction coefficient c and the first correction coefficient b are both 0, and the value of the second correction coefficient a is from arrive Cyclic changes, bit by bit , detect whether the DN value of the corrected image is correct;

[0020] S23. Correctness check of the position of the primary correction coefficient b: Set the DN value of the input parallel image data to be constant , the addition and subtraction correction coefficient c and the secondary correction coefficient a are both 0, and the value of the primary correction coefficient b is arrive Cyclic changes, bit by bit , detect whether the DN value of the corrected image is correct;

[0021] S24. Correctness check of the DN value of the corrected image: Set the DN value of the input parallel image data to be a value from To 0, the cycle changes, bit by bit changes by 1; the value of the secondary correction coefficient a changes from arrive Cyclic changes, bit by bit ; The value of the primary correction coefficient b is arrive Cyclic changes, bit by bit ; The value of the addition and subtraction correction coefficient c is from arrive Change 1 bit by bit to cycle through the changes , check whether the DN value of the corrected image is correct.

[0022] Furthermore, the detection step of the correction result overflow includes:

[0023] S31. The addition and subtraction correction coefficient c is set to the maximum value, the secondary correction coefficient a is set to a positive value, the primary correction coefficient b is set to the maximum value, the DN value of the input parallel image data is reduced from the maximum value, and the DN value of the corrected image is detected to be correct;

[0024] S32. The addition and subtraction correction coefficient c is set to 0, the secondary correction coefficient a is set to a positive value, the primary correction coefficient b is set to the maximum value, the DN value of the input parallel image data is reduced from the maximum value, and the DN value of the corrected image is detected to be correct;

[0025] S33. The addition and subtraction correction coefficient c is set to 0, the secondary correction coefficient a is set to 0, the primary correction coefficient b is set to the maximum value, the DN value of the input parallel image data decreases from the maximum value, and the DN value of the corrected image is detected to be correct;

[0026] S34. The addition and subtraction correction coefficient c is set to 0, the secondary correction coefficient a is set to 0, the primary correction coefficient b is set to the maximum value, and the DN value of the input parallel image data is reduced from the value corresponding to the highest bit of the m-n+1 bit of the DN value of the corrected image being 1 and the remaining bits being 0, and the DN value of the corrected image is detected to be correct;

[0027] S35. The addition and subtraction correction coefficient c is set to 0, the secondary correction coefficient a is set to 0, the primary correction coefficient b is set to the maximum value, and the DN value of the input parallel image data is reduced from the value corresponding to the m-n+1th bit of the DN value of the corrected image being 1 and the remaining bits being 0, and the DN value of the corrected image is detected to be correct;

[0028] Steps SS34 and S35 are repeated until the DN value of the input parallel image data is the value corresponding to the m-n+1th bit of the DN value of the corrected image being 1 and the remaining bits being 0, to detect whether the DN value of the corrected image is correct.

[0029] Furthermore, the TDICMOS data correction system includes a reflector group, a TDICMOS detector group, an imaging controller group, an integrating sphere, an image data acquisition and processor, the reflector group is distributed in the incident direction of the TDICMOS detector group, the number of reflectors is half the number of TDICMOS detectors, and the positions of the reflectors correspond one-to-one to the positions of the TDICMOS detectors, the imaging controller group generates the control and drive signals required for the operation of the TDICMOS detector group, and the TDICMOS detector group returns relevant status signals; the serial image data output by the TDICMOS detector group is conditioned by the imaging controller group, and then sent to the image data acquisition and processor in the form of parallel image data for processing, so as to realize the calculation of imaging parameters and correction parameters.

[0030] Furthermore, the TDICMOS data correction system also includes a temperature controller, and the TDICMOS detector group and the imaging controller group are placed in the temperature controller.

[0031] Furthermore, the reflectors and the TDICMOS detectors are alternately arranged.

[0032] Compared with the prior art, the invention can achieve the following beneficial effects:

[0033] 1. One decimal place is reserved for the intermediate results for rounding to provide correction accuracy;

[0034] 2. Set the number of decimal places and the bit width of the intermediate result according to the bit width of the input parallel data to ensure that there will be no overflow during the correction process;

[0035] 3. According to the bit width of the integer part of the primary correction coefficient, set the correction coefficient range and the gray value range of the input image to ensure that the detection range is fully covered, reduce the detection workload, and improve the detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings constituting part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments and descriptions of the present invention are used to explain the present invention and do not constitute an improper limitation on the present invention. In the drawings:

[0037] Figure 1 It is a schematic diagram of the structure of the TDICMOS data correction system according to an embodiment of the invention. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the invention more clear, the invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the invention and do not constitute a limitation of the invention.

[0039] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0040] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0041] In the description of the invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the invention can be understood according to specific circumstances.

[0042] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0043] The non-uniform correction and correctness detection method of the large-aperture space imaging system provided by the embodiment of the invention is implemented by using a TDICMOS data correction system.

[0044] like Figure 1As shown, the TDICMOS data correction system includes a reflector group, a TDICMOS detector group, an imaging controller group, an integrating sphere, an image data acquisition and processor, and a temperature controller. The reflector group is distributed in the incident direction of the TDICMOS detector group. The number of reflectors is half of the number of TDICMOS detectors, that is, reflectors are set in the incident direction of half of the TDICMOS detectors, and reflectors are not set in the incident direction of the other half of the TDICMOS detectors. For the TDICMOS detectors without reflectors in the incident direction, the light directly enters the TDICMOS detector. For the TDICMOS detectors with reflectors in the incident direction, the light is reflected to the TDICMOS detector after being irradiated by the reflectors. The TDICMOS detectors with reflectors in the incident direction can be odd-numbered detectors or even-numbered detectors, that is, the reflectors and TDICMOS detectors are alternately distributed.

[0045] The imaging controller group generates the control and drive signals required for the operation of the TDICMOS detector group, and the TDICMOS detector group returns relevant status signals; the serial image data output by the TDICMOS detector group is conditioned by the imaging controller group and sent to the image data acquisition and processor in the form of parallel image data for processing, so as to realize the calculation of imaging parameters and correction parameters.

[0046] The integrating sphere provides a reference light source for calibration, and it is assumed that the light source under the irradiation of the integrating sphere is uniform; after calibration, the integrating sphere can be used to test the calibration effect and determine the mean deviation of the DN values ​​between the pixels after calibration.

[0047] The TDICMOS detector group and the imaging controller group are placed in the temperature controller, and the temperature controller is used to realize constant temperature control of the TDICMOS detector group and the imaging controller group.

[0048] In a specific embodiment of the present invention, (1) the imaging controller group uses a Virtex 6 device and its internal resources; (2) the TDICMOS detector group uses a customized product of Gpixel Corporation; (3) the integrating sphere uses an ordinary integrating sphere with an aperture larger than the detector size; (4) the image data acquisition and processor uses a PC with a Camera Link acquisition card to acquire and process images; and (5) the temperature controller uses a high and low temperature chamber.

[0049] The invention provides a method for non-uniform correction and correctness detection of a large-aperture spatial imaging system, which sets the decimal part of the product correction coefficient and the bit width of the addition and subtraction correction coefficient c according to the bit width n of the input parallel image data. The product correction coefficient consists of a quadratic correction coefficient a and a linear correction coefficient b. The correction formula of the parallel image data is: y=ax 2+bx+c, where x is the DN value of the input parallel image data and y is the DN value of the corrected image;

[0050] Then the number of binary digits occupied by the decimal part of the quadratic correction coefficient a is 2n, the positive and negative signs occupy 1 bit, and the integer part of the quadratic correction coefficient a occupies 1 bit; the positive and negative signs of the addition and subtraction correction coefficient c occupy 1 bit, and the integer part of the addition and subtraction correction coefficient c occupies n bits; the number of binary digits occupied by the decimal part of the primary correction coefficient b is n+1, and the number of binary digits occupied by the integer part of the primary correction coefficient b is k, that is, the decimal number represented by the integer part is required to be greater than the ratio of the DN value of the maximum image collected to the DN value DNmin of the minimum image:

[0051] ;

[0052] Where DNmax represents the DN value of the maximum image, and DNmin represents the DN value of the minimum image.

[0053] 1. Non-uniformity correction

[0054] The steps of non-uniform correction include reserving decimal places for intermediate results, ax 2 +bx operation, ax 2 +bx+c operation, DN value processing of the corrected image.

[0055] S11. Reserve decimal places for intermediate results

[0056] The total bit width of the product of the primary correction coefficient b and the input parallel image data is 2n+k+1, the truncated bit width m is not less than n+k+1, and it is truncated from the 2n-1th bit of the total product bit width 2n+k+1; the square bit width of the product of the secondary correction coefficient a and the input parallel image data is 4n+1, the lowest 2n-1 bits of the square bit width of the product are truncated, and the bit width m is truncated from the 2nth bit.

[0057] S12.ax 2 +bx operation

[0058] ax 2 The bit width of ax and bx are both expanded to m+1, the high bits are filled with 0, and the bit width becomes m+1; if the secondary correction coefficient a is a positive number with a positive sign, then ax 2 The result of +bx is ax 2 The absolute value of ax is added to the absolute value of bx; if the quadratic correction coefficient a is negative, ax 2 The absolute value of ax is greater than the absolute value of bx, so the sign is negative. 2 The result of +bx is ax 2 The absolute value of ax minus the absolute value of bx; if the quadratic correction coefficient a is negative, ax 2The absolute value of ax is smaller than the absolute value of bx, so the sign is positive. 2 The result of +bx is the absolute value of bx minus ax 2 The absolute value of .

[0059] S13.ax 2 +bx+c operation

[0060] Ax 2 +bx and the bit width of the addition and subtraction correction coefficient c are both expanded to m+2, the high bits are filled with 0, and the bit width becomes m+2; if ax 2 If the result of +bx is positive, the sign is positive, ax 2 The result of +bx+c is ax 2 The absolute value of the result of +bx is added to the absolute value of the addition and subtraction correction coefficient c; if ax 2 The result of +bx is negative, ax 2 If the absolute value of the result of +bx is greater than the absolute value of the addition and subtraction correction coefficient c, the sign is negative, and ax 2 The result of +bx+c is ax 2 +bx minus the absolute value of the addition and subtraction correction coefficient c; if ax 2 The result of +bx is negative, ax 2 If the absolute value of the result of +bx is smaller than the absolute value of the addition and subtraction correction coefficient c, the sign is positive, and ax 2 The result of +bx+c is the absolute value of the addition and subtraction correction coefficient c minus ax 2 The absolute value of the result of +bx.

[0061] S14. DN value processing of the corrected image

[0062] If the upper m-n+1 bits are all 0, the sign of ax2+bx+c is positive, and the lower n+1 to 2 bits are all 1, then the final output value is all 1.

[0063] If the upper m-n+1 bits are all 0, ax 2 The sign of +bx+c is positive, the lower n+1 to 2 bits are not all 1, and the lowest is 1, so the final output value is the value of the lower n+1 to 2 bits plus 1.

[0064] If the upper m-n+1 bits are all 0, ax 2 The sign of +bx+c is positive, the lower n+1 to 2 bits are not all 1, and the lowest is 0, so the final output value is the value of the lower n+1 to 2 bits.

[0065] If the high m-n+1 bits are not all 0, ax 2 If the sign of +bx+c is positive, the final output value is all 1.

[0066] If the high m-n+1 bits are not all 0, ax2 If the sign of +bx+c is negative, the final output value is all 0.

[0067] The intermediate result is if ax 2 The operation of +bx+c is not completed in one clock tick. In order to save computing resources, it is usually completed in steps. The first step is to calculate x 2 , the second step is to calculate ax 2 , the third step calculates bx, and the fourth step calculates ax 2 +bx, the last step is to calculate ax 2 +bx+c. The calculation results before the last step are all intermediate results. The intermediate results are rounded off with one decimal place reserved to improve the correction accuracy.

[0068] 2. Detection of the correctness of the non-uniformity correction process

[0069] The steps for detecting the correctness of the non-uniform correction process include: detecting the correctness of the position of the addition and subtraction correction coefficient c, detecting the correctness of the position of the secondary correction coefficient a, detecting the correctness of the position of the primary correction coefficient b, and detecting the correctness of the DN value of the corrected image.

[0070] S21. Check the correctness of the position of the addition and subtraction correction coefficient c

[0071] Set the DN value of the input parallel image data to be constant , the secondary correction coefficient a and the primary correction coefficient b are both 0, and the value of the addition and subtraction correction coefficient c is from arrive The bit-by-bit change is 1 for cyclic change. The data length is the length of the channel. Check whether the DN value of the corrected image is correct.

[0072] S22. Check the correctness of the position of the secondary correction coefficient a

[0073] Set the DN value of the input parallel image data to be constant , the addition and subtraction correction coefficient c and the first correction coefficient b are both 0, and the value of the second correction coefficient a is from arrive Cyclic changes, bit by bit , the data length is the length of the channel, and the DN value of the corrected image is detected to see if it is correct.

[0074] S23. Check the correctness of the position of the primary correction coefficient b

[0075] Set the DN value of the input parallel image data to be constant , the addition and subtraction correction coefficient c and the secondary correction coefficient a are both 0, and the value of the primary correction coefficient b is arrive Cyclic changes, bit by bit , the data length is the length of the channel, and the DN value of the corrected image is detected to see if it is correct.

[0076] S24. Checking the correctness of the DN value of the corrected image

[0077] Set the DN value of the input parallel image data to the value from To 0, the cycle changes, bit by bit changes by 1; the value of the secondary correction coefficient a changes from arrive Cyclic changes, bit by bit ; The value of the primary correction coefficient b is arrive Cyclic changes, bit by bit ; The value of the addition and subtraction correction coefficient c is from arrive Change 1 bit by bit to cycle through the changes , the data length is the length of the channel, and the DN value of the corrected image is detected to see if it is correct.

[0078] The inspection method of the above steps S21-S24 is to compare whether the DN value of the corrected image is equal to the value calculated by a computer or other tool; if they are equal, the DN value of the corrected image is considered correct; if they are not equal, the DN value of the corrected image is considered wrong.

[0079] 3. Detection of calibration result overflow

[0080] The steps for detecting overflow of calibration results are as follows:

[0081] S31. Set the addition and subtraction correction coefficient c to the maximum value, the secondary correction coefficient a to a positive value, and the primary correction coefficient b to the maximum value. The DN value of the input parallel image data decreases from the maximum value. The data length is the length of the channel. Check whether the DN value of the corrected image is correct.

[0082] S32. Set the addition and subtraction correction coefficient c to 0, the secondary correction coefficient a to a positive value, and the primary correction coefficient b to the maximum value. The DN value of the input parallel image data decreases from the maximum value. The data length is the length of the channel. Check whether the DN value of the corrected image is correct.

[0083] S33. Set the addition and subtraction correction coefficient c to 0, the secondary correction coefficient a to 0, and the primary correction coefficient b to the maximum value. The DN value of the input parallel image data starts to decrease from the maximum value. The data length is the length of the channel. Check whether the DN value of the corrected image is correct.

[0084] S34. Set the addition and subtraction correction coefficient c to 0, the secondary correction coefficient a to 0, and the primary correction coefficient b to the maximum value. The DN value of the input parallel image data starts to decrease from the value corresponding to the highest bit of the m-n+1 bits of the DN value of the corrected image being 1 and the remaining bits being 0. The data length is the length of the channel. Check whether the DN value of the corrected image is correct.

[0085] S35. Set the addition and subtraction correction coefficient c to 0, the secondary correction coefficient a to 0, and the primary correction coefficient b to the maximum value. The DN value of the input parallel image data starts to decrease from the value corresponding to the second highest bit of the m-n+1 bit of the DN value of the corrected image being 1 and the remaining bits being 0. The data length is the length of the channel. Check whether the DN value of the corrected image is correct.

[0086] Loop steps SS34 and S35 until the DN value of the input parallel image data is the value corresponding to the m-n+1 bits of the DN value of the corrected image, with the lowest bit being 1 and the remaining bits being 0, and the data length being the length of the channel, and check whether the DN value of the corrected image is correct.

[0087] The inspection method of the above steps S31-S35 is to compare whether the DN value of the corrected image is equal to the value calculated by a computer or other tool; if they are equal, the DN value of the corrected image is considered correct; if they are not equal, the DN value of the corrected image is considered wrong.

[0088] Steps S31-S33 respectively detect the correctness of the relative positions of the three correction coefficient delays and the corresponding parts of the calculations; step S34 detects the correctness of the relative position of the input image and the correctness of the overall result; step S35 detects overflow of the correction result, especially the overflow problem that the correction coefficient of the vignetting area highlighted in the present invention is greater than the correction coefficient of the non-vignetting area, and finds the area where the overflow may occur for testing.

[0089] Steps S31-S35 are set to address possible errors that may occur during the correction process. Since a comprehensive coverage test requires a large workload, sampling tests are conducted in five aspects to ensure that the test covers various possible error links, while reducing the workload of the test and improving efficiency.

[0090] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the disclosure of the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.

[0091] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A non-uniformity correction method for a large-aperture spatial imaging system, implemented using a TDICMOS data correction system, characterized in that: The decimal part of the product correction coefficient and the bit width of the addition and subtraction correction coefficient c are set according to the bit width n of the input parallel image data. The product correction coefficient consists of a quadratic correction coefficient a and a primary correction coefficient b. The correction formula of the parallel image data is: y = ax 2 +bx+c, where x is the DN value of the input parallel image data and y is the DN value of the corrected image; Then the number of binary digits occupied by the decimal part of the quadratic correction coefficient a is 2n, the positive and negative signs occupy 1 bit, and the integer part of the quadratic correction coefficient a occupies 1 bit; the positive and negative signs of the addition and subtraction correction coefficient c occupy 1 bit, and the integer part of the addition and subtraction correction coefficient c occupies n bits; the number of binary digits occupied by the decimal part of the primary correction coefficient b is n+1, and the number of binary digits occupied by the integer part of the primary correction coefficient b is k, that is, the decimal number represented by the integer part is required to be greater than the ratio of the DN value of the maximum image collected to the DN value DNmin of the minimum image: ; In the formula, DNmax represents the DN value of the maximum image, and DNmin represents the DN value of the minimum image; The steps of non-uniformity correction include: S11. Intermediate result reservation: The total bit width of the product of the primary correction coefficient b and the input parallel image data is 2n+k+1, the intercepted bit width m is not less than n+k+1, and interception starts from the 2n-1th bit of the total bit width of the product 2n+k+1; the square bit width of the product of the secondary correction coefficient a and the input parallel image data is 4n+1, the lowest 2n-1 bits of the square bit width of the product are intercepted, and the bit width m is intercepted from the 2nth bit; S12.ax 2 +bx operation: ax 2 The bit widths of ax and bx are both expanded to m+1, the high bits are filled with 0, and the bit width becomes m+1; if the quadratic correction coefficient a is a positive number with a positive sign, then ax 2 The result of +bx is ax 2 The absolute value of ax is added to the absolute value of bx; if the quadratic correction coefficient a is negative, ax 2 The absolute value of ax is greater than the absolute value of bx, so the sign is negative. 2 The result of +bx is ax 2 The absolute value of ax minus the absolute value of bx; if the quadratic correction coefficient a is negative, ax 2 The absolute value of ax is smaller than the absolute value of bx, so the sign is positive. 2 The result of +bx is the absolute value of bx minus ax 2 The absolute value of S13.ax 2 +bx+c operation: ax 2 +bx and the bit width of the addition and subtraction correction coefficient c are both expanded to m+2, the high bits are filled with 0, and the bit width becomes m+2; if ax 2 If the result of +bx is positive, the sign is positive, ax 2 The result of +bx+c is ax 2 The absolute value of the result of +bx is added to the absolute value of the addition and subtraction correction coefficient c; if ax 2 The result of +bx is negative, ax 2 If the absolute value of the result of +bx is greater than the absolute value of the addition and subtraction correction coefficient c, the sign is negative, and ax 2 The result of +bx+c is ax 2 +bx minus the absolute value of the addition and subtraction correction coefficient c; if ax 2 The result of +bx is negative, ax 2 If the absolute value of the result of +bx is smaller than the absolute value of the addition and subtraction correction coefficient c, the sign is positive, and ax 2 The result of +bx+c is the absolute value of the addition and subtraction correction coefficient c minus ax 2 The absolute value of the result of +bx; S14. DN value processing of the corrected image: If the high m-n+1 bits are all 0, ax 2 +bx+c has a positive sign, and the lower n+1 to 2 bits are all 1, then the final output value is all 1; if the upper m-n+1 bits are all 0, ax 2 +bx+c has a positive sign, and the lower n+1 to 2 bits are not all 1, and the lowest is 1, then the final output value is the value of the lower n+1 to 2 bits plus 1; if the upper m-n+1 bits are all 0, ax 2 +bx+c has a positive sign, the lower n+1 to 2 bits are not all 1, and the lowest is 0, then the final output value is the value of the lower n+1 to 2 bits; if the upper m-n+1 bits are not all 0, ax 2 +bx+c has a positive sign, the final output value is all 1; if the high m-n+1 bits are not all 0, ax 2 If the sign of +bx+c is negative, the final output value is all 0.

2. The non-uniform correction method for a large-aperture space imaging system according to claim 1, characterized in that: The steps to check the correctness of the non-uniformity correction process include: S21. Correctness check of the position of the addition and subtraction correction coefficient c: Set the DN value of the input parallel image data to be constant , the secondary correction coefficient a and the primary correction coefficient b are both 0, and the value of the addition and subtraction correction coefficient c is from arrive The DN value of the corrected image is tested by changing the bit by 1 to make a cyclic change. S22. Check the correctness of the position of the secondary correction coefficient a: Set the DN value of the input parallel image data to be constant , the addition and subtraction correction coefficient c and the first correction coefficient b are both 0, and the value of the second correction coefficient a is from arrive Cyclic changes, bit by bit , detect whether the DN value of the corrected image is correct; S23. Correctness check of the position of the primary correction coefficient b: Set the DN value of the input parallel image data to be constant , the addition and subtraction correction coefficient c and the secondary correction coefficient a are both 0, and the value of the primary correction coefficient b is arrive Cyclic changes, bit by bit , detect whether the DN value of the corrected image is correct; S24. Correctness check of the DN value of the corrected image: Set the DN value of the input parallel image data to be a value from To 0, the cycle changes, bit by bit changes by 1; the value of the secondary correction coefficient a changes from arrive Cyclic changes, bit by bit ; The value of the primary correction coefficient b is arrive Cyclic changes, bit by bit ; The value of the addition and subtraction correction coefficient c is from arrive Change 1 bit by bit to cycle through the changes , check whether the DN value of the corrected image is correct.

3. The non-uniform correction method for a large-aperture space imaging system according to claim 1, characterized in that: The steps for detecting overflow of the correction result include: S31. The addition and subtraction correction coefficient c is set to the maximum value, the secondary correction coefficient a is set to a positive value, the primary correction coefficient b is set to the maximum value, the DN value of the input parallel image data is reduced from the maximum value, and the DN value of the corrected image is detected to be correct; S32. The addition and subtraction correction coefficient c is set to 0, the secondary correction coefficient a is set to a positive value, the primary correction coefficient b is set to the maximum value, the DN value of the input parallel image data is reduced from the maximum value, and the DN value of the corrected image is detected to be correct; S33. The addition and subtraction correction coefficient c is set to 0, the secondary correction coefficient a is set to 0, the primary correction coefficient b is set to the maximum value, the DN value of the input parallel image data decreases from the maximum value, and the DN value of the corrected image is detected to be correct; S34. The addition and subtraction correction coefficient c is set to 0, the secondary correction coefficient a is set to 0, the primary correction coefficient b is set to the maximum value, and the DN value of the input parallel image data is reduced from the value corresponding to the highest bit of the m-n+1 bit of the DN value of the corrected image being 1 and the remaining bits being 0, and whether the DN value of the corrected image is correct is detected; S35. The addition and subtraction correction coefficient c is set to 0, the secondary correction coefficient a is set to 0, and the primary correction coefficient b is set to the maximum value, and the DN value of the input parallel image data is reduced from the value corresponding to the second highest bit of the m-n+1 bit of the DN value of the corrected image being 1 and the remaining bits being 0, and whether the DN value of the corrected image is correct is detected; Steps SS34 and S35 are repeated until the DN value of the input parallel image data is the value corresponding to the m-n+1th bit of the DN value of the corrected image being 1 and the remaining bits being 0, to detect whether the DN value of the corrected image is correct.

4. The non-uniform correction method for a large-aperture space imaging system according to claim 1, characterized in that: The TDICMOS data correction system includes a reflector group, a TDICMOS detector group, an imaging controller group, an integrating sphere, and an image data acquisition and processor. The reflector group is distributed in the incident direction of the TDICMOS detector group. The number of reflectors is half of the number of TDICMOS detectors, and the positions of the reflectors correspond one-to-one to the positions of the TDICMOS detectors. The imaging controller group generates control and drive signals required for the operation of the TDICMOS detector group, and the TDICMOS detector group returns relevant status signals. The serial image data output by the TDICMOS detector group is conditioned by the imaging controller group and sent to the image data acquisition and processor in the form of parallel image data for processing, so as to realize the calculation of imaging parameters and correction parameters.

5. The non-uniform correction method for a large-aperture space imaging system according to claim 4, characterized in that: The TDICMOS data correction system also includes a temperature controller, and the TDICMOS detector group and the imaging controller group are placed in the temperature controller.

6. The non-uniform correction method for a large-aperture space imaging system according to claim 4, characterized in that: The reflectors and TDICMOS detectors are arranged alternately.