Roi to a 1D array in matlab

4 views (last 30 days)
MSP
MSP on 8 Apr 2020
Edited: MSP on 9 Apr 2020
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?

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by