Selecting a ROI manually in Matlab

后端 未结 3 1670
醉话见心
醉话见心 2021-01-22 09:10

I\'m trying to select a user-defined area and fill with 1s, preferably with mouse input. Any suggestion how? Thanks.

3条回答
  •  滥情空心
    2021-01-22 09:49

    You'll need the Image Processing Toolbox to use roipoly as Georg suggested.

    If you don't have that, you could try creating a rubber band box using

    rbbox
    

    There's a good example in the help. You might need to fiddle with units depending on how you're displaying your data. Remember to click and hold, drag and release..

提交回复
热议问题