主权项 |
1. A method comprising:
storing a timing of a reference event, the reference event occurring during a frame time of an image frame from a plurality of imaging events, the frame time being an exposure time and a readout time for an imaging source, each imaging event having at least one set of image frames, each set of image frames being recorded simultaneously, each set of image frames having a plurality of image frames; receiving at least one channel of image data for each imaging event from the imaging source, where one channel of image data corresponds to one set of image frames, respectively;calculating, for each imaging event, image values for a representative frame set, the representative frame set being determined based on the at least one set of image frames, where one image value is calculated for each image frame of the representative frame set, each image value being based on a characteristic of a plurality of pixels within a respective image frame of the representative frame set, the representative frame set having the same number of image frames as the at least one set of image frames, the characteristic being determined from the at least one channel of image data;
assigning, for each imaging event, the calculated image value of a respective image frame as a trace value for each trace point during the exposure time of the respective image frame and a portion of the readout time before the exposure time of the respective image frame and a portion of the readout time following the exposure time of the respective image frame to generate an intensity trace for a respective imaging event, the assigning being performed for each image frame in the representative frame set for the respective imaging event; shifting in time, the intensity trace for each respective imaging event to align the timing of the reference event for each imaging event of the plurality of imaging events; averaging, trace values of trace points aligned in time from each shifted intensity trace to generate an average continuous intensity trace over time; and determining, a timing of an event based on the average continuous intensity trace. |