Search

CN-121994833-A - Image acquisition method and system

CN121994833ACN 121994833 ACN121994833 ACN 121994833ACN-121994833-A

Abstract

The embodiment of the application provides an image acquisition method and system, wherein the image acquisition method comprises the steps of acquiring imaging pulse sequence information of an object to be detected, synchronously analyzing scanned image data to determine synchronous starting time between the image data and a pulse type ray source in a background scanning state, predicting arrival time of at least one imaging pulse in the imaging pulse sequence to be transmitted according to the synchronous starting time and the imaging pulse sequence information, controlling a detector to switch from the background scanning state to an integration state before the arrival time so as to receive the at least one imaging pulse, and executing image reading operation to read out an image corresponding to the at least one imaging pulse in response to the completion of the receiving of the at least one imaging pulse. The embodiment of the application omits a synchronous physical synchronization cable, reduces the system cost and the integration difficulty, and is particularly suitable for a nondestructive testing system of MV-level high-energy pulse X-rays.

Inventors

  • GAO PENGFEI
  • XU YAN
  • HUANG YIMIN

Assignees

  • 奕瑞影像科技(海宁)有限公司

Dates

Publication Date
20260508
Application Date
20260129

Claims (12)

  1. 1. An image acquisition method applied to a detector, the image acquisition method comprising: Acquiring imaging pulse sequence information aiming at an object to be detected, wherein the imaging pulse sequence information is attribute information of an imaging pulse sequence to be transmitted, which is designed aiming at the detection; synchronously analyzing scanned image data to determine synchronous starting time with a pulse ray source in a background scanning state, wherein the background scanning state is used for clearing leakage current; Predicting the arrival time of at least one imaging pulse in the imaging pulse sequence to be transmitted according to the synchronous starting time and the imaging pulse sequence information; before the arrival time, controlling the detector to switch from the background scanning state to an integration state to receive the at least one imaging pulse; In response to the at least one imaging pulse reception being completed, an image reading operation is performed to read out an image corresponding to the at least one imaging pulse.
  2. 2. The image acquisition method according to claim 1, wherein, The step of synchronously analyzing scanned image data to determine synchronous starting time with the pulse ray source in the background scanning state comprises the following steps: confirming that at least one feature image is detected; and determining the synchronization starting moment according to the at least one characteristic image.
  3. 3. The method of image acquisition according to claim 2, wherein, The confirming that at least one feature image is detected comprises: confirming that the first feature image is detected; the determining the synchronization start time according to the at least one feature image includes: determining the arrival time of the first pulse according to the first characteristic image; and taking the arrival time of the first pulse as the synchronization starting time.
  4. 4. The method of claim 3, wherein the step of, The determining the arrival time of the first pulse according to the first characteristic image comprises calculating the arrival time of the first pulse based on the line position and the line scanning period of the bright line in the first characteristic image.
  5. 5. The image acquisition method according to claim 2, wherein, The method further comprises the steps of: Acquiring synchronous pulse sequence information, wherein the synchronous pulse sequence information is used for defining a synchronous pulse coding rule; Wherein, the The confirming that at least one feature image is detected comprises: Confirming that a plurality of feature images are continuously detected; the determining the synchronization start time according to the at least one feature image includes: confirming that attribute information of a plurality of pulses corresponding to the plurality of feature images meets the synchronous pulse coding rule, wherein one feature image is triggered and generated by one pulse; And taking the arrival time of the target pulse in the plurality of pulses as the synchronization starting time.
  6. 6. The image acquisition method according to claim 5, wherein, The synchronous pulse coding rule is used for defining time intervals among a plurality of synchronous pulses in a synchronous pulse sequence; The confirming that the attribute information of the plurality of pulses corresponding to the plurality of feature images satisfies the synchronous pulse encoding rule includes: acquiring arrival moments of the plurality of pulses to obtain a pulse arrival time sequence; and if the time interval between adjacent arrival time points in the pulse arrival time sequence is confirmed to be matched with the time interval defined in the synchronous pulse sequence coding rule, confirming that the synchronous pulse coding rule is met.
  7. 7. The method according to any one of claims 1 to 6, wherein the feature image is an image in which a bright line appears; The confirming that at least one feature image is detected comprises: if the gray value of one line or the gray statistical value of the continuous lines of the j-th image exceeds a background gray threshold value, determining the j-th image as the characteristic image; Or alternatively, the first and second heat exchangers may be, And if the gray level difference between the row where the bright line is positioned and the row nearby the row where the bright line is positioned on the j-th image is confirmed to meet the requirement, determining the j-th image as the characteristic image.
  8. 8. An image acquisition method applied to a pulsed radiation source, the method comprising: Transmitting a synchronization pulse sequence to a detector according to a synchronization pulse coding rule in response to a synchronization pulse sequence triggering instruction received from an upper computer so as to complete synchronization with the detector; And responding to an imaging pulse sequence triggering instruction received from the upper computer, and transmitting an imaging pulse sequence to the detector according to imaging pulse sequence information so that the detector can complete image acquisition of an object to be detected according to the imaging pulse sequence.
  9. 9. An image acquisition method applied to an upper computer, the image acquisition method comprising: Determining imaging pulse sequence information for an object to be detected; Determining synchronous pulse sequence information; Transmitting the imaging pulse sequence information and the synchronous pulse sequence information to a detector; sending a synchronous pulse sequence triggering instruction to an accelerator, and indicating the accelerator to start transmitting a synchronous pulse sequence; sending an imaging pulse sequence triggering instruction to an accelerator, and indicating the accelerator to start transmitting an imaging pulse sequence; and receiving images acquired by the detector according to the imaging pulse sequence, and determining parameters of the object to be detected according to the images.
  10. 10. An image acquisition system, the system comprising: the host computer is configured to: determining imaging pulse sequence information aiming at an object to be detected, wherein the imaging pulse sequence information is attribute information of an imaging pulse sequence to be emitted, which is designed for the detection; Determining synchronous pulse sequence information; Transmitting the imaging pulse sequence information and the synchronous pulse sequence information to a detector; sending a synchronous pulse sequence triggering instruction to an accelerator, and indicating the accelerator to start transmitting a synchronous pulse sequence; sending an imaging pulse sequence triggering instruction to an accelerator, and indicating the accelerator to start transmitting an imaging pulse sequence; receiving images acquired by the detector according to the imaging pulse sequence, and determining parameters of an object to be detected according to the images; A pulsed radiation source configured to: Transmitting a synchronization pulse sequence to a detector according to a synchronization pulse coding rule in response to a synchronization pulse sequence triggering instruction received from an upper computer so as to complete synchronization with the detector; responding to an imaging pulse sequence triggering instruction received from the upper computer, and transmitting an imaging pulse sequence to the detector according to imaging pulse sequence information so that the detector can complete image acquisition of the object to be detected according to the imaging pulse sequence; A detector configured to: receiving the imaging pulse sequence information; synchronously analyzing scanned image data to determine synchronous starting time between the scanned image data and the pulse ray source in a background scanning state, wherein the background scanning state is used for eliminating leakage current; Predicting the arrival time of at least one imaging pulse in the imaging pulse sequence to be transmitted according to the synchronous starting time and the imaging pulse sequence information; before the arrival time, controlling the detector to switch from the background scanning state to an integration state to receive the at least one imaging pulse; In response to the at least one imaging pulse reception being completed, an image reading operation is performed to read out an image corresponding to the at least one imaging pulse.
  11. 11. A detector is characterized in that, the detector comprises: The receiving module is configured to acquire imaging pulse sequence information aiming at an object to be detected, wherein the imaging pulse sequence information is attribute information of an imaging pulse sequence to be transmitted, which is designed aiming at the detection; The synchronous moment identifying module is configured to synchronously analyze scanned image data to determine synchronous starting moment with the pulse ray source when in a background scanning state, wherein the background scanning state is used for clearing leakage current; A prediction module configured to predict an arrival time of at least one imaging pulse in the imaging pulse sequence to be transmitted according to the synchronization start time and the imaging pulse sequence information; An imaging pulse interface module configured to control the detector to switch from the background scanning state to an integration state to receive the at least one imaging pulse prior to the arrival time; And a target image reading module configured to perform an image reading operation to read out an image corresponding to the at least one imaging pulse in response to the at least one imaging pulse reception being completed.
  12. 12. A computer program product comprising computer program instructions which, when read and executed by a processor, implement a method as claimed in any one of claims 1 to 10.

Description

Image acquisition method and system Technical Field The application relates to the field of product detection, in particular to an image acquisition method and system. Background In a nondestructive inspection system (e.g., MV-grade industrial nondestructive inspection system), it is generally composed of a pulsed radiation source (e.g., pulsed accelerator), a detector (e.g., X-ray flat panel detector), a computer, and the like. The pulse accelerator generates X-ray pulse width in microsecond level, and the detector converts the received X-ray intensity signal into digital image. The detector usually adopts a progressive scanning working mode, and if X-ray pulse irradiates during the process of scanning and reading out the image corresponding to the imaging pulse, high gray scale bright lines are formed on the corresponding scanning lines, so that the image is in an artifact and the imaging quality is seriously affected. Therefore, accurate synchronization of the accelerator firing pulse and the detector acquisition timing is required to improve the quality of the acquired effective image. At present, the main synchronization modes include software synchronization and hardware synchronization. The software synchronization uses a special synchronization cable to transmit trigger signals between the accelerator and the detector, but the cable has long length, which results in increased system cost and inconvenient integration and maintenance. In summary, the existing software and hardware synchronization methods have significant drawbacks, so a more efficient synchronization method applicable to the nondestructive testing system is needed. Disclosure of Invention The embodiment of the application aims to provide an image acquisition method and system, wherein the image acquisition method provided by the application is used for transmitting pre-designed imaging pulse sequence information to a detector, determining synchronous starting time by the detector which is executing leakage current scanning and clearing, calculating the arrival time of a subsequent imaging pulse according to the synchronous starting time and the imaging pulse sequence information, stopping leakage current scanning before the expected imaging pulse arrives in the later period, entering an integration state to receive an imaging pulse signal, and restarting scanning for acquisition after receiving is completed. The embodiment of the application predicts the arrival time of each imaging pulse by using the imaging pulse sequence information so as to realize the automatic synchronization of the scanning time sequence of the detector and the ray pulse, omits a synchronous physical synchronization cable, reduces the system cost and the integration difficulty, and is particularly suitable for a nondestructive testing system of MV-level or other-level high-energy pulse X rays. In a first aspect, an embodiment of the present application provides an image acquisition method, applied to a detector, where the image acquisition method includes acquiring imaging pulse sequence information for an object to be detected, where the imaging pulse sequence information is attribute information of an imaging pulse sequence to be transmitted designed for the current detection, in a background scanning state, synchronously analyzing scanned image data to determine a synchronous start time with a pulsed radiation source, where the background scanning state is used for clearing a leakage current, predicting an arrival time of at least one imaging pulse in the imaging pulse sequence to be transmitted according to the synchronous start time and the imaging pulse sequence information, before the arrival time, controlling the detector to switch from the background scanning state to an integration state to receive the at least one imaging pulse, and in response to the completion of the reception of the at least one imaging pulse, performing an image reading operation to read out an image corresponding to the at least one imaging pulse. The embodiment of the application utilizes the attribute that the imaging pulse sequence of the object to be detected can be planned in advance, provides imaging pulse sequence information obtained by planning in advance to the detector, further can control the detector to stop the background scanning state for clearing leakage current in advance and wait for the imaging pulse to arrive and complete the image acquisition of the imaging pulse, so that the data synchronization between the detector and the pulse type ray source is further improved under the condition that the detector is less influenced to clear the leakage current, the imaging effect of the imaging pulse sequence is further improved, and finally the detection effect of the object to be detected is improved. In some embodiments, the synchronizing analyzing scanned image data to determine a synchronization start time with the pulsed radiation source while in the background