A trajectory analyzing apparatus comprising: a matching unit that is configured to calculate a correlation between a forward trajectory obtained by tracking a moving object over pictures along a forward direction of a time axis and a backward trajectory obtained by tracking a moving object over the pictures along a backward direction of the time axis; and a result output unit that is configured to output trajectory information indicating at least one of the forward trajectory, the backward trajectory, and an integrated trajectory obtained by integrating the forward trajectory and backward trajectory and indicating a degree of reliability of the at least one trajectory based on the calculated correlation, a start position setting unit that is configured to set for each target moving object a forward start point and a backward start point on the pictures, the forward start point being a start position of the forward trajectory, the backward start point being a start position of the backward trajectory of the respective moving object; a tracking unit that is configured to track the moving object located in the forward start point to generate the forward trajectory and to track the moving object located in the backward start point to generate the backward trajectory, producing a plurality of forward trajectories and a plurality of backward trajectories of all tracked moving objects; a trajectory integration unit that is configured to integrate the forward trajectory and backward trajectory by assigning larger weights to portions closer to the start point of each trajectory to generate the integrated trajectory of the tracked moving object, wherein the matching unit is configured to determine a pair of the forward trajectory taken from the plurality of forward trajectories and the backward trajectory taken from the plurality of backward trajectories which are more likely to have been generated with respect to the same moving object, on the basis of the correlation, and wherein the trajectory integration unit is configured to integrate the determined pair of forward trajectory and backward trajectory to generate the integrated trajectory. a matching unit that is configured to calculate a correlation between a forward trajectory obtained by tracking a moving object over pictures along a forward direction of a time axis and a backward trajectory obtained by tracking a moving object over the pictures along a backward direction of the time axis; and a result output unit that is configured to output trajectory information indicating at least one of the forward trajectory, the backward trajectory, and an integrated trajectory obtained by integrating the forward trajectory and backward trajectory and indicating a degree of reliability of the at least one trajectory based on the calculated correlation, a start position setting unit that is configured to set for each target moving object a forward start point and a backward start point on the pictures, the forward start point being a start position of the forward trajectory, the backward start point being a start position of the backward trajectory of the respective moving object; a tracking unit that is configured to track the moving object located in the forward start point to generate the forward trajectory and to track the moving object located in the backward start point to generate the backward trajectory, producing a plurality of forward trajectories and a plurality of backward trajectories of all tracked moving objects; a trajectory integration unit that is configured to integrate the forward trajectory and backward trajectory by assigning larger weights to portions closer to the start point of each trajectory to generate the integrated trajectory of the tracked moving object, wherein the matching unit is configured to determine a pair of the forward trajectory taken from the plurality of forward trajectories and the backward trajectory taken from the plurality of backward trajectories which are more likely to have been generated with respect to the same moving object, on the basis of the correlation, and wherein the trajectory integration unit is configured to integrate the determined pair of forward trajectory and backward trajectory to generate the integrated trajectory.