Region Growing in Matlab
2 views (last 30 days)
Show older comments
Instead of growing according to the similar intensity, can I make the region grow according to the summation of the intensities in the acquired region? I need the region to stop growing when the summation of intensities in the particular region has reached a particular value which will be specified by me.
2 Comments
Rik
on 21 Nov 2017
That would no longer really be called region growing, but a region growing-like method. The order in which your pixels/voxels are tested matters if you want to look at a max total.
Answers (1)
Rik
on 22 Nov 2017
I do have an idea that is slightly less terrible than 6 nested loops. I have no idea if there are clever tricks you can pull. This method might not scale very well, due to the repeated dilations.
- Grow a shell around your seed point (or your volume that is still too small) by dilating a side length 3 cube.
- If the sum intensity is too small, repeat 1.
- if the sum intensity is too large when including the shell, add only the lowest several pixels that will keep the intensity below the threshold (use sort and cumsum).
- Grow a shell again, and retry step 3 until there are no more pixels you can add.
You'll need that last step to control for the case of a very high intensity region, which would be allowed to be a hole in your mask.
0 Comments
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!