08-23-2022 07:24 AM
Hi all - I'm working on an application where I acquire images using a polarization camera, do some basic manipulation of the images to calculate information about the polarization state of the detected light, and then display that information in real time as the camera runs. I'm running into an issue where the calculations are significantly limiting the frame rate because of the computational time. I'm attaching the subVI that is the rate-limiting step in the calculations - it seems pretty basic so I'm not sure if there's anything that can be done to speed up its execution but wanted to ask since I'm new to LabView and may be missing something obvious that could help speed up the code. Thanks!
Solved! Go to Solution.
08-23-2022 07:34 AM
Typically, you decouple the image capture loop and processing loop, do you have a requirement to process the image before the next capture?
I don't think this subVI is the limiting factor but rather the architecture that is using this SubVI. The implementation of the VI is simple enough to use primitives and you should get the best performance.
08-23-2022 09:45 AM
Thanks - I switched the image processing and live displays to a separate loop from the image acquisition and that helped significantly.