Automatically threshold and label connected regions. Each distinct region is colored uniquely with bounding boxes drawn.
All processing runs locally in your browser. Your files never leave your device.
What Connected Components Is Useful For
Connected components analysis is useful after thresholding or segmentation when the next question is how many regions exist, where they are, and how large they are. It helps with document cleanup, blob counting, particle analysis, region filtering, and basic measurement tasks.
How to Run Connected Components in 3 Steps
- Upload. Upload your input image via the upload zone. Most dev tools accept JPG, PNG, and WebP input for fastest processing.
- Process. Tune the algorithm parameters using the control panel — watch the live preview update as you adjust thresholds, kernel sizes, and other settings.
- Download. Export the processed image or result visualization. Use it directly or continue to another dev tool in your pipeline.
Why Use Connected Components in the Browser
- Instant Feedback — See parameter changes reflected in real time. No recompile, no Python environment setup, no Jupyter kernel.
- Teaching-Friendly — Perfect for demonstrating classical computer vision concepts in class without installing OpenCV locally.
- Prototype Faster — Test algorithm behavior on real images before writing production code.
- Zero Install — Built on OpenCV primitives compiled to WebAssembly — full featured, fully local.
Connected Components FAQ
What computer vision library does Connected Components use?
Connected Components is built on OpenCV primitives compiled to WebAssembly. You get the same algorithms as the desktop OpenCV library, running with near-native performance in your browser.
Can I download the processed result?
Yes. Every dev tool supports exporting the processed image or visualization as PNG. You can use it in documentation, papers, or downstream tools.
Are there parameter presets?
Connected Components ships with sensible defaults that work for most images. Adjust the controls to experiment with different parameters — changes reflect in the live preview immediately.