- drawfreehand | freehand
- drawcircle
- drawassisted | drawcrosshair | drawcuboid | drawellipse | drawline | drawpoint | drawpolygon | drawpolyline | drawrectangle
How do you mark and extract an area from an imagesc-figure?
    15 views (last 30 days)
  
       Show older comments
    
Hi guys,
I'm looking for a tool that works in a similar way to Matlab's brush tool.
I graph a spectrogram of a signal, i.e. a 2D array, using imagesc. In this spectrogram I would like to manually mark a certain area and extract the data within this area. For this purpose I tried to use Matlab's brush tool. But obviously it doesn't work for imagesc-figures. Can you help me and suggest solutions? Is there another tool from Matlab that works for imagesc-figures?
Thanks for your help.
0 Comments
Accepted Answer
  Adam Danz
    
      
 on 22 Oct 2020
        
      Edited: Adam Danz
    
      
 on 10 Feb 2021
  
      "I would like to manually mark a certain area and extract the data within this area."
There's a few things you could do.  Check out 
Requiring Image Processing Toolbox:
You can use these tool to select a region and return the coordinates of your selection.  Then you can use those coordinates to isolate a section of your data.   
More Answers (1)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

