If you have recorded several videos with the same individuals and you want to know who is who in each video, you can do it using the attached software (idMatcher---you can use either the compiled version idMatcher.exe (which you can download
here), or run the idMatcher.m (attached to this post) from Matlab).
The executable idMatcher.exe was compiled with an older version of Matlab than idTracker.exe, so you will also need to install
the older version of the Matlab Compiler Runtime.
To use it:
Execute idMatcher.
Add the videos one by one, by selecting the file called datosegm.mat for each video.
To relate identities of different videos, all of them must be
recorded in identical conditions (camera position, lightning, etc.) and
the tracking parameters must also be identical. Therefore, the program
will issue a warning if it detects different tracking parameters in the
videos. There are four types of warnings: Different number of
individuals, different threshold, different reslution and different area
for intensity normalization. The two first ones are critical, the
program will either crash or give wrong relations if these parameters
change from video to video. The other two are less critical: idTracker
normalizes each frame with the average intensity of the region you
select. So if this region is different in different videos, the
normalization will be different and the aspect of the animals changes.
So if the videos have very different regions, it will not work. But if
the regions are almost the same, it may work in spite of the warning.
When you have added all the videos, press start. It may take
several hours to complete. When it finishes, it will show a picture with
a lot of matrices. Ideally, all these matrices should be diagonal. If
there are red crosses on some matrices, it means that the probability of
having wrong relations for these videos is too high.
The program uses the redundancy among all the videos to
increase the certainty of identifications. So the more videos you add,
the better.
After the program finishes, you should find
files called trajectories_sorted with the rest of the output of
idTracker for each video. They contain the trajectories, but sorted so
that the first fish is the same in all videos, and so on.