Image data time code correction method for high-resolution linear push-broom imaging cameras
By identifying and correcting abnormal jump points in the time code collected by the high-resolution camera, the corrected time code sequence is generated, which solves the problem of image data discontinuity caused by the delay of the timing system, improves the image accuracy, and meets the accuracy requirements of remote sensing measurements. .
Patent Information
- Application Number
- CN202410172228.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-07
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-02-07
Smart Images

Figure CN117956204B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and more specifically to a method and device for correcting image data time code of a high-resolution linear array push-scan imaging camera. Background Art
[0002] The Tianwen-1 high-resolution camera uses a TDI-CCD detector to acquire image data of the Martian surface line by line in a push-scan mode. The high-resolution camera assigns an image time code to each line of image data collected, and the image time code accuracy is at the microsecond level.
[0003] The data timing of the high-resolution camera is completed by two timing systems, one of which is installed inside the high-resolution camera (internal timing system) and the other is installed on the detector platform (external timing system). The two timing systems work together. The push-scan frame rate of the high-resolution camera can reach up to 8000 / s, so it is impossible to perform timing for each frame of data. To solve this problem, the high-resolution camera uses a timing every T seconds (usually 0.5 seconds) and sends it to the most recent data row. The data between the two timings is calculated by combining the timing and frame rate. The specific working processes of the two timing systems are as follows:
[0004] (1) After the high-resolution camera is turned on, the internal timing system waits for data acquisition. When the first frame of data is collected, the timing is performed and the external timing system is waited for to send the latest calibration time.
[0005] (2) The external timing system sends a set of correction time codes to the high-resolution camera every T seconds. After receiving the time code sent by the external timing system, the internal timing system of the high-resolution camera updates its own time code and transmits the updated time code to the most recently collected data row;
[0006] (3) The high-resolution camera processor calculates the time code corresponding to the image data collected before two timing synchronizations through the frame rate and timing time.
[0007] Since the external timing system needs to transmit the correction time to the internal timing system after obtaining it, there is a communication delay that causes the internal timing system to obtain a delayed correction time, which makes the time code calculated by the high-resolution camera processor inconsistent with the actual calibration time provided to them for synchronization operations. As a result, there are discontinuities and jumps in the data.
[0008] Considering that the push-scan frame rate of a high-resolution camera can reach 8000 / s and a line of data can be collected every 125 microseconds at the fastest, if the communication error reaches the thousand-microsecond level and an image error of more than 10 pixels is generated, the image accuracy will be greatly reduced and will not be able to meet the requirements of related applications such as remote sensing measurement (remote sensing measurement usually requires an error within 1 pixel). Summary of the invention
[0009] In view of the above problems, the present invention provides a method and device for correcting the time code of image data of a high-resolution linear array push-scan imaging camera.
[0010] According to a first aspect of the present invention, there is provided a method for correcting time codes of image data of a high-resolution linear array push-broom imaging camera, comprising: obtaining a plurality of time codes generated by a high-resolution linear array push-broom imaging camera when acquiring images and matching a plurality of image data, and determining an initial time code among the plurality of time codes; determining a corresponding line frequency sequence according to the plurality of time codes and the initial time code, and using the line frequency sequence as an initial line frequency sequence; wherein the initial line frequency sequence comprises a plurality of line frequencies, which are respectively the difference results between a plurality of adjacent time codes; traversing the plurality of line frequencies in the initial line frequency sequence, and determining an abnormal jump point corresponding to the time code; based on the initial line frequency sequence, performing correction processing on the line frequency matching the abnormal jump point to obtain a corrected line frequency sequence; and determining a target time code sequence for the plurality of image data according to the corrected line frequency sequence.
[0011] According to an embodiment of the present invention, the traversing of multiple line frequencies in the initial line frequency sequence to determine the abnormal jump point corresponding to the time code includes: traversing multiple line frequencies in the initial line frequency sequence to determine whether the target line frequency and the next line frequency corresponding to the target line frequency are consistent; in the case where it is determined that the target line frequency and the next line frequency corresponding to the target line frequency are inconsistent, determining the time code matching the target line frequency, and obtaining a preset high-resolution time register storage error value; according to the high-resolution time register storage error value, the target line frequency, the next line frequency corresponding to the target line frequency, and the previous line frequency corresponding to the target line frequency One or more of the line frequencies, determine whether the time code matching the target line frequency is the abnormal jump point; when the target line frequency is less than or equal to zero, determine the time code matching the target line frequency as the abnormal jump point; and when the target line frequency is greater than zero, the absolute value of the difference between the target line frequency and the previous line frequency corresponding to the target line frequency is greater than the error value stored in the high-division time register, and the absolute value of the difference between the target line frequency and the next line frequency corresponding to the target line frequency is greater than the error value stored in the high-division time register, determine the time code matching the target line frequency as the abnormal jump point.
[0012] According to an embodiment of the present invention, the method further includes: when it is determined that the target line frequency is consistent with a subsequent line frequency corresponding to the target line frequency, determining a time code matching the target line frequency, and using the time code as a normal line frequency change point.
[0013] According to an embodiment of the present invention, the method also includes: when the target line frequency is greater than zero, and the absolute value of the difference between the target line frequency and the previous line frequency corresponding to the target line frequency is less than or equal to the error value stored in the high-division time register, determining that the time code matching the target line frequency is a non-abnormal jump point; or when the target line frequency is greater than zero, and the absolute value of the difference between the target line frequency and the next line frequency corresponding to the target line frequency is less than or equal to the error value stored in the high-division time register, determining that the time code matching the target line frequency is a non-abnormal jump point.
[0014] According to an embodiment of the present invention, based on the initial line frequency sequence, the line frequency matching the abnormal jump point is corrected to obtain a corrected line frequency sequence, including: based on the initial line frequency sequence, correcting the line frequency matching the abnormal jump point to a line frequency that is a digit lower than the line frequency matching the abnormal jump point to obtain a corrected line frequency; and based on the initial line frequency sequence and the corrected line frequency, obtaining a corrected line frequency sequence.
[0015] The second aspect of the present invention provides an image data time code correction device for a high-resolution linear array push-broom imaging camera, comprising: an acquisition module, used to acquire multiple time codes matching multiple image data generated when the high-resolution linear array push-broom imaging camera captures images, and determine the initial time code among the multiple time codes; a first determination module, used to determine the corresponding line frequency sequence based on the multiple time codes and the initial time code, and use the line frequency sequence as the initial line frequency sequence; wherein the initial line frequency sequence includes multiple line frequencies, and the multiple line frequencies are respectively the difference results between multiple adjacent time codes; a second determination module, used to traverse the multiple line frequencies in the initial line frequency sequence, and determine the abnormal jump point corresponding to the time code; a correction module, used to perform correction processing on the line frequency matching the abnormal jump point based on the initial line frequency sequence to obtain a corrected line frequency sequence; and a third determination module, used to determine the target time code sequence of multiple image data based on the corrected line frequency sequence.
[0016] The third aspect of the present invention provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-disclosed method.
[0017] The fourth aspect of the present invention also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method disclosed above. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above contents and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0019] Figure 1 A flowchart of a method for correcting image data time code of a high-resolution linear array push-broom imaging camera according to an embodiment of the present invention is schematically shown;
[0020] Figure 2 A block diagram schematically shows a structure of an image data time code correction device for a high-resolution linear array push-broom imaging camera according to an embodiment of the present invention; and
[0021] Figure 3 A block diagram of an electronic device suitable for implementing a method for correcting image data time code of a high-resolution linear array push-broom imaging camera according to an embodiment of the present invention is schematically shown. DETAILED DESCRIPTION
[0022] Below, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of concepts of the present invention.
[0023] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0024] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0025] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0026] It is understandable that due to the communication delay between two or more timing systems on the orbit, the high-resolution camera timing is abnormal, which in turn causes the high-resolution camera data time code to be discontinuous or time jumps. The present invention provides a method for correcting the data acquisition time using the downlink data of the high-resolution camera, namely, "the image data time code correction method of the high-resolution linear array push-scan imaging camera", to solve the problem of the high-resolution camera data time code being discontinuous due to the communication delay between the two timing systems.
[0027] pass Figure 1 A method for correcting time code of image data of a high-resolution linear array push-broom imaging camera of a disclosed embodiment is described in detail.
[0028] Figure 1 The flowchart of the method for correcting the image data time code of a high-resolution linear array push-broom imaging camera according to an embodiment of the present invention is schematically shown. Figure 1 As shown, this embodiment includes operations S101 to S105.
[0029] In operation S101, a plurality of time codes matching a plurality of image data generated when a high-resolution linear array push-scan imaging camera captures an image are acquired, and an initial time code among the plurality of time codes is determined.
[0030] In operation S102, a corresponding line frequency sequence is determined according to multiple time codes and an initial time code, and the line frequency sequence is used as an initial line frequency sequence; wherein the initial line frequency sequence includes multiple line frequencies, and the multiple line frequencies are respectively the difference results between multiple adjacent time codes.
[0031] In operation S103, a plurality of line frequencies in the initial line frequency sequence are traversed to determine an abnormal jump point corresponding to the time code.
[0032] In some embodiments, traversing multiple line frequencies in the initial line frequency sequence and determining an abnormal jump point corresponding to the time code may include the following processing.
[0033] Ⅰ. Traverse multiple line frequencies in the initial line frequency sequence to determine whether the target line frequency is consistent with the next line frequency corresponding to the target line frequency.
[0034] II. When it is determined that the target line frequency and the subsequent line frequency corresponding to the target line frequency are inconsistent, a time code matching the target line frequency is determined, and a preset high-resolution time register storage error value is obtained;
[0035] III. Determine whether the time code matching the target line frequency is an abnormal jump point based on one or more of the error value stored in the high-resolution time register, the target line frequency, the next line frequency corresponding to the target line frequency, and the previous line frequency corresponding to the target line frequency.
[0036] IV. When the target line frequency is less than or equal to zero, the time code matching the target line frequency is determined as the abnormal jump point.
[0037] V. When the target line frequency is greater than zero, the absolute value of the difference between the target line frequency and the previous line frequency corresponding to the target line frequency is greater than the error value stored in the high-division time register, and the absolute value of the difference between the target line frequency and the next line frequency corresponding to the target line frequency is greater than the error value stored in the high-division time register, the time code matching the target line frequency is determined to be an abnormal jump point.
[0038] In operation S104, based on the initial line frequency sequence, a correction process is performed on the line frequency matching the abnormal jump point to obtain a corrected line frequency sequence.
[0039] In some embodiments, based on the initial line frequency sequence, correction processing is performed on the line frequency matching the abnormal jump point to obtain a corrected line frequency sequence, which may include: based on the initial line frequency sequence, correcting the line frequency matching the abnormal jump point to a line frequency that is the next digit of the line frequency matching the abnormal jump point to obtain a corrected line frequency; and based on the initial line frequency sequence and the corrected line frequency, obtaining a corrected line frequency sequence.
[0040] In operation S105, a target time code sequence of a plurality of image data is determined according to the corrected line frequency sequence.
[0041] In some embodiments, the image data time code correction method of a high-resolution linear array push-broom imaging camera may also include the following processing.
[0042] VI. When it is determined that the target line frequency is consistent with the subsequent line frequency corresponding to the target line frequency, a time code matching the target line frequency is determined, and the time code is used as a normal line frequency change point.
[0043] VII. When the target line frequency is greater than zero and the absolute value of the difference between the target line frequency and the previous line frequency corresponding to the target line frequency is less than or equal to the error value stored in the high-resolution time register, the time code matching the target line frequency is determined as a non-abnormal jump point, for example, as a time code allocation point.
[0044] VIII. When the target line frequency is greater than zero and the absolute value of the difference between the target line frequency and the previous line frequency corresponding to the target line frequency is less than or equal to the error value stored in the high-resolution time register, the time code matching the target line frequency is determined as a non-abnormal jump point, for example, as a time code allocation point.
[0045] In order to better understand the image data time code correction method of the high-resolution linear array push-broom imaging camera of the present invention, the content of the image data time code correction method of the high-resolution linear array push-broom imaging camera is further explained below in conjunction with the embodiments, but the present invention is not limited to the following embodiments.
[0046] The image data format of the high-resolution camera is as follows (Table 1). After acquiring the image data on orbit, the external timing system and the camera's internal timing system work together to assign time codes to the image data:
[0047] (1) The external timing system sends a time code to the internal timing system at a certain interval T. After receiving the time code, the internal timing system of the camera updates its own time code and assigns it to the latest image data;
[0048] (2) The image data rows collected between two timing time codes are assigned time codes through the camera processor.
[0049] Table 1 High-resolution camera data format
[0050]
[0051] Since the external timing system and the camera's internal timing system are located at different locations on the detector, there is a communication transmission delay, which may cause the actual data acquisition time to deviate from the time code assigned by the external timing system, thus causing data time code anomalies. Therefore, the deviation needs to be corrected, for example, the specific correction method and steps are as follows.
[0052] Step 1: First read the time code of each line of image, and take the first line time T0 as the initial time code;
[0053] Step 2: Calculate the initial line frequency (frame frequency) of the image by subtracting the time code of the previous line of image from the time code of the next line of image to obtain the initial line frequency sequence;
[0054] F0 i =T i+1 -T i Formula 1
[0055] Step 3: Next, confirm the abnormal jump point: traverse the line frequency sequence obtained in step 2 in order. If the newly read line frequency (i.e., the line frequency corresponding to the target line frequency) is inconsistent with the previous data line frequency (i.e., the target line frequency), further determine whether correction is required:
[0056] (1) Whether the line frequency is consistent with the line frequency of the next image. If so, it is a normal line frequency change point and no correction is required.
[0057] (2) Whether the line frequency is consistent with the line frequency of the next line of image. If not, this point is the time code allocation point of the time system. The time of the time code allocation point is judged as follows:
[0058] a) If the line frequency F at the time allocation point n >0, and |F n -F n-1 |≤K or |F n -Fn+1 |≤K, the time allocation point is normal and no correction is required. K is the storage error of the high-division time register;
[0059] b) If the line frequency F at the time allocation point n >0, and |F n -F n-1 |>K and |F n -F n+1 |>K, this time allocation point is an abnormal jump point and needs to be corrected;
[0060] c) If the line frequency F at the time allocation point n ≤0, the time allocation point is an abnormal jump point and needs to be corrected;
[0061] Step 4: Modify the line frequency at the abnormal jump point to generate a new line frequency sequence: modify the line frequency of the time jump point judged as abnormal as follows, and assign the latter line frequency to the line frequency of the abnormal jump point:
[0062] F n =F n-1 Formula 2
[0063] Among them, Fn is the abnormal jump point line frequency.
[0064] Step 5: Generate a new image data time code sequence. The calculation formula is as follows: each row of time code is the recalculated time code of the previous row + the modified line frequency;
[0065] T N =T N-1 +F n-1 =T0+F0+F1+…+F n-1 Formula 3
[0066] At this point, the time code correction of the high-resolution camera image data has been completed, and a continuous image time series has been obtained, which can be used for subsequent remote sensing measurements and other applications.
[0067] The image data time code correction method of the high-resolution linear array push-broom imaging camera of the embodiment of the present invention obtains multiple time codes matching multiple image data generated by the high-resolution linear array push-broom imaging camera when collecting images, and determines the initial time code among the multiple time codes; determines the corresponding line frequency sequence according to the multiple time codes and the initial time code, and uses the line frequency sequence as the initial line frequency sequence; wherein the initial line frequency sequence includes multiple line frequencies, and the multiple line frequencies are respectively the difference results between multiple adjacent time codes; traverses the multiple line frequencies in the initial line frequency sequence to determine the abnormal jump point corresponding to the time code; based on the initial line frequency sequence, corrects the line frequency matching the abnormal jump point to obtain a corrected line frequency sequence; and determines the target time code sequence of the multiple image data according to the corrected line frequency sequence, thereby solving the problem of discontinuity of the time code of the high-resolution camera data caused by the communication delay of the two sets of timing systems, and then the corrected target time code sequence can be used for subsequent remote sensing measurement and other applications.
[0068] Figure 2 The structure block diagram of the image data time code correction device of the high-resolution linear array push-broom imaging camera according to an embodiment of the present invention is schematically shown.
[0069] like Figure 2 As shown, the image data time code correction device 200 of the high-resolution linear array push-broom imaging camera of this embodiment includes an acquisition module 201, a first determination module 202, a second determination module 203, a correction module 204 and a third determination module 205.
[0070] An acquisition module 201 is used to acquire multiple time codes matching multiple image data generated when a high-resolution linear array push-scan imaging camera captures images, and to determine an initial time code among the multiple time codes; a first determination module 202 is used to determine a corresponding line frequency sequence based on the multiple time codes and the initial time code, and to use the line frequency sequence as an initial line frequency sequence; wherein the initial line frequency sequence includes multiple line frequencies, and the multiple line frequencies are respectively the difference results between multiple adjacent time codes; a second determination module 203 is used to traverse the multiple line frequencies in the initial line frequency sequence and determine an abnormal jump point corresponding to the time code; a correction module 204 is used to perform correction processing on the line frequency matching the abnormal jump point based on the initial line frequency sequence to obtain a corrected line frequency sequence; and a third determination module 205 is used to determine a target time code sequence for multiple image data based on the corrected line frequency sequence.
[0071] According to an embodiment of the present invention, any multiple modules in the acquisition module 201, the first determination module 202, the second determination module 203, the correction module 204 and the third determination module 205 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present invention, at least one of the acquisition module 201, the first determination module 202, the second determination module 203, the correction module 204 and the third determination module 205 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation modes of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of the acquisition module 201, the first determination module 202, the second determination module 203, the correction module 204 and the third determination module 205 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.
[0072] Figure 3 A block diagram of an electronic device suitable for implementing a method for correcting image data time code of a high-resolution linear array push-broom imaging camera according to an embodiment of the present invention is schematically shown.
[0073] like Figure 3 As shown, the electronic device 300 according to an embodiment of the present invention includes a processor 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage part 308 into a random access memory (RAM) 303. The processor 301 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 301 may also include an onboard memory for caching purposes. The processor 301 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.
[0074] In RAM 303, various programs and data required for the operation of electronic device 300 are stored. Processor 301, ROM 302 and RAM 303 are connected to each other through bus 304. Processor 301 performs various operations of the method flow according to the embodiment of the present invention by executing the program in ROM 302 and / or RAM 303. It should be noted that the program can also be stored in one or more memories other than ROM 302 and RAM 303. Processor 301 can also perform various operations of the method flow according to the embodiment of the present invention by executing the program stored in the one or more memories.
[0075] According to an embodiment of the present invention, the electronic device 300 may further include an input / output (I / O) interface 305, which is also connected to the bus 304. The electronic device 300 may further include one or more of the following components connected to the I / O interface 305: an input portion 306 including a keyboard, a mouse, etc.; an output portion 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 308 including a hard disk, etc.; and a communication portion 309 including a network interface card such as a LAN card, a modem, etc. The communication portion 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage portion 308 as needed.
[0076] The present invention also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiment; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present invention is implemented.
[0077] According to an embodiment of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present invention, the computer-readable storage medium may include the ROM 302 and / or RAM 303 described above and / or one or more memories other than ROM 302 and RAM 303.
[0078] The embodiment of the present invention also includes a computer program product, which includes a computer program, and the computer program includes a program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the image data time code correction method for the high-resolution linear array push-broom imaging camera provided by the embodiment of the present invention.
[0079] The computer program executes the above functions defined in the system / device of the embodiment of the present invention when it is executed by the processor 301. According to the embodiment of the present invention, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0080] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 309, and / or installed from the removable medium 311. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0081] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 309, and / or installed from the removable medium 311. When the computer program is executed by the processor 301, the above functions defined in the system of the embodiment of the present invention are performed. According to the embodiment of the present invention, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0082] According to an embodiment of the present invention, the program code for executing the computer program provided by the embodiment of the present invention can be written in any combination of one or more programming languages, specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, such as Java, C++, python, "C" language or similar programming languages. The program code can be executed completely on the user computing device, partially on the user device, partially on the remote computing device, or completely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0083] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0084] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present invention may be combined and / or coupled in a variety of ways, even if such combinations and / or couplings are not explicitly described in the present invention. In particular, the features described in the various embodiments and / or claims of the present invention may be combined and / or coupled in a variety of ways without departing from the spirit and teachings of the present invention. All of these combinations and / or couplings fall within the scope of the present invention.
[0085] The embodiments of the present invention have been described above. However, these embodiments are only for the purpose of illustration, and are not intended to limit the scope of the present invention. Although each embodiment has been described above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. The scope of the present invention is limited by the appended claims and their equivalents. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.
Claims
1. A method for correcting image data time code of a high-resolution linear array push-scan imaging camera, comprising: Acquire multiple time codes matching multiple image data generated when the high-resolution linear array push-scan imaging camera acquires images, and determine an initial time code among the multiple time codes; Determine a corresponding line frequency sequence according to the multiple time codes and the initial time code, and use the line frequency sequence as an initial line frequency sequence; wherein the initial line frequency sequence includes multiple line frequencies, and the multiple line frequencies are respectively the difference results between multiple adjacent time codes; Traversing multiple line frequencies in the initial line frequency sequence to determine an abnormal jump point corresponding to the time code; Based on the initial line frequency sequence, a line frequency matching the abnormal jump point is corrected to obtain a corrected line frequency sequence; and Determining a target time code sequence of a plurality of image data according to the corrected line frequency sequence; The traversing of the multiple line frequencies in the initial line frequency sequence to determine the abnormal jump point corresponding to the time code includes: Traversing multiple line frequencies in the initial line frequency sequence, and determining whether a target line frequency is consistent with a subsequent line frequency corresponding to the target line frequency; In the case where it is determined that the target line frequency and the subsequent line frequency corresponding to the target line frequency are inconsistent, determining a time code matching the target line frequency, and obtaining a preset high-resolution time register storage error value; Determine whether the time code matching the target line frequency is the abnormal jump point according to one or more of the error value stored in the high-resolution time register, the target line frequency, the next line frequency corresponding to the target line frequency, and the previous line frequency corresponding to the target line frequency; When the target line frequency is less than or equal to zero, determining a time code matching the target line frequency as the abnormal transition point; and When the target line frequency is greater than zero, the absolute value of the difference between the target line frequency and the previous line frequency corresponding to the target line frequency is greater than the error value stored in the high-division time register, and the absolute value of the difference between the target line frequency and the next line frequency corresponding to the target line frequency is greater than the error value stored in the high-division time register, the time code matching the target line frequency is determined to be the abnormal jump point.
2. The method according to claim 1, further comprising: When it is determined that the target line frequency is consistent with the subsequent line frequency corresponding to the target line frequency, a time code matching the target line frequency is determined, and the time code is used as a normal line frequency change point.
3. The method according to claim 1, further comprising: When the target line frequency is greater than zero and the absolute value of the difference between the target line frequency and the previous line frequency corresponding to the target line frequency is less than or equal to the error value stored in the high-resolution time register, determining the time code matching the target line frequency as a non-abnormal jump point; or When the target line frequency is greater than zero and the absolute value of the difference between the target line frequency and the subsequent line frequency corresponding to the target line frequency is less than or equal to the error value stored in the high-division time register, the time code matching the target line frequency is determined to be a non-abnormal jump point.
4. The method according to claim 1, wherein: The correcting process is performed on the line frequency matching the abnormal jump point based on the initial line frequency sequence to obtain a corrected line frequency sequence, including: Based on the initial line frequency sequence, the line frequency matching the abnormal jump point is corrected to a line frequency that is a digit lower than the line frequency matching the abnormal jump point, to obtain a corrected line frequency; and Based on the initial line frequency sequence and the corrected line frequency, a corrected line frequency sequence is obtained.
5. An image data time code correction device for a high-resolution linear array push-scan imaging camera, comprising: An acquisition module, used to acquire a plurality of time codes matching a plurality of image data generated when a high-resolution linear array push-scan imaging camera acquires an image, and determine an initial time code among the plurality of time codes; A first determination module is used to determine a corresponding line frequency sequence according to the multiple time codes and the initial time code, and use the line frequency sequence as an initial line frequency sequence; wherein the initial line frequency sequence includes multiple line frequencies, and the multiple line frequencies are respectively the difference results between multiple adjacent time codes; A second determination module, configured to traverse a plurality of line frequencies in the initial line frequency sequence and determine an abnormal jump point corresponding to a time code; a correction module, configured to perform correction processing on the line frequency matching the abnormal jump point based on the initial line frequency sequence to obtain a corrected line frequency sequence; and A third determination module, used to determine a target time code sequence of a plurality of image data according to the corrected line frequency sequence; Wherein, the second determining module includes: A first determining unit, configured to traverse a plurality of line frequencies in the initial line frequency sequence, and determine whether a target line frequency is consistent with a subsequent line frequency corresponding to the target line frequency; A second determination unit is used to determine a time code matching the target line frequency and obtain a preset high-resolution time register storage error value when it is determined that the target line frequency and the subsequent line frequency corresponding to the target line frequency are inconsistent; A third determining unit is used to determine whether the time code matching the target line frequency is the abnormal jump point according to one or more of the error value stored in the high-resolution time register, the target line frequency, the next line frequency corresponding to the target line frequency, and the previous line frequency corresponding to the target line frequency; A fourth determining unit, configured to determine, when the target line frequency is less than or equal to zero, a time code matching the target line frequency as the abnormal transition point; and The fifth determination unit is used to determine that the time code matching the target line frequency is the abnormal jump point when the target line frequency is greater than zero, the absolute value of the difference between the target line frequency and the previous line frequency corresponding to the target line frequency is greater than the error value stored in the high-division time register, and the absolute value of the difference between the target line frequency and the next line frequency corresponding to the target line frequency is greater than the error value stored in the high-division time register.
6. The apparatus according to claim 5, further comprising: The sixth determining unit is used to determine a time code matching the target line frequency when it is determined that the target line frequency is consistent with a subsequent line frequency corresponding to the target line frequency, and use the time code as a normal line frequency change point.
7. An electronic device comprising: one or more processors; a storage device 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 execute the method according to any one of claims 1 to 4.
8. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 4.
