I am using a particle tracker that outputs coordinates of tracked particles in an image into a matrix. I want to assess the tracker's performance looking at the tracker as a binary classifier. In order to obtain the "ground truth" I marked particles by eye in imageJ and I obtained a matlab matrix with the coordinates of the particles for the "ground truth".
I now want to use Matlab to count the number of true positives, false positives, and false negatives. Is there a function I can use to count these for me?
%Consider the following scatter plot:
%Imagine that the exes represent the coordinates for the ground truth and the circles represent the coordinates output by the tracker. I would want a function that would %tell me there are 3 true positives (given a maximum tolerable distance I input), 1 false positive, and 1 false negative.
Thank you so much!