@Mathias85 wrote:
Hi wiebe@CARYA,
Thank you again for your message and your explanations.
I just slightly modify the vi to add a processing step (increment+1 every pixel value) and the results observed seems to explain why it slower.
Indeed in the case ImagetoEDVR, the pixels in the image continuously increase as a function of time (it's look like the structure 'in place element structure' act as a while loop). Consequently the time to process an image using imagetoEDVR is longer than imagetoarray because every pixel is process many many times.
So my new question is: how to force the 'in place element structure' to run only once.
Thank you in advance for your help
In the loop, you're reusing the same image. So apparently the data isn't copied into the DVR, but the DVR accesses the data of the image. So, increasing the data will increate the data in the image, so it will accumulate over iterations.