Image processing

1 view (last 30 days)
harjan
harjan on 21 May 2012
Hello everyone...... I have a problem to find intersection point of two curves...If I have FAR(False Acceptance Rate) for 20 threshold values and FRR(False Rejection Rate) for those threshold values also....Now my question is how to find out the intersection point of these two curves that denotes EER(Equal Error Rate)...Please reply soon......Advance Thanks........

Answers (2)

Image Analyst
Image Analyst on 21 May 2012
How about something like
tolerance = .01; % or whatever...
crossingIndex = find(abs(FAR - FRR) < tolerance, 1, 'first');
Is that good enough?
  2 Comments
harjan
harjan on 22 May 2012
But if I have a set of FAR values for 10 thresholds such as FAR=[200 0.0091; 210 0.0082;......];
and FRR=[200 0.0013;210 0.0023;.....]; like that.If i plot graph for these values it will cut at some point...At that point i want to know the x axis and y axis values....
Image Analyst
Image Analyst on 22 May 2012
Yes, that's what I thought. Did you not like my code? If you want more accuracy, though I don't know why you'd need it with only 20 observations, then you can do a regression with polyfit though you may be getting a fake increase in accuracy since the fitted value is not necessarily more accurate. I mean, how accurate can you get to the "true" but unknown value when you have only 20 observations?

Sign in to comment.


Stephen
Stephen on 21 May 2012
yeah, use Euler's method and just subtract one from another and search the zeros or, as the guy above said, add a tolerance level. min(abs(FAR - FRR)) would work if you didn't care how far off from 0 their difference is.
  1 Comment
harjan
harjan on 22 May 2012
But if I have a set of FAR values for 10 thresholds such as FAR=[200 0.0091; 210 0.0082;......];
and FRR=[200 0.0013;210 0.0023;.....]; like that.If i plot graph for these values it will cut at some point...At that point i want to know the x axis and y axis values....

Sign in to comment.

Categories

Find more on Visual Exploration in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!