CC2periodic

Find connected components of periodic binary data.

You are now following this Submission

bwconncomp() determines connected components of a binary image, but the image may actually represent data on a periodic domain. In this case, CC2periodic() appropriately converts the output of bwconncomp(), by scanning pixels along the border of the image, and merging objects that appear on either side of the border.

Cite As

Geoff Stanley (2026). CC2periodic (https://se.mathworks.com/matlabcentral/fileexchange/66079-cc2periodic), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

- Enabled support for dimension >= 3 if connectivity is minimal
- core algorithm changed, to handle objects that stretch between sides
- Updated tests

1.0.0.0