How to find seed point for region growing algorithm?

6 ビュー (過去 30 日間)
asia malik
asia malik 2016 年 4 月 22 日
コメント済み: Image Analyst 2021 年 11 月 7 日
Actually my project is brain tumor segmentation in MRI images. I want to segment the brain MRI images using region growing technique. How can I find a better seed point that detects the brain tumor efficiently.Sample images are attached.
  2 件のコメント
Sai praneeth Boddapati
Sai praneeth Boddapati 2021 年 11 月 7 日
hi asia malik i am doing the same project and i want the code for tumor segemntation using region growing can you please help me with the code
Image Analyst
Image Analyst 2021 年 11 月 7 日
@Sai praneeth Boddapati, why region growing specifically?
See attached.

サインインしてコメントする。

回答 (2 件)

Image Analyst
Image Analyst 2016 年 4 月 22 日
For those images, maybe you can just threshold, call bwareafilt to get the largest blob, call bwlabel, and then call regionprops asking for the centroid.
grayImage = imread(filename);
binaryImage = grayImage > someThreshold;
binaryImage = bwareafilt(binaryImage, 1);
labeledImage = bwlabel(binaryImage);
measurements = regionprops(labeledImage, 'Centroid');
xCenter = round(measurements.Centroid(1));
yCenter = round(measurements.Centroid(2));

khansa sanabal
khansa sanabal 2019 年 5 月 17 日
These errors are occuring in above example
Error in bwpropfilt>parse_inputs (line 119)
validateattributes(bw, {'logical'}, {'nonsparse', '2d'}, mfilename, 'BW', 1);
Error in bwpropfilt (line 58)
[bw, I, attrib, p, direction, conn] = parse_inputs(args{:});
Error in bwareafilt (line 34)
bw2 = bwpropfilt(bw, 'area', p, direction, conn);
Error in findseed (line 5)
binaryImage = bwareafilt(binaryImage, 1);
  1 件のコメント
Image Analyst
Image Analyst 2019 年 5 月 17 日
You forgot to attach your image, and your findseed.m file. You need to do so it you want an answer.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeNeuroimaging についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by