Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

does frame count begin index at 0 or 1?

Does anyone know whether frame count counts the first frame as index 0 or index 1? Thanks!
0 Kudos
Message 1 of 3
(3,707 Views)
Hi,

In NI Vision Builder for Automated Iinspection the frame index starts at 0, in LabVIEW I assume it is the same but I can't test it right now..

Hope this helps

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 3
(3,706 Views)

I believe Frame Count is the number of acquired of images and starts with a count of 0 until the first frame is acquired.  After one frame has been acquired, it will have a value of 1, etc.

Frame Index starts with 0, as well as properties related to it (Last Valid Frame, etc.)  This means the first frame will have an index of 0, etc.

Bruce

Bruce Ammons
Ammons Engineering
Message 3 of 3
(3,697 Views)