Image Labeler taking ROI and discard the background

2 views (last 30 days)
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)

Tarunbir Gambhir
Tarunbir Gambhir on 25 May 2021
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.

Community Treasure Hunt

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

Start Hunting!