Region Growing in Matlab
Mostrar comentarios más antiguos
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 comentarios
Rik
el 21 de Nov. de 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.
Rutuja Kate
el 21 de Nov. de 2017
Respuestas (1)
Rik
el 22 de Nov. de 2017
0 votos
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.
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!