Image processing

2 次查看(过去 30 天)
harjan
harjan 2012-5-21
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........

回答(2 个)

Image Analyst
Image Analyst 2012-5-21
How about something like
tolerance = .01; % or whatever...
crossingIndex = find(abs(FAR - FRR) < tolerance, 1, 'first');
Is that good enough?
  2 个评论
harjan
harjan 2012-5-22
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 2012-5-22
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?

请先登录,再进行评论。


Stephen
Stephen 2012-5-21
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 个评论
harjan
harjan 2012-5-22
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....

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Visual Exploration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by