MATLAB: How to plot roc

https://in.mathworks.com/matlabcentral/fileexchange/34412-fast-and-efficient-spectral-clusteringImage Processing Toolbox

Helo everyone…Iam working on a dataset of 200 images consisting of both pothole and non-pothole images for the pothole detection.Finally my output is a binary segmented image. I have calculated TP,TN.FP,FN at three thresholds respectively.
For example, if the pothole area is covering atleast 40% of black pixels it is a pothole else it is not a pothole. Similarly, the other two thresholds are of 50% and 60%. For this scenario, can any one help to plot roc curve.

Best Answer

Perhaps: plotroc?