Region Growing (2D/3D) in C

C implementation of a basic region growing algorithm for images and volumes
427 Downloads
Updated 2 Dec 2017

View License

A simple image segmentation method. The segmented region grows from a
seed point by comparing neighbor pixels/voxels.
If a neighbor pixel/voxel is smaller then the specified threshold value it becomes a
part of the region.
The growing algorithm is written in C because the matlab implementations are rather
slow especially for big images or volumes.

Cite As

Adrian Becker (2024). Region Growing (2D/3D) in C (https://www.mathworks.com/matlabcentral/fileexchange/63317-region-growing-2d-3d-in-c), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Region Growing (2D/3D grayscale)

Community Treasure Hunt

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

Start Hunting!

@regGrow/

Version Published Release Notes
2.1.0.0

Changed the data type of the dimension Vector from int to mwSize to prevent errors on x64 machines

2.0.0.0

Redesigned as a class with an interactive segmentation GUI in case of a 2D input image

1.3.0.0

Added input parameter for maximum euclidean distance to the seed point

1.2.0.0