I am working on video processing project. I have datasets comprised of 12 video sequences, and each video sequences contain 150 video. I have to calculate the Area under curve (AUC) of this datasets. Then how do I calculate it using matlab.
There are some good answers from t he colleagues but i want to ask you did you construct you curve or just you have point plot of the results?
If you have a point plot of the function say y=f(x) you can get the area under the curve by the numerical integration techniques as hinted by Aparna.
The simplest method is interpolate between the points by staight line. Otherwise you can use other interpolation techniques to get a get continuous function y function and then you can use integrate the interpolated curve.
You can also use the numerical methods tool box in matlab to get a more accurate area.
There are some good answers from t he colleagues but i want to ask you did you construct you curve or just you have point plot of the results?
If you have a point plot of the function say y=f(x) you can get the area under the curve by the numerical integration techniques as hinted by Aparna.
The simplest method is interpolate between the points by staight line. Otherwise you can use other interpolation techniques to get a get continuous function y function and then you can use integrate the interpolated curve.
You can also use the numerical methods tool box in matlab to get a more accurate area.
Abdelhalim abdelnaby Zekry I have one more confusion. If I have to calculate AUC of a datasets containing 11 video sequences. Then True positive rate(TPR) and False positive rate (FPR) is calculated for each 11 video sequences. Then TPR and FPR of these 11 video sequences are combined to build AUC. Am I right? Kindly correct me if I am wrong.
A = ∫ f(x) dx from x=a to x=b [MATLAB : A = int(y, a, b)]. Since these to be calculated from video sequences, it would need to be determined whether the area is static or dynamic. For dynamic areas these would need to be calculated for each frame, for static areas these would need to be calculated only once. For TP or FP to be useful, the ground truth needs to be known (actual area), then these could be used to calculate system performance i.e. calculated area/actual area