What criteria should be used to select the number of images used in image processing for detection the drawbacks of any surfaces?

1 vue (au cours des 30 derniers jours)
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?

Réponses (1)

Image Analyst
Image Analyst le 22 Sep 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:
  1. True positive
  2. True negative
  3. False positive
  4. False negative
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)?
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 commentaires
Image Analyst
Image Analyst le 25 Sep 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.
yasmin ismail
yasmin ismail le 25 Sep 2023
@Image Analyst I confused little bit. If I want to use TPR as a function of the number of images used to create the model. My aim is to find the enough number of images to my model. Let we assume I want TPR=90%, so I have to try 100 image then find how many TP I got from all positive cases, then increased it till reached 90% or what?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by