Roi to a 1D array in matlab

3 次查看(过去 30 天)
MSP
MSP 2020-4-8
编辑: MSP 2020-4-9
How do i select a ROI using mouse in an image (imagesc plot) and get the content of the roi in a 1d vector? I needed help on that.Thanks in advance
Using roipoly and mouse we create a mask by right clicking,this yields a binary mask. But instead I want the content inside the roi (basically the values of the original image under roi) to be transferred to a 1d array.Is it possible?

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by