Region Growing (2D/3D) in C

C implementation of a basic region growing algorithm for images and volumes

You are now following this Submission

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 (2026). Region Growing (2D/3D) in C (https://ch.mathworks.com/matlabcentral/fileexchange/63317-region-growing-2d-3d-in-c), MATLAB Central File Exchange. Retrieved .

Acknowledgements

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

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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