CC2periodic

Find connected components of periodic binary data.
198 Downloads
Updated 5 Apr 2018

View License

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://www.mathworks.com/matlabcentral/fileexchange/66079-cc2periodic), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Type Conversion in Help Center and MATLAB Answers
Version Published Release Notes
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