How to find the true positive and true negative for detected pixels in the image
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Image Analyst
2023-7-27
2 个评论
Image Analyst
2023-7-30
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!