white contour on top of grayscale image
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Is there a method for changing the colorscale of your figure to grayscale without using the colormap('gray') option. I have an image which I want to publish in grayscale but I want to add a white contour plot on top of the image, by changing the image to grayscale it also changes the color of the contour to black, which I originally specified as white. Is there a method for working around this?
0 commentaires
Réponse acceptée
Walter Roberson
le 12 Sep 2012
See the MATLAB File Exchange contribution "freezeColors"
0 commentaires
Plus de réponses (1)
Image Analyst
le 12 Sep 2012
Did you try converting your image to grayscale using rgb2gray()? And then use export_fig() to save your image, after you've put contours or other graphics and annotation atop of it?
0 commentaires
Voir également
Catégories
En savoir plus sur Contour Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!