- True positive
- True negative
- False positive
- False negative
What criteria should be used to select the number of images used in image processing for detection the drawbacks of any surfaces?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
What are the criteria that must be considered to select the number of images in image processing techniques to make sure the proposed method is working well, and to trust the results of that model used based on image processing in detecting any drawbacks of the surfaces?
0 comentarios
Respuestas (1)
Image Analyst
el 22 de Sept. de 2023
It depends on your situation. So I'm presuming you have some ground truth that tells you whether the algorithm gave the correct answer or not. So you have four situations:
So which of the 4 is most important depends on the context. Let's say it's a cancer diagnosis. Is the risk of a false negative (you have cancer but we didn't detect it) worse than a false positive (we told you that you have cancer but you really don't)?
You might want to look up ROC Curve : https://en.wikipedia.org/wiki/Receiver_operating_characteristic
Maybe you look at multiple images before making a decision so each point on the ROC curve could be for a different number of images used in the final decision.
but where on the curve you say is the "optimal" number of images to use is a judgment call. Maybe you just simply want to say that if the true positive ("correct") rate is more than 90% you're happy with that. Or maybe if the risk of being wrong is really high you want the true positive rate to be >99%.
5 comentarios
Image Analyst
el 25 de Sept. de 2023
FN is the number of true positives that your algorithm mistakenly called negative. But what you can do is simply count P, the number of positive cases. If you have numImages, and you know the actual, true results for them all, then you know the number that are Positive and the number that are negative. So numImages = P + N. So just get the true positive rate by the fraction of images that were correctly identified. TPR = TP/P.
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!