Evaluate the quality of image using region-based precision and recall

조회 수: 1 (최근 30일)
Nataliya
Nataliya 2016년 12월 10일
댓글: Image Analyst 2016년 12월 10일
How to evaluate the quality of image using precision and recall measures? I want to compare the segmented image against ground truth and generate the precision recall curve. How can I do this?

답변 (1개)

Image Analyst
Image Analyst 2016년 12월 10일
I've not heard of a "precision and recall curve". Do you mean the Receiver Operating Characteristic curve? Anyway, you have to have some "ground truth" on the image - the true values or true regions or something. You can use things like ssim(), psnr(), immse(), confusion matrices, etc.
And define "quality of image". What metric or algorithm are you using to put a number on the "quality" of the image. Is it assessed on the image alone, by itself? Or is it a metric where you compare it to some ground truth image that you know the "true" answers for?
  댓글 수: 2
Nataliya
Nataliya 2016년 12월 10일
This is what i want to do
Image Analyst
Image Analyst 2016년 12월 10일
Then just use sum() and &:
precision = sum(sum(R&Rg))/sum(R(:));
recall = sum(sum(R&Rg))/sum(Rg(:));
Where R and Rg are your two segmented binary images.

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

Community Treasure Hunt

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

Start Hunting!

Translated by