How to calculate The classification error rate (E) of iris recognition
2 次查看(过去 30 天)
显示 更早的评论
Hello, How to calculate The classification error rate (E) of iris recognition in this article by using MATLAB? http://www.di.ubi.pt/~hugomcp/doc/ProencaAlexandreNICE1BTAS2007.pdf A lot of articles used this to calculate the segmentation accuracy. I want to compare the segmentation accuracy of two iris images (ground truth & enhanced image) TQ
0 个评论
回答(1 个)
Image Analyst
2015-8-29
What's the question? You should know if it identified the correct individual or not. Whatever rates you want to compute can be determined by the true positive, true negative, false positive, and false negative (TP, TN, FP, FN) numbers. From that you can construct the ROC curve.
3 个评论
Image Analyst
2015-8-29
OK, they're not defining ground truth by whether it identified the correct individual based on the iris, but by whether their algorithm matches up pixel for pixel with some other binary image that they call "ground truth" which is possibly some binary image created by someone hand-drawing the boundaries.
So, is there something about the xor() function that you don't understand? Just use it like this:
differentPixels = xor(thisImage, groundTruthImage);
fractionDiffPixels = sum(differentPixels(:)) / numel(differentPixels);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Pattern Recognition and Classification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!