Skip to contents

A function that receives a binary 3D array (l,m,n) and connect grids with common labels. It uses 4 points connectivity and connects object on layers only.

Usage

CCL(a)

Arguments

a

input binary array. It be should an integer array.

Value

the output array containing the labels

Note

The original routine was written by John Burkardt in Fortran.

Author

Ahmed Homoudi