5.3.4.83. Function tracking_count_objects

5.3.4.83.1. Function Documentation

size_t tracking_count_objects(const vec_track_t tracks, unsigned *n_stars, unsigned *n_meteors, unsigned *n_noise)

Counts the number of tracks in a vector of tracks.

Parameters
  • tracks – A vector of tracks.

  • n_stars – Write the number of tracks that have been classified as star.

  • n_meteors – Write the number of tracks that have been classified as meteor.

  • n_noise – Write the number of tracks that have been classified as noise.

Returns

The real number of tracks (may be less than the tracks vector size).