Roi to a 1D array in matlab

2 visualizzazioni (ultimi 30 giorni)
MSP
MSP il 8 Apr 2020
Modificato: MSP il 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?

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by