필터 지우기
필터 지우기

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

조회 수: 4 (최근 30일)
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?

답변 (1개)

Image Analyst
Image Analyst 2023년 9월 22일
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
Image Analyst
Image Analyst 2023년 9월 25일
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 2023년 9월 25일
@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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Psychology에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by