how to write the mis-classified images in the separate folder?

2 次查看(过去 30 天)
I am using KNN classifier. using confusion matrix i can seperate the misclassified images manually. But i want to write this misclassified images into a seperate folder ? I need a code to write this misclassified images into a seperate folder. do the needful. Thanks in advance.

回答(1 个)

Image Analyst
Image Analyst 2018-12-28
You can use copyfile(), movefile(), or imwrite() to create or move the misclassified image to a different folder. Use mkdir() if the folder does not yet exist.
  3 个评论
Shan Sha
Shan Sha 2018-12-28
my question is how to call the misclassified images alone into a seperate folder. i dont know how to call those image.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by