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 个评论

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

请先登录,再进行评论。

回答(2 个)

Selva Karna
Selva Karna 2017-9-24

0 个投票

use imroi

1 个评论

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

请先登录,再进行评论。

Image Analyst
Image Analyst 2017-9-24

0 个投票

5 个评论

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 ...
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.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by