When there is no external trigger and no room to record

Updated:

In many high speed imaging tasks the camera has to start recording on an event for which there is no external trigger signal. If a fast‑moving object enters the field of view only for a moment, you need to react immediately. The solution is to analyse the image stream itself: compute a histogram for every frame and start capture when the histogram departs from its baseline. That is an image trigger, and it has to run with minimal latency.

Why not an external trigger, or simply record everything

An external trigger is the right answer whenever the event announces itself — a light barrier, an encoder pulse, a signal from the machine. Use it if you have it. An image trigger is for the case where nothing outside the frame knows that the event happened, and the only evidence is the picture itself.

The alternative then is to record continuously and search afterwards. At these frame rates that turns a short event into terabytes, moves the problem from capture to storage, and still leaves you looking for the moment. The remaining option is to analyse frames on the CPU, which is what we tried first: at the rates these cameras produce, a CPU cannot compute a histogram for every frame and keep the acquisition running at the same time, and any delay in deciding means the event has already left the buffer.

How it works

We could not do this reliably on the CPU, so the trigger runs on the GPU with NVIDIA CUDA. A CameraLink high speed camera streams frames to PC RAM through a PCIe frame grabber; the software builds a histogram for every received image, keeps frames in a circular buffer to hide latency, and compares each histogram data set against the starting histogram to detect the event.

Specifications, benchmarks and licensing for this module are on the product page: CUDA image trigger at fastcompression.com.

Applications

Related pages

Contact Form

This form collects your name and email. Check out our Privacy Policy on how we protect and manage your personal data.