How to use the output variable imshow(imIDX,[]) as input for another Process?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Melaku Eneayehu
le 18 Jan 2018
Réponse apportée : Walter Roberson
le 18 Jan 2018
am trying to combine clustering segmentation with other image segmentation algorithm, but i stack at accessing the clustered image, when i try to use imIDX as a variable, figure will displayed without any image(PFA).
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169101/image.jpeg)
>>
0 commentaires
Réponse acceptée
Walter Roberson
le 18 Jan 2018
Use
scaled_imIDX = mat2gray(imIDX);
This will give you an array that corresponds to the array imshow() with the [] option would use to display the data.
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!