Extract image from lidar Map without showing figure

4 views (last 30 days)
Hello lads
I am pretty new in Matlab and I am studying about lidar Maps.
It worked fine and the lidarMap is shown in a new figure screen.
However, I would like to get the image created from that map and display it to a App GUI Image component rather than opening a new pop-up window.
I've been trying to create image from axes using getimage() function but, it did not work.
Can anyone please help me with that? I know it could be a silly question for Matlab experts but, any example I went thru so far did not work.
Any help is much appreciated.
Thanks
Kleber
  5 Comments
Kleber
Kleber on 16 Jul 2024
Thanks @Umar
Using getframe() function along with frame2im() function worked fine.
Thanks
Umar
Umar on 16 Jul 2024
No problem Kleber, glad to help out. Please let us know if you have any further questions.

Sign in to comment.

Answers (0)

Categories

Find more on Labeling, Segmentation, and Detection in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!