5.3.4.127. Function tracking_count_objects

5.3.4.127.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 (can be NULL).

  • n_meteors – Write the number of tracks that have been classified as meteor (can be NULL).

  • n_noise – Write the number of tracks that have been classified as noise (can be NULL).

Returns

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