Predicted Classification Response to Label Matrix

1 vue (au cours des 30 derniers jours)
Dimitris M
Dimitris M le 11 Juin 2012
Hello everybody
I have a question that seems pretty basic but I am not sure if there is an answer online for it. Is it possible somehow to get a label matrix back from the prediction response of a classifier (decision tree in my case). I have the values (and the string names) given from the classifier and I would like to assign them to a label image. I have already created a label image before (with bwboundaries()) for a previous step.
So the overall question is how is possible to connect the prediction of a classifier with a region labeled image ?
Thank you in advance
  4 commentaires
Dimitris M
Dimitris M le 12 Juin 2012
OK. So I have a label images produced with the function bwboundaries(). I have used this labeled image region (and its true color image) to classify it according to a training set I created.
The problem is that the values in the labeled image are not the same as the numbers the classifier assigns to the classification result. My question is how from the classification numbers assigned by the classifier I can go back to a label image (so I can color it according to the result). Is there a way to move backwards after classification and visualize the image objects according to their class ?
If my question is still not clear to you let me know, so I can explain further.
Thank you in advance
Tom Lane
Tom Lane le 12 Juin 2012
Sorry, I really don't know much about image processing. I don't understand what data you would use to create the classifier and what output you would hope to get in doing the prediction. Maybe someone else with more image processing knowledge can help.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by