Transparent figure window for real-time projection

7 vues (au cours des 30 derniers jours)
Eli Syne
Eli Syne le 11 Jan 2023
Commenté : Eli Syne le 13 Jan 2023
Hi, I am running real-time integration between Matlab and my hardware setup in an augmented reality system, and I would like to project my Matlab generated figure with a transparent window background (preserving only the image). So far, I have come across codes that allow us to set transparent background when saving the figures (e.g. exportgraphics) - maybe I haven't fonud the right keyword for the search. I tried using the 'set' command (i.e. set(gca,'BackgroundColor','none')) but I haven't been able to get that working.
Does anyone know a way to make the figure window background transparent or completely hide it (including the title, menu bar and figure toolbar) straight from the code, showing only the image when the figure is generated?
Thank you for your help!

Réponses (1)

DGM
DGM le 11 Jan 2023
Modifié(e) : DGM le 11 Jan 2023
Last I heard, the answer was no.
Not unless you're running R2013a or older, with an appropriately old version of Java, and want to try some undocumented/unsupported things.
  1 commentaire
Eli Syne
Eli Syne le 13 Jan 2023
Thank you for your reply, and for sharing the links. I will check them out =)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Display Image dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by