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

1 visualización (últimos 30 días)
Shan Sha
Shan Sha el 28 de Dic. de 2018
Comentada: Shan Sha el 28 de Dic. de 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.

Respuestas (1)

Image Analyst
Image Analyst el 28 de Dic. de 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 comentarios
Image Analyst
Image Analyst el 28 de Dic. de 2018
OK. My answer still is valid. Good luck.
Shan Sha
Shan Sha el 28 de Dic. de 2018
my question is how to call the misclassified images alone into a seperate folder. i dont know how to call those image.

Iniciar sesión para comentar.

Categorías

Más información sobre Images en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by