From 5183190729cbfcdb4391a66f08fb3172538e6c6c Mon Sep 17 00:00:00 2001 From: Stephane Rigaud Date: Fri, 7 Jun 2024 17:20:12 +0200 Subject: [PATCH] fix: connected components labeling --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c026222..d172f183 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ input_image = cle.push(image) inverted = cle.subtract_image_from_scalar(input_image, scalar=255) blurred = cle.gaussian_blur(inverted, sigma_x=1, sigma_y=1) binary = cle.threshold_otsu(blurred) -labeled = cle.connected_components_labeling_box(binary) +labeled = cle.connected_components_labeling(binary) # The maxmium intensity in a label image corresponds to the number of objects num_labels = cle.maximum_of_all_pixels(labeled)