How to find the true positive and true negative for detected pixels in the image
3 views (last 30 days)
Show older comments
If I create an model to detect cracks and fthe model based on image processing , I have to evaluate the model based on the precision and recall
can anyone tell me how to calculate the true positive pixel and compare it with ground truth
I attached the original image and the detected by the model so how to evaluate the performace for model to say the output is true positve or false negative , is it based on pixels account or what ,so how to do it ?
0 Comments
Answers (1)
Image Analyst
on 27 Jul 2023
2 Comments
Image Analyst
on 30 Jul 2023
You did not say how you were going to get the ground truth image. All you've done is to process the image with an algorithm that you think should give you the correct answer. How can you say how accurate it is is you don't have a ground truth image? Maybe you just trust your algorithm and don't worry about how "accurate" it is because you don't have an known, "true" value. I mean who's to say whether your answer is right or wrong? If it meets your needs and you're happy with it, then maybe that's all that is needed.
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!