MATLAB Answers

0

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

Asked by Shan Sha on 28 Dec 2018
Latest activity Commented on by Shan Sha on 28 Dec 2018
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.

  0 Comments

Sign in to comment.

1 Answer

Answer by Image Analyst
on 28 Dec 2018

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 Comments

I have to seperate the misclassified images automatically and write those images into seperate folder. do the needful
OK. My answer still is valid. Good luck.
my question is how to call the misclassified images alone into a seperate folder. i dont know how to call those image.

Sign in to comment.