Extracting data from ROI an IR image and discarding other pixels

FLIR2100.jpg
Hi, I am new to matlab. I am trying to extract pixel data of a particular region (ROI defined by the user) in order to characterise that region. But I only want to extract this ROI and remove all other pixels. Any recommended approaches/code?

Asked:

Kan
on 22 Mar 2019

Answered:

on 25 Mar 2019

Community Treasure Hunt

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

Start Hunting!