Image Labeler taking ROI and discard the background

I have trained a DCNN on lung images using image labeler obtained data. But instead of getting the whole image with lungs and background, I would like to segment out the lungs region and discard the background. Any idea on how to do it?

Answers (1)

You cannot use the Image Labeler to segment/crop out the image using an ROI. You can, however, simply use the imcrop function to crop the images using their bounding boxes declared in the Image Labeler app.

Asked:

on 18 May 2021

Answered:

on 25 May 2021

Community Treasure Hunt

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

Start Hunting!