how to extract roi automatically

how to extract blobs (affected region) in lungs CT scan image without free hand selection using auto selection based on color r something . in that extracted output it needs to display only the blobs in white. background needs to be black

2 Comments

Is this cancer or TB to be detected, or something else?
CT scans are grayscale so you will not be able to detect anything by color.
Cancer & Bronchities . I have attached my segmented lung

Sign in to comment.

Answers (2)

Selva Karna
Selva Karna on 24 Sep 2017
use imroi

1 Comment

imroi is not able to automatically decide where the ROI should be.

Sign in to comment.

Image Analyst
Image Analyst on 24 Sep 2017

5 Comments

i this right r wrong
Not sure what you want so I can't tell if it's right or wrong. I have a demo for segmenting the lungs - see attached and see if it works for you.
i need to extract the roi(blobs) affected region only . the affected region displays like white and others will be black ...
sathish kumar rb
sathish kumar rb on 8 Oct 2017
Edited: Image Analyst on 8 Oct 2017
Input: Segmented Lung
Output: ROIs with class labels
The pathology bearing regions are the region of interests. ROI is used to identify the abnormality from the segmented lungs.
Algorithm: ROIs Extraction
  1. Step 1: Extract the PBRs from the lung tissues as ROIs by finding the range of pixel intensity values to differentiate the PBRs and other lung pixels. If no PBRs present, then the slice is considered to be normal.
  2. Step 2: Obtain the class label information of each ROI from an expert.
What are PBRs?
Go here for better algorithms: Medical Image Processing Algorithms
Try imfreehand(), like in the attached demo, to have your expert draw the ROI.

Sign in to comment.

Asked:

on 24 Sep 2017

Commented:

on 8 Oct 2017

Community Treasure Hunt

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

Start Hunting!