Transparent figure window for real-time projection

4 次查看(过去 30 天)
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!

回答(1 个)

DGM
DGM 2023-1-11
编辑:DGM 2023-1-11
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.

类别

Help CenterFile Exchange 中查找有关 Display Image 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by