Image processing in Python
This report presents the forensic synthetic code analysis of scikit-image/scikit-image, a Python project with 6,565 GitHub stars. SynthScan v2.0 examined 180,951 lines of code across 1011 source files, recording 3294 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 20.7 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 3294 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/generate_requirements.py | 21 | def generate_requirement_file(name: str, req_list: list[str]) -> None: | CODE |
| LOW | tools/precompute/_precompute_nsphere_decompositions.py | 25 | def precompute_decompositions( | CODE |
| LOW | tests/skimage2/test_skimage2.py | 28 | def test_no_eager_skimage_import(namespace): | CODE |
| LOW | tests/skimage2/filters/test_median.py | 54 | def test_median_preserve_dtype(image, dtype): | CODE |
| LOW | tests/skimage2/filters/test_fft_based.py | 68 | def test_butterworth_invalid_cutoff(cutoff): | CODE |
| LOW | tests/skimage2/filters/test_fft_based.py | 167 | def test_butterworth_correctness_bw(): | CODE |
| LOW | tests/skimage2/filters/test_fft_based.py | 189 | def test_butterworth_correctness_rgb(): | CODE |
| LOW | tests/skimage2/filters/test_gaussian.py | 13 | def test_gaussian_negative_sigma(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_gaussian.py | 30 | def test_gaussian_default_sigma(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_gaussian.py | 39 | def test_gaussian_image_dtype(dtype): | CODE |
| LOW⚡ | tests/skimage2/filters/test_gaussian.py | 44 | def test_gaussian_energy_decrease(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_gaussian.py | 52 | def test_gaussian_multichannel(channel_axis): | CODE |
| LOW | tests/skimage2/filters/test_gaussian.py | 75 | def test_gaussian_migration_advice(): | CODE |
| LOW | tests/skimage2/filters/test_gaussian.py | 111 | def test_gaussian_preserve_output(dtype): | CODE |
| LOW | tests/skimage2/filters/test_gaussian.py | 118 | def test_gaussian_output_error(): | CODE |
| LOW | tests/skimage2/filters/test_gaussian.py | 131 | def test_difference_of_gaussians(s, s2, channel_axis): | CODE |
| LOW | tests/skimage2/filters/test_gaussian.py | 154 | def test_dog_invalid_sigma_dims(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_window.py | 10 | def test_window_shape_isotropic(size, ndim): | CODE |
| LOW⚡ | tests/skimage2/filters/test_window.py | 19 | def test_window_shape_anisotropic(shape): | CODE |
| LOW⚡ | tests/skimage2/filters/test_window.py | 25 | def test_window_anisotropic_amplitude(shape): | CODE |
| LOW | tests/skimage2/filters/test_window.py | 50 | def test_window_invalid_shape(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 292 | def test_otsu_camera_image_histogram(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 298 | def test_otsu_camera_image_counts(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 304 | def test_otsu_zero_count_histogram(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 395 | def test_li_constant_image_with_nan(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 400 | def test_li_arbitrary_start_point(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 410 | def test_li_negative_inital_guess(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 460 | def test_yen_coins_image_as_float(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 465 | def test_local_even_block_size_error(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 471 | def test_isodata_camera_image(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 592 | def test_threshold_minimum_histogram(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 599 | def test_threshold_minimum_counts(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 606 | def test_threshold_minimum_synthetic(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 615 | def test_threshold_minimum_failure(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 629 | def test_triangle_uniform_images(dtype): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 635 | def test_triangle_uint_images(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 642 | def test_triangle_float_images(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 740 | def test_niblack_sauvola_pathological_image(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 750 | def test_bimodal_multiotsu_hist(): | CODE |
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 760 | def test_check_multiotsu_results(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 143 | def test_threshold_local_gaussian(self, ndim): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 169 | def test_threshold_local_mean(self, ndim): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 193 | def test_threshold_local_invalid_block_size(self, block_size): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 199 | def test_threshold_local_median(self, ndim): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 217 | def test_threshold_local_median_constant_mode(self): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 258 | def test_threshold_niblack_iterable_window_size(self): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 272 | def test_threshold_sauvola_iterable_window_size(self): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 322 | def test_otsu_coins_image_as_float(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 333 | def test_otsu_one_color_image(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 366 | def test_li_coins_image_as_float(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 443 | def test_yen_camera_image_histogram(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 449 | def test_yen_camera_image_counts(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 487 | def test_isodata_camera_image_histogram(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 494 | def test_isodata_camera_image_counts(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 537 | def test_isodata_moon_image_negative_int(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 559 | def test_isodata_moon_image_negative_float(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 781 | def test_multiotsu_astro_image(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 787 | def test_multiotsu_more_classes_then_values(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 814 | def test_multiotsu_missing_img_and_hist(): | CODE |
| LOW | tests/skimage2/filters/test_thresholding.py | 819 | def test_multiotsu_hist_parameter(): | CODE |
| 1364 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 19 | CODE | |
| LOW | tests/skimage2/restoration/test_denoise.py | 26 | CODE | |
| LOW | tests/skimage2/segmentation/test_random_walker.py | 589 | CODE | |
| LOW | tests/skimage2/_shared/test_utils.py | 30 | CODE | |
| LOW | tests/skimage/restoration/test_denoise.py | 26 | CODE | |
| LOW | tests/skimage/segmentation/test_random_walker.py | 589 | CODE | |
| LOW | doc/tools/migration_utils.py | 48 | CODE | |
| LOW | src/_skimage2/__init__.py | 55 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 1 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 22 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 22 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 22 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 22 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 22 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 22 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 22 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 22 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 22 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 33 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 33 | CODE | |
| LOW | src/_skimage2/filters/rank/__init__.py | 33 | CODE | |
| LOW | src/_skimage2/util/__init__.py | 7 | CODE | |
| LOW | src/_skimage2/segmentation/_watershed.py | 22 | CODE | |
| LOW | src/_skimage2/segmentation/_watershed.py | 22 | CODE | |
| LOW | src/_skimage2/io/__init__.py | 5 | CODE | |
| LOW | src/_skimage2/io/__init__.py | 7 | CODE | |
| LOW | src/_skimage2/io/__init__.py | 8 | CODE | |
| LOW | src/_skimage2/io/__init__.py | 10 | CODE | |
| LOW | src/_skimage2/io/__init__.py | 11 | CODE | |
| LOW | src/_skimage2/io/_plugins/imageio_plugin.py | 6 | CODE | |
| LOW | src/_skimage2/graph/mcp.py | 1 | CODE | |
| LOW | src/_skimage2/graph/mcp.py | 1 | CODE | |
| LOW | src/_skimage2/_shared/utils.py | 10 | CODE | |
| LOW | src/_skimage2/_shared/testing.py | 6 | CODE | |
| LOW | src/_skimage2/_shared/testing.py | 9 | CODE | |
| LOW | src/_skimage2/_shared/testing.py | 15 | CODE | |
| LOW | src/_skimage2/_shared/testing.py | 17 | CODE | |
| LOW | src/_skimage2/_shared/testing.py | 17 | CODE | |
| LOW | src/_skimage2/_shared/testing.py | 17 | CODE | |
| LOW | src/_skimage2/_shared/testing.py | 17 | CODE | |
| LOW | src/_skimage2/_shared/testing.py | 17 | CODE | |
| LOW | src/_skimage2/_shared/testing.py | 17 | CODE | |
| 1063 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/skimage2/exposure/test_exposure.py | 260 | # ====================== | COMMENT |
| MEDIUM⚡ | tests/skimage2/exposure/test_exposure.py | 415 | # ==================================== | COMMENT |
| MEDIUM | tests/skimage2/exposure/test_exposure.py | 25 | # ======================= | COMMENT |
| MEDIUM | tests/skimage2/exposure/test_exposure.py | 141 | # ============================ | COMMENT |
| MEDIUM | tests/skimage2/exposure/test_exposure.py | 173 | # =========================== | COMMENT |
| MEDIUM | tests/skimage2/exposure/test_exposure.py | 230 | # ==================== | COMMENT |
| MEDIUM | tests/skimage2/exposure/test_exposure.py | 588 | # ===================== | COMMENT |
| MEDIUM | tests/skimage2/exposure/test_exposure.py | 1171 | # =========================== | COMMENT |
| MEDIUM | tests/skimage2/exposure/test_exposure.py | 1228 | # ======================= | COMMENT |
| MEDIUM | tests/skimage2/exposure/test_exposure.py | 1367 | # ======================= | COMMENT |
| MEDIUM⚡ | tests/skimage/test_doctest_adapters.py | 206 | # -------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | tests/skimage/test_doctest_adapters.py | 208 | # -------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | tests/skimage/exposure/test_exposure.py | 260 | # ====================== | COMMENT |
| MEDIUM⚡ | tests/skimage/exposure/test_exposure.py | 415 | # ==================================== | COMMENT |
| MEDIUM | tests/skimage/exposure/test_exposure.py | 25 | # ======================= | COMMENT |
| MEDIUM | tests/skimage/exposure/test_exposure.py | 141 | # ============================ | COMMENT |
| MEDIUM | tests/skimage/exposure/test_exposure.py | 173 | # =========================== | COMMENT |
| MEDIUM | tests/skimage/exposure/test_exposure.py | 230 | # ==================== | COMMENT |
| MEDIUM | tests/skimage/exposure/test_exposure.py | 588 | # ===================== | COMMENT |
| MEDIUM | tests/skimage/exposure/test_exposure.py | 1171 | # =========================== | COMMENT |
| MEDIUM | tests/skimage/exposure/test_exposure.py | 1228 | # ======================= | COMMENT |
| MEDIUM | tests/skimage/exposure/test_exposure.py | 1367 | # ======================= | COMMENT |
| MEDIUM | doc/examples/filters/plot_entropy.py | 26 | # ================ | COMMENT |
| MEDIUM | doc/examples/filters/plot_entropy.py | 59 | # ================= | COMMENT |
| MEDIUM | doc/examples/filters/plot_butterworth.py | 19 | # ============================= | COMMENT |
| MEDIUM | doc/examples/filters/plot_butterworth.py | 121 | # =========================== | COMMENT |
| MEDIUM | doc/examples/filters/plot_butterworth.py | 148 | # ======================= | COMMENT |
| MEDIUM | doc/examples/filters/plot_phase_unwrap.py | 94 | # ---------- | COMMENT |
| MEDIUM | doc/examples/filters/plot_attribute_operators.py | 104 | # ---------- | COMMENT |
| MEDIUM | doc/examples/filters/plot_blur_effect.py | 32 | # ============================================== | COMMENT |
| MEDIUM | doc/examples/filters/plot_blur_effect.py | 55 | # ================ | COMMENT |
| MEDIUM | doc/examples/filters/plot_j_invariant_tutorial.py | 79 | # ========================================= | COMMENT |
| MEDIUM | doc/examples/filters/plot_j_invariant_tutorial.py | 181 | # ========================================= | COMMENT |
| MEDIUM | doc/examples/filters/plot_j_invariant_tutorial.py | 234 | # ========================================= | COMMENT |
| MEDIUM | doc/examples/filters/plot_dog.py | 19 | # ================================ | COMMENT |
| MEDIUM | doc/examples/filters/plot_dog.py | 47 | # ========================= | COMMENT |
| MEDIUM | doc/examples/registration/plot_register_rotation.py | 28 | # ================================================== | STRING |
| MEDIUM | doc/examples/registration/plot_register_rotation.py | 71 | # ================================================================= | STRING |
| MEDIUM | doc/examples/registration/plot_register_rotation.py | 119 | # ================================================================= | STRING |
| MEDIUM | doc/examples/registration/plot_register_rotation.py | 180 | # ================================================================= | STRING |
| MEDIUM | doc/examples/registration/plot_register_rotation.py | 254 | # ================================================================= | STRING |
| MEDIUM | doc/examples/registration/plot_register_rotation.py | 281 | # ---------- | STRING |
| MEDIUM | doc/examples/registration/plot_stitching.py | 63 | # --------------- | COMMENT |
| MEDIUM | doc/examples/registration/plot_stitching.py | 87 | # ------------------ | COMMENT |
| MEDIUM | doc/examples/registration/plot_stitching.py | 157 | # ---------------- | COMMENT |
| MEDIUM | …c/examples/segmentation/plot_trainable_segmentation.py | 67 | # ------------------ | COMMENT |
| MEDIUM⚡ | …c/examples/segmentation/plot_trainable_segmentation.py | 104 | # ------------------ | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_rolling_ball.py | 75 | # ----------------- | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_rolling_ball.py | 139 | # --------------- | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_rolling_ball.py | 187 | # --------------- | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_rolling_ball.py | 226 | # ----------------- | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_rolling_ball.py | 265 | # ------------------- | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_floodfill.py | 44 | # ---------------- | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_floodfill.py | 78 | # ------------------------------ | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_floodfill.py | 111 | # ------------- | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_floodfill.py | 146 | # ------------------------------------------------ | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_euler_number.py | 68 | # =========== | COMMENT |
| MEDIUM | doc/examples/color_exposure/plot_local_equalize.py | 105 | # =============== | COMMENT |
| MEDIUM | …les/applications/plot_fluorescence_nuclear_envelope.py | 72 | # ======================= | COMMENT |
| MEDIUM | …les/applications/plot_fluorescence_nuclear_envelope.py | 145 | # ================================= | COMMENT |
| 76 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | doc/ext/skimage_extensions.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/_skimage2/__init__.py | 61 | __all__ = [ | CODE |
| LOW | src/_skimage2/filters/_gabor.py | 8 | __all__ = ['gabor_kernel', 'gabor'] | CODE |
| LOW | src/_skimage2/filters/thresholding.py | 22 | __all__ = [ | CODE |
| LOW | src/_skimage2/filters/rank/generic.py | 61 | __all__ = [ | CODE |
| LOW | src/_skimage2/filters/rank/__init__.py | 36 | __all__ = [ | CODE |
| LOW | src/_skimage2/filters/rank/bilateral.py | 30 | __all__ = ['mean_bilateral', 'pop_bilateral', 'sum_bilateral'] | CODE |
| LOW | src/_skimage2/filters/rank/_percentile.py | 29 | __all__ = [ | CODE |
| LOW | src/_skimage2/metrics/_structural_similarity.py | 11 | __all__ = ['structural_similarity'] | CODE |
| LOW | src/_skimage2/metrics/_adapted_rand_error.py | 4 | __all__ = ['adapted_rand_error'] | CODE |
| LOW | src/_skimage2/metrics/_variation_of_information.py | 6 | __all__ = ['variation_of_information'] | CODE |
| LOW | src/_skimage2/metrics/_contingency_table.py | 4 | __all__ = ['contingency_table'] | CODE |
| LOW | src/_skimage2/metrics/simple_metrics.py | 7 | __all__ = [ | CODE |
| LOW | src/_skimage2/exposure/exposure.py | 7 | __all__ = [ | CODE |
| LOW | src/_skimage2/util/dtype.py | 7 | __all__ = [ | CODE |
| LOW | src/_skimage2/util/apply_parallel.py | 3 | __all__ = ['apply_parallel'] | CODE |
| LOW | src/_skimage2/util/_slice_along_axes.py | 1 | __all__ = ['slice_along_axes'] | CODE |
| LOW | src/_skimage2/util/noise.py | 1 | __all__ = ['random_noise'] | CODE |
| LOW | src/_skimage2/util/_montage.py | 5 | __all__ = ['montage'] | CODE |
| LOW | src/_skimage2/util/shape.py | 5 | __all__ = ['view_as_blocks', 'view_as_windows'] | CODE |
| LOW | src/_skimage2/util/_label.py | 3 | __all__ = ["label_points"] | CODE |
| LOW | src/_skimage2/util/arraycrop.py | 9 | __all__ = ['crop'] | CODE |
| LOW | src/_skimage2/segmentation/morphsnakes.py | 9 | __all__ = [ | CODE |
| LOW | src/_skimage2/color/colorlabel.py | 11 | __all__ = ['color_dict', 'label2rgb', 'DEFAULT_COLORS'] | CODE |
| LOW | src/_skimage2/color/adapt_rgb.py | 9 | __all__ = ['adapt_rgb', 'hsv_value', 'each_channel'] | CODE |
| LOW | src/_skimage2/io/sift.py | 3 | __all__ = ['load_sift', 'load_surf'] | CODE |
| LOW | src/_skimage2/io/manage_plugins.py | 28 | __all__ = [ | CODE |
| LOW | src/_skimage2/io/_image_stack.py | 4 | __all__ = ['image_stack', 'push', 'pop'] | CODE |
| LOW | src/_skimage2/io/_io.py | 12 | __all__ = [ | CODE |
| LOW | src/_skimage2/io/__init__.py | 18 | __all__ = [ | CODE |
| LOW | src/_skimage2/io/collection.py | 16 | __all__ = [ | CODE |
| LOW | src/_skimage2/io/_plugins/pil_plugin.py | 1 | __all__ = ['imread', 'imsave'] | CODE |
| LOW | src/_skimage2/io/_plugins/imageio_plugin.py | 1 | __all__ = ['imread', 'imsave'] | CODE |
| LOW | src/_skimage2/io/_plugins/fits_plugin.py | 1 | __all__ = ['imread', 'imread_collection'] | CODE |
| LOW | src/_skimage2/io/_plugins/gdal_plugin.py | 1 | __all__ = ['imread'] | CODE |
| LOW | src/_skimage2/io/_plugins/tifffile_plugin.py | 4 | __all__ = ['imread', 'imsave'] | CODE |
| LOW | src/_skimage2/io/_plugins/simpleitk_plugin.py | 1 | __all__ = ['imread', 'imsave'] | CODE |
| LOW | src/_skimage2/io/_plugins/imread_plugin.py | 1 | __all__ = ['imread', 'imsave'] | CODE |
| LOW | src/_skimage2/measure/_regionprops.py | 22 | __all__ = ['regionprops', 'euler_number', 'perimeter', 'perimeter_crofton'] | CODE |
| LOW | src/_skimage2/measure/_colocalization.py | 6 | __all__ = [ | CODE |
| LOW | src/_skimage2/measure/_blur_effect.py | 16 | __all__ = ['blur_effect'] | CODE |
| LOW | src/_skimage2/_shared/compat.py | 9 | __all__ = [ | CODE |
| LOW | src/_skimage2/_shared/_warnings.py | 9 | __all__ = [ | CODE |
| LOW | src/_skimage2/_shared/_geometry.py | 1 | __all__ = ['polygon_clip', 'polygon_area'] | CODE |
| LOW | src/_skimage2/_shared/utils.py | 13 | __all__ = [ | CODE |
| LOW | src/_skimage2/morphology/convex_hull.py | 12 | __all__ = ['convex_hull_image', 'convex_hull_object'] | CODE |
| LOW | src/_skimage2/transform/radon_transform.py | 13 | __all__ = ['radon', 'order_angles_golden_ratio', 'iradon', 'iradon_sart'] | CODE |
| LOW | src/_skimage2/transform/finite_radon_transform.py | 6 | __all__ = ["frt2", "ifrt2"] | CODE |
| LOW | src/skimage/_doctest_adapters.py | 29 | __all__ = ['adapt_doctests'] | CODE |
| LOW | src/skimage/conftest.py | 10 | __all__ = ['handle_np2'] | CODE |
| LOW | src/skimage/__init__.py | 59 | __all__ = [ | CODE |
| LOW | src/skimage/filters/_gabor.py | 6 | __all__ = [ | CODE |
| LOW | src/skimage/filters/ridges.py | 20 | __all__ = [ | CODE |
| LOW | src/skimage/filters/_sparse.py | 3 | __all__ = ['correlate_sparse'] | CODE |
| LOW | src/skimage/filters/_median.py | 3 | __all__ = ['median'] | CODE |
| LOW | src/skimage/filters/thresholding.py | 17 | __all__ = [ | CODE |
| LOW | src/skimage/filters/edges.py | 38 | __all__ = [ | CODE |
| LOW | src/skimage/filters/_unsharp_mask.py | 3 | __all__ = ['unsharp_mask'] | CODE |
| LOW | src/skimage/filters/_fft_based.py | 3 | __all__ = ['butterworth'] | CODE |
| LOW | src/skimage/filters/_rank_order.py | 10 | __all__ = ['rank_order'] | CODE |
| 173 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/skimage2/metrics/test_structural_similarity.py | 0 | tests vs. imdiff result from the following ipol article and code: https://www.ipol.im/pub/art/2011/g_lmii/. notes ----- | STRING |
| HIGH | tests/skimage2/metrics/test_simple_metrics.py | 0 | tests vs. imdiff result from the following ipol article and code: https://www.ipol.im/pub/art/2011/g_lmii/. notes ----- | STRING |
| HIGH | tests/skimage/metrics/test_structural_similarity.py | 0 | tests vs. imdiff result from the following ipol article and code: https://www.ipol.im/pub/art/2011/g_lmii/. notes ----- | STRING |
| HIGH | tests/skimage/metrics/test_simple_metrics.py | 0 | tests vs. imdiff result from the following ipol article and code: https://www.ipol.im/pub/art/2011/g_lmii/. notes ----- | STRING |
| HIGH | tests/skimage2/registration/test_ilk.py | 0 | generate a synthetic ground truth optical flow with a sinusoid as first component. parameters ---------- image0 : ndarra | STRING |
| HIGH | tests/skimage2/registration/test_tvl1.py | 0 | generate a synthetic ground truth optical flow with a sinusoid as first component. parameters ---------- image0 : ndarra | STRING |
| HIGH | tests/skimage/registration/test_ilk.py | 0 | generate a synthetic ground truth optical flow with a sinusoid as first component. parameters ---------- image0 : ndarra | STRING |
| HIGH | tests/skimage/registration/test_tvl1.py | 0 | generate a synthetic ground truth optical flow with a sinusoid as first component. parameters ---------- image0 : ndarra | STRING |
| HIGH | tests/skimage2/morphology/test_binary.py | 0 | validate footprint decomposition for various shapes. comparison is made to the case without decomposition. | STRING |
| HIGH | tests/skimage2/morphology/test_grayscale_operators.py | 0 | validate footprint decomposition for various shapes. comparison is made to the case without decomposition. | STRING |
| HIGH | tests/skimage/morphology/test_binary.py | 0 | validate footprint decomposition for various shapes. comparison is made to the case without decomposition. | STRING |
| HIGH | tests/skimage/morphology/test_gray.py | 0 | validate footprint decomposition for various shapes. comparison is made to the case without decomposition. | STRING |
| HIGH | benchmarks/benchmark_morphology.py | 0 | provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram used | STRING |
| HIGH | benchmarks/benchmark_interpolation.py | 0 | provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram used | STRING |
| HIGH | benchmarks/benchmark_filters.py | 0 | provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram used | STRING |
| HIGH | benchmarks/benchmark_restoration.py | 0 | provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram used | STRING |
| HIGH | benchmarks/benchmark_segmentation.py | 0 | provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram used | STRING |
| HIGH | benchmarks/benchmark_exposure.py | 0 | provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram used | STRING |
| HIGH | benchmarks/benchmark_registration.py | 0 | provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram used | STRING |
| HIGH | doc/examples/color_exposure/plot_log_gamma.py | 0 | plot an image along with its histogram and cumulative histogram. | STRING |
| HIGH | doc/examples/color_exposure/plot_local_equalize.py | 0 | plot an image along with its histogram and cumulative histogram. | STRING |
| HIGH | doc/examples/color_exposure/plot_equalize.py | 0 | plot an image along with its histogram and cumulative histogram. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/precompute/moments_sympy.py | 13 | # Define a moments matrix, M | COMMENT |
| MEDIUM⚡ | tests/skimage2/filters/test_edges.py | 377 | # Create a synthetic 2D image | COMMENT |
| MEDIUM | tests/skimage2/filters/test_edges.py | 400 | # Create a synthetic 2D image | COMMENT |
| MEDIUM | tests/skimage2/filters/test_edges.py | 403 | # Define the mask | COMMENT |
| MEDIUM | tests/skimage2/metrics/test_set_metrics.py | 96 | # Create a diamond-like shape where the four corners form the 1st set | COMMENT |
| MEDIUM | tests/skimage2/metrics/test_set_metrics.py | 108 | # Create a kite-like shape where the four corners form the 2nd set of | COMMENT |
| MEDIUM | tests/skimage2/transform/test_radon_transform.py | 70 | # Create a test image with only a single non-zero pixel at the origin | COMMENT |
| MEDIUM | tests/skimage2/transform/test_radon_transform.py | 101 | # Create a test sinogram corresponding to a single projection | COMMENT |
| MEDIUM⚡ | tests/skimage/filters/test_edges.py | 377 | # Create a synthetic 2D image | COMMENT |
| MEDIUM | tests/skimage/filters/test_edges.py | 400 | # Create a synthetic 2D image | COMMENT |
| MEDIUM | tests/skimage/filters/test_edges.py | 403 | # Define the mask | COMMENT |
| MEDIUM | tests/skimage/metrics/test_set_metrics.py | 96 | # Create a diamond-like shape where the four corners form the 1st set | COMMENT |
| MEDIUM | tests/skimage/metrics/test_set_metrics.py | 108 | # Create a kite-like shape where the four corners form the 2nd set of | COMMENT |
| MEDIUM | tests/skimage/transform/test_radon_transform.py | 70 | # Create a test image with only a single non-zero pixel at the origin | COMMENT |
| MEDIUM | tests/skimage/transform/test_radon_transform.py | 101 | # Create a test sinogram corresponding to a single projection | COMMENT |
| MEDIUM | benchmarks/benchmark_morphology.py | 61 | # Create an image that is mostly True, with random isolated False areas | COMMENT |
| MEDIUM | doc/examples/filters/plot_phase_unwrap.py | 24 | # Create a phase-wrapped image in the interval [-pi, pi) | COMMENT |
| MEDIUM | doc/examples/filters/plot_phase_unwrap.py | 51 | # Create a simple ramp | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_hausdorff_distance.py | 22 | # Create a diamond-like shape where the four corners form the 1st set of points | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_hausdorff_distance.py | 35 | # Create a kite-like shape where the four corners form the 2nd set of points | COMMENT |
| MEDIUM | doc/examples/segmentation/plot_euler_number.py | 143 | # Define a volume of 7x7x7 voxels | COMMENT |
| MEDIUM | …amples/color_exposure/plot_tinting_grayscale_images.py | 129 | # Create a mask selecting regions with interesting texture. | COMMENT |
| MEDIUM⚡ | …c/examples/color_exposure/plot_ihc_color_separation.py | 36 | # Create an RGB image for each of the stains | COMMENT |
| MEDIUM | doc/examples/edges/plot_edge_filter.py | 60 | # Creating a rotation-invariant image with different spatial frequencies. | COMMENT |
| MEDIUM | doc/examples/data/plot_specific.py | 75 | # Create a gridspec with two images in the first and 4 in the second row | COMMENT |
| MEDIUM | src/_skimage2/filters/edges.py | 711 | # Create the discrete Laplacian operator - We keep only the real part of | COMMENT |
| MEDIUM | …c/_skimage2/segmentation/random_walker_segmentation.py | 517 | # The following block ensures valid input and coerces it to the correct | COMMENT |
| MEDIUM | src/_skimage2/graph/_rag.py | 569 | # Defining the end points of the edges | COMMENT |
| MEDIUM | src/_skimage2/morphology/misc.py | 250 | # Creating the inverse of ar | COMMENT |
| MEDIUM | src/_skimage2/morphology/footprints.py | 69 | # Create a single pixel image of sufficient size and apply binary dilation. | COMMENT |
| MEDIUM | src/_skimage2/morphology/grayreconstruct.py | 175 | # Create a list of strides across the array to get the neighbors within | COMMENT |
| MEDIUM | src/_skimage2/data/_fetchers.py | 126 | # Create a new friend to manage your sample data storage | COMMENT |
| MEDIUM | src/_skimage2/data/_fetchers.py | 934 | # Define an alias for chelsea that is more descriptive. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/precompute/mc_meta/MarchingCubes.cpp | 21 | #include <float.h> | COMMENT |
| LOW | tests/skimage2/filters/rank/test_rank.py | 121 | if filter == "entropy": | COMMENT |
| LOW | tests/skimage/filters/rank/test_rank.py | 121 | # There may be some arch dependent rounding errors | COMMENT |
| LOW | .github/workflows/typing.yml | 61 | --out-dir ${MYPYPATH}/skimage2 src/skimage2/ \ | COMMENT |
| LOW | .github/scripts/check-run-all-tests-label.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/scripts/setup-test-env.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | doc/examples/filters/plot_butterworth.py | 121 | # =========================== | COMMENT |
| LOW | doc/examples/filters/plot_butterworth.py | 141 | fontdict=titledict, | COMMENT |
| LOW | doc/examples/filters/plot_phase_unwrap.py | 81 | COMMENT | |
| LOW | doc/examples/filters/plot_attribute_operators.py | 101 | COMMENT | |
| LOW | doc/examples/filters/plot_attribute_operators.py | 121 | # A. Giuliani (Eds.), Medical Data Analysis. Lecture Notes in Computer | COMMENT |
| LOW | doc/examples/filters/plot_j_invariant_tutorial.py | 81 | # function is J-invariant if the prediction it makes for each pixel does | COMMENT |
| LOW | doc/examples/filters/plot_j_invariant_tutorial.py | 181 | # ========================================= | COMMENT |
| LOW | doc/examples/registration/plot_register_rotation.py | 261 | # applied, particularly to remove high frequencies, and different choices here | COMMENT |
| LOW | doc/examples/registration/plot_register_rotation.py | 281 | # ---------- | COMMENT |
| LOW | doc/examples/registration/plot_opticalflow.py | 81 | # The estimated vector field *(u, v)* can also be displayed with a | COMMENT |
| LOW | doc/examples/registration/plot_stitching.py | 81 | ] | COMMENT |
| LOW | doc/examples/segmentation/plot_regionprops_table.py | 61 | # Plot area vs volume fraction | COMMENT |
| LOW | doc/examples/segmentation/plot_rolling_ball.py | 161 | COMMENT | |
| LOW | doc/examples/segmentation/plot_rolling_ball.py | 181 | background = ski.restoration.rolling_ball(image, kernel=kernel) | COMMENT |
| LOW | doc/examples/segmentation/plot_rolling_ball.py | 241 | COMMENT | |
| LOW | doc/examples/segmentation/plot_floodfill.py | 41 | COMMENT | |
| LOW | doc/examples/segmentation/plot_floodfill.py | 101 | ax[m, n].set_title(f'Tolerance {5 + 20 * i}') | COMMENT |
| LOW | doc/examples/segmentation/plot_floodfill.py | 141 | fig.tight_layout() | COMMENT |
| LOW | doc/examples/segmentation/plot_metrics.py | 41 | # *compactness*, which is a useful initial segmentation but too fine as a | COMMENT |
| LOW | …amples/color_exposure/plot_tinting_grayscale_images.py | 41 | # color), saturation (~colorfulness), and value (~brightness). For example, a | COMMENT |
| LOW | …amples/color_exposure/plot_tinting_grayscale_images.py | 61 | COMMENT | |
| LOW | doc/examples/color_exposure/plot_regional_maxima.py | 101 | ###################################################################### | COMMENT |
| LOW | doc/examples/color_exposure/plot_adapt_rgb.py | 61 | ax_hsv.set_title("Sobel filter computed\n on (V)alue converted image (HSV)") | COMMENT |
| LOW | doc/examples/features_detection/plot_holes_and_peaks.py | 41 | ###################################################################### | COMMENT |
| LOW | doc/examples/features_detection/plot_haar.py | 61 | COMMENT | |
| LOW | …les/applications/plot_fluorescence_nuclear_envelope.py | 61 | ) | COMMENT |
| LOW | …les/applications/plot_fluorescence_nuclear_envelope.py | 201 | # comprehension, by reshaping ``smooth_seq`` to make it 2D (where the first | COMMENT |
| LOW | …les/applications/plot_fluorescence_nuclear_envelope.py | 221 | # This way, each frame is processed independently (pixels from consecutive | COMMENT |
| LOW | …les/applications/plot_fluorescence_nuclear_envelope.py | 241 | # | COMMENT |
| LOW | …les/applications/plot_fluorescence_nuclear_envelope.py | 301 | # intensity at the nuclear envelope increases 1.3-fold in the initial five | COMMENT |
| LOW | doc/examples/applications/plot_human_mitosis.py | 61 | # ========================== | COMMENT |
| LOW | doc/examples/applications/plot_human_mitosis.py | 121 | plt.show() | COMMENT |
| LOW | doc/examples/applications/plot_human_mitosis.py | 161 | # dividing nuclei in this sample. | COMMENT |
| LOW | …c/examples/applications/plot_cornea_spot_inpainting.py | 61 | binary_string=True, | COMMENT |
| LOW | …c/examples/applications/plot_cornea_spot_inpainting.py | 101 | # with are unevenly illuminated, which causes spatial variations in the | COMMENT |
| LOW | …c/examples/applications/plot_cornea_spot_inpainting.py | 141 | # letting the objects of interest stand out more visibly. Note that | COMMENT |
| LOW | …c/examples/applications/plot_cornea_spot_inpainting.py | 161 | # Here, we use the ``diamond`` function from the ``morphology`` module to | COMMENT |
| LOW | …c/examples/applications/plot_cornea_spot_inpainting.py | 181 | # diamond's. | COMMENT |
| LOW | …/examples/applications/plot_solidification_tracking.py | 41 | # We visualize and analyze it in a workflow where the first image processing | COMMENT |
| LOW | …/examples/applications/plot_solidification_tracking.py | 141 | plotly.io.show(fig) | COMMENT |
| LOW | doc/examples/applications/plot_3d_interaction.py | 61 | ##################################################################### | COMMENT |
| LOW | doc/examples/applications/plot_3d_image_processing.py | 121 | COMMENT | |
| LOW | doc/examples/applications/plot_3d_image_processing.py | 261 | # equalization <https://en.wikipedia.org/wiki/Histogram_equalization>`_ | COMMENT |
| LOW | …c/examples/applications/plot_colocalization_metrics.py | 81 | COMMENT | |
| LOW | …c/examples/applications/plot_colocalization_metrics.py | 101 | # protein concentration, we may choose to determine what proportion of the | COMMENT |
| LOW | …c/examples/applications/plot_colocalization_metrics.py | 161 | # Sometimes the intensities are correlated but not in a linear way. A rank-based | COMMENT |
| LOW | doc/examples/applications/plot_3d_structure_tensor.py | 81 | # `plotly.express` is built. | COMMENT |
| LOW | doc/examples/applications/plot_3d_structure_tensor.py | 161 | # We are looking at a local property. Let us consider a tiny neighborhood | COMMENT |
| LOW | doc/examples/applications/plot_3d_structure_tensor.py | 201 | subplots, zmin=v_min, zmax=v_max, facet_col=2, labels={'facet_col': 'longitudinal'} | COMMENT |
| LOW | doc/examples/applications/plot_3d_structure_tensor.py | 221 | COMMENT | |
| LOW | doc/examples/applications/plot_morphology.py | 61 | eroded = ski.morphology.erosion(orig_phantom, footprint) | COMMENT |
| LOW | doc/examples/applications/plot_morphology.py | 81 | # Notice how the white boundary of the image thickens, or gets dilated, as we | COMMENT |
| LOW | doc/examples/applications/plot_morphology.py | 101 | # and dark shapes in the center retain their original thickness but the 3 lighter | COMMENT |
| LOW | doc/examples/applications/plot_morphology.py | 121 | plot_comparison(phantom, closed, 'closing') | COMMENT |
| 35 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/skimage2/filters/test_thresholding.py | 645 | # Set nbins to match the uint case and threshold as float. | COMMENT |
| LOW | tests/skimage2/filters/test_edges.py | 95 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage2/filters/test_edges.py | 127 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage2/filters/test_edges.py | 158 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage2/filters/test_edges.py | 193 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage2/filters/test_edges.py | 227 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage2/filters/test_edges.py | 260 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage2/filters/test_edges.py | 295 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage2/filters/test_edges.py | 329 | # Check if result match transform direction | COMMENT |
| LOW⚡ | tests/skimage2/filters/test_edges.py | 362 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage2/filters/test_edges.py | 432 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage2/filters/test_edges.py | 466 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage2/filters/test_edges.py | 499 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage2/transform/test_hough_transform.py | 443 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage2/transform/test_hough_transform.py | 470 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage2/transform/test_hough_transform.py | 497 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage2/transform/test_hough_transform.py | 519 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage2/transform/test_hough_transform.py | 541 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage2/transform/test_hough_transform.py | 563 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage2/transform/test_hough_transform.py | 585 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage2/transform/test_hough_transform.py | 607 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage2/transform/test_hough_transform.py | 629 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW⚡ | tests/skimage/filters/test_thresholding.py | 645 | # Set nbins to match the uint case and threshold as float. | COMMENT |
| LOW | tests/skimage/filters/test_edges.py | 95 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage/filters/test_edges.py | 127 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage/filters/test_edges.py | 158 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage/filters/test_edges.py | 193 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage/filters/test_edges.py | 227 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage/filters/test_edges.py | 260 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage/filters/test_edges.py | 295 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage/filters/test_edges.py | 329 | # Check if result match transform direction | COMMENT |
| LOW⚡ | tests/skimage/filters/test_edges.py | 362 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage/filters/test_edges.py | 432 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage/filters/test_edges.py | 466 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage/filters/test_edges.py | 499 | # Check if result match transform direction | COMMENT |
| LOW | tests/skimage/transform/test_hough_transform.py | 443 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage/transform/test_hough_transform.py | 470 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage/transform/test_hough_transform.py | 497 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage/transform/test_hough_transform.py | 519 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage/transform/test_hough_transform.py | 541 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage/transform/test_hough_transform.py | 563 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage/transform/test_hough_transform.py | 585 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage/transform/test_hough_transform.py | 607 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | tests/skimage/transform/test_hough_transform.py | 629 | # Check if I re-draw the ellipse, points are the same! | COMMENT |
| LOW | .github/workflows/typing.yml | 16 | # Set it to 3 to support 8-bit color graphics (256 colors per channel) | COMMENT |
| LOW | .github/scripts/check-run-all-tests-label.sh | 2 | # Check if the current PR has the 'run-all-tests' label using the gh CLI. | COMMENT |
| LOW | doc/examples/segmentation/plot_mask_slic.py | 53 | # Display result | COMMENT |
| LOW | doc/examples/color_exposure/plot_log_gamma.py | 55 | # Display results | COMMENT |
| LOW | doc/examples/color_exposure/plot_local_equalize.py | 76 | # Display results | COMMENT |
| LOW | doc/examples/color_exposure/plot_local_equalize.py | 149 | # Display results | COMMENT |
| LOW | doc/examples/color_exposure/plot_equalize.py | 70 | # Display results | COMMENT |
| LOW | doc/examples/edges/plot_marching_cubes.py | 38 | # Display resulting triangular mesh using Matplotlib. This can also be done | COMMENT |
| LOW | src/_skimage2/filters/thresholding.py | 380 | # Check if the image has more than one intensity value; if not, return that | COMMENT |
| LOW | src/_skimage2/measure/_marching_cubes_lewiner.py | 194 | # Check if a mask array is passed | COMMENT |
| LOW | src/_skimage2/data/_fetchers.py | 161 | # Check if pytest is currently running. | COMMENT |
| LOW | src/_skimage2/transform/_warps.py | 760 | # Check if cval has been used such that it expands the effective input | COMMENT |
| LOW | src/_skimage2/draw/_random_shapes.py | 442 | # Check if there is an overlap where the mask is nonzero. | COMMENT |
| LOW | src/skimage/util/_backends.py | 110 | # Check if the function we are looking for is implemented in | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/skimage2/io/test_io.py | 33 | io.push(x) | CODE |
| HIGH | tests/skimage2/io/test_io.py | 40 | io.push([[1, 2, 3]]) | CODE |
| HIGH | tests/skimage2/graph/test_heap.py | 28 | h.push(a[i], i) | CODE |
| HIGH | tests/skimage2/graph/test_heap.py | 31 | h.push(2 * a[i], i) | CODE |
| HIGH | tests/skimage/io/test_io.py | 33 | io.push(x) | CODE |
| HIGH | tests/skimage/io/test_io.py | 40 | io.push([[1, 2, 3]]) | CODE |
| HIGH | tests/skimage/graph/test_heap.py | 28 | h.push(a[i], i) | CODE |
| HIGH | tests/skimage/graph/test_heap.py | 31 | h.push(2 * a[i], i) | CODE |
| HIGH⚡ | …c/examples/color_exposure/plot_ihc_color_separation.py | 38 | ihc_h = hed2rgb(np.stack((ihc_hed[:, :, 0], null, null), axis=-1)) | CODE |
| HIGH⚡ | …c/examples/color_exposure/plot_ihc_color_separation.py | 39 | ihc_e = hed2rgb(np.stack((null, ihc_hed[:, :, 1], null), axis=-1)) | CODE |
| HIGH⚡ | …c/examples/color_exposure/plot_ihc_color_separation.py | 40 | ihc_d = hed2rgb(np.stack((null, null, ihc_hed[:, :, 2]), axis=-1)) | CODE |
| HIGH | …c/examples/color_exposure/plot_ihc_color_separation.py | 83 | zdh = np.dstack((null, d, h)) | CODE |
| HIGH | src/_skimage2/segmentation/_expand_labels.py | 70 | In case of ties, behavior is undefined, but currently resolves to the | STRING |
| HIGH | src/_skimage2/transform/_thin_plate_splines.py | 116 | "Transformation is undefined, define it by calling `estimate` " | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/_skimage2/filters/_gabor.py | 115 | CODE | |
| LOW | src/_skimage2/filters/ridges.py | 177 | CODE | |
| LOW | src/_skimage2/filters/ridges.py | 322 | CODE | |
| LOW | src/_skimage2/filters/edges.py | 253 | CODE | |
| LOW | src/_skimage2/filters/edges.py | 375 | CODE | |
| LOW | src/_skimage2/filters/edges.py | 503 | CODE | |
| LOW | src/_skimage2/filters/edges.py | 785 | CODE | |
| LOW | src/_skimage2/filters/lpi_filter.py | 21 | CODE | |
| LOW | src/_skimage2/filters/lpi_filter.py | 130 | CODE | |
| LOW | src/_skimage2/filters/rank/generic.py | 195 | CODE | |
| LOW | src/_skimage2/metrics/_structural_similarity.py | 14 | CODE | |
| LOW | src/_skimage2/exposure/_adapthist.py | 233 | CODE | |
| LOW | src/_skimage2/restoration/_denoise.py | 793 | CODE | |
| LOW | src/_skimage2/restoration/_denoise.py | 851 | CODE | |
| LOW | src/_skimage2/util/apply_parallel.py | 59 | CODE | |
| LOW | …c/_skimage2/segmentation/random_walker_segmentation.py | 317 | CODE | |
| LOW | src/_skimage2/segmentation/_quickshift.py | 10 | CODE | |
| LOW | src/_skimage2/segmentation/slic_superpixels.py | 106 | CODE | |
| LOW | src/_skimage2/segmentation/active_contour_model.py | 9 | CODE | |
| LOW | src/_skimage2/segmentation/morphsnakes.py | 147 | CODE | |
| LOW | src/_skimage2/segmentation/morphsnakes.py | 178 | CODE | |
| LOW | src/_skimage2/segmentation/_chan_vese.py | 185 | CODE | |
| LOW | src/_skimage2/segmentation/_watershed.py | 243 | CODE | |
| LOW | src/_skimage2/color/colorlabel.py | 85 | CODE | |
| LOW | src/_skimage2/color/colorconv.py | 258 | CODE | |
| LOW | src/_skimage2/color/colorconv.py | 418 | CODE | |
| LOW | src/_skimage2/measure/_regionprops.py | 834 | CODE | |
| LOW | src/_skimage2/measure/fit.py | 1183 | CODE | |
| LOW | src/_skimage2/measure/fit.py | 365 | CODE | |
| LOW | src/_skimage2/morphology/binary.py | 130 | CODE | |
| LOW | src/_skimage2/morphology/binary.py | 218 | CODE | |
| LOW | src/_skimage2/morphology/_max_tree.py | 496 | CODE | |
| LOW | src/_skimage2/morphology/_max_tree.py | 613 | CODE | |
| LOW | src/_skimage2/morphology/_grayscale_operators.py | 203 | CODE | |
| LOW | src/_skimage2/morphology/_grayscale_operators.py | 304 | CODE | |
| LOW | src/_skimage2/morphology/_grayscale_operators.py | 383 | CODE | |
| LOW | src/_skimage2/morphology/_grayscale_operators.py | 462 | CODE | |
| LOW | src/_skimage2/feature/sift.py | 233 | CODE | |
| LOW | src/_skimage2/feature/_basic_features.py | 202 | CODE | |
| LOW | src/_skimage2/feature/_basic_features.py | 119 | CODE | |
| LOW | src/_skimage2/feature/_daisy.py | 13 | CODE | |
| LOW | src/_skimage2/feature/_hog.py | 49 | CODE | |
| LOW | src/_skimage2/feature/_peaks.py | 248 | CODE | |
| LOW | src/_skimage2/feature/corner.py | 792 | CODE | |
| LOW | src/_skimage2/feature/corner.py | 941 | CODE | |
| LOW | src/_skimage2/feature/corner.py | 1125 | CODE | |
| LOW | src/_skimage2/feature/texture.py | 394 | CODE | |
| LOW | src/_skimage2/feature/blob.py | 240 | CODE | |
| LOW | src/_skimage2/feature/blob.py | 462 | CODE | |
| LOW | src/_skimage2/feature/blob.py | 666 | CODE | |
| LOW | src/_skimage2/transform/_warps.py | 229 | CODE | |
| LOW | src/_skimage2/transform/_warps.py | 536 | CODE | |
| LOW | src/_skimage2/transform/pyramids.py | 111 | CODE | |
| LOW | src/_skimage2/transform/pyramids.py | 187 | CODE | |
| LOW | src/_skimage2/transform/pyramids.py | 190 | CODE | |
| LOW | src/_skimage2/transform/pyramids.py | 292 | CODE | |
| LOW | src/_skimage2/draw/_random_shapes.py | 304 | CODE | |
| LOW | src/skimage/morphology/gray.py | 220 | CODE | |
| LOW | src/skimage/morphology/gray.py | 316 | CODE | |
| LOW | src/skimage/morphology/gray.py | 396 | CODE | |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .spin/cmds.py | 226 | CODE | |
| LOW | tools/precompute/_precompute_nsphere_decompositions.py | 25 | CODE | |
| LOW | tools/precompute/mc_meta/visual_test.py | 15 | CODE | |
| LOW | tests/skimage2/filters/test_gabor.py | 63 | CODE | |
| LOW | tests/skimage2/restoration/test_denoise.py | 1005 | CODE | |
| LOW | tests/skimage2/measure/test_regionprops.py | 1360 | CODE | |
| LOW | tests/skimage2/_shared/test_utils.py | 96 | CODE | |
| LOW | tests/skimage/filters/test_gabor.py | 63 | CODE | |
| LOW | tests/skimage/restoration/test_denoise.py | 1005 | CODE | |
| LOW | tests/skimage/measure/test_regionprops.py | 1360 | CODE | |
| LOW | benchmarks/benchmark_morphology.py | 81 | CODE | |
| LOW | doc/tools/apigen.py | 215 | CODE | |
| LOW | doc/tools/apigen.py | 265 | CODE | |
| LOW | src/_skimage2/filters/thresholding.py | 174 | CODE | |
| LOW | src/_skimage2/filters/thresholding.py | 639 | CODE | |
| LOW | src/_skimage2/metrics/_structural_similarity.py | 14 | CODE | |
| LOW | src/_skimage2/registration/_optical_flow.py | 15 | CODE | |
| LOW | src/_skimage2/restoration/non_local_means.py | 15 | CODE | |
| LOW | src/_skimage2/restoration/_denoise.py | 95 | CODE | |
| LOW | src/_skimage2/restoration/_denoise.py | 656 | CODE | |
| LOW | src/_skimage2/restoration/_denoise.py | 796 | CODE | |
| LOW | src/_skimage2/restoration/_denoise.py | 851 | CODE | |
| LOW | src/_skimage2/util/_invert.py | 5 | CODE | |
| LOW | src/_skimage2/util/dtype.py | 136 | CODE | |
| LOW | src/_skimage2/util/apply_parallel.py | 59 | CODE | |
| LOW | src/_skimage2/util/noise.py | 39 | CODE | |
| LOW | src/_skimage2/util/arraycrop.py | 12 | CODE | |
| LOW | src/_skimage2/util/compare.py | 30 | CODE | |
| LOW | src/_skimage2/segmentation/slic_superpixels.py | 106 | CODE | |
| LOW | src/_skimage2/segmentation/_chan_vese.py | 169 | CODE | |
| LOW | src/_skimage2/io/util.py | 20 | CODE | |
| LOW | src/_skimage2/io/collection.py | 261 | CODE | |
| LOW | src/_skimage2/io/collection.py | 287 | CODE | |
| LOW | src/_skimage2/io/_plugins/pil_plugin.py | 42 | CODE | |
| LOW | src/_skimage2/io/_plugins/pil_plugin.py | 160 | CODE | |
| LOW | src/_skimage2/io/_plugins/fits_plugin.py | 15 | CODE | |
| LOW | src/_skimage2/io/_plugins/fits_plugin.py | 54 | CODE | |
| LOW | src/_skimage2/measure/_regionprops.py | 841 | CODE | |
| LOW | src/_skimage2/measure/_regionprops.py | 382 | CODE | |
| LOW | src/_skimage2/measure/_moments_analytical.py | 127 | CODE | |
| LOW | src/_skimage2/measure/_find_contours.py | 155 | CODE | |
| LOW | src/_skimage2/_shared/_warnings.py | 90 | CODE | |
| LOW | src/_skimage2/_shared/version_requirements.py | 8 | CODE | |
| LOW | src/_skimage2/morphology/footprints.py | 76 | CODE | |
| LOW | src/_skimage2/morphology/_grayscale_operators.py | 54 | CODE | |
| LOW | src/_skimage2/feature/sift.py | 466 | CODE | |
| LOW | src/_skimage2/feature/_daisy.py | 13 | CODE | |
| LOW | src/_skimage2/feature/_hog.py | 7 | CODE | |
| LOW | src/_skimage2/feature/_hog.py | 49 | CODE | |
| LOW | src/_skimage2/feature/_peaks.py | 217 | CODE | |
| LOW | src/_skimage2/feature/censure.py | 66 | CODE | |
| LOW | src/_skimage2/feature/corner.py | 944 | CODE | |
| LOW | src/_skimage2/feature/texture.py | 170 | CODE | |
| LOW | src/_skimage2/feature/blob.py | 156 | CODE | |
| LOW | src/_skimage2/feature/blob.py | 200 | CODE | |
| LOW | src/_skimage2/_vendored/numpy_lookfor.py | 45 | CODE | |
| LOW | src/_skimage2/transform/_warps.py | 71 | CODE | |
| LOW | src/_skimage2/transform/_warps.py | 780 | CODE | |
| LOW | src/_skimage2/transform/_warps.py | 1290 | CODE | |
| LOW | src/_skimage2/transform/radon_transform.py | 127 | CODE | |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | doc/examples/segmentation/plot_floodfill.py | 152 | # In this example we also show that it is possible to post-process the binary | COMMENT |
| HIGH | doc/examples/segmentation/plot_euler_number.py | 70 | # In this example, a 3-D cube is generated, then holes and | COMMENT |
| HIGH | doc/examples/features_detection/plot_shape_index.py | 80 | # In this example we want to detect 'spherical caps', | COMMENT |
| HIGH | …tions/plot_haar_extraction_selection_classification.py | 123 | # of the feature importance. In this example, we keep the features | COMMENT |
| HIGH | doc/examples/developers/plot_threshold_li.py | 99 | # optimal. In this example, we see how a bad initial guess for the optimization | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/skimage2/feature/test_peaks.py | 85 | # case would fail with dur1 ~5% larger than dur2. To be more robust to | COMMENT |
| MEDIUM | .github/scripts/setup-test-env.sh | 29 | # Combine requirement files for a more robust pip solve | COMMENT |
| MEDIUM | doc/examples/registration/plot_stitching.py | 118 | # Once all the points are registered to the reference points, robust | COMMENT |
| LOW⚡ | …c/examples/segmentation/plot_trainable_segmentation.py | 108 | # images. In the example below we just use a different part of the image. | COMMENT |
| LOW | doc/examples/color_exposure/plot_adapt_rgb.py | 70 | # just create a function with the following signature:: | COMMENT |
| MEDIUM | doc/examples/applications/plot_3d_structure_tensor.py | 145 | # The reader may check how robust this result (coordinates | COMMENT |
| MEDIUM | doc/examples/applications/plot_coins_segmentation.py | 90 | # However, this method is not very robust, since contours that are not | COMMENT |
| MEDIUM | src/_skimage2/restoration/_denoise.py | 623 | """Calculate the robust median estimator of the noise standard deviation. | STRING |
| LOW | src/_skimage2/morphology/footprints.py | 406 | # for radius 1 just use the exact shape (3,) * ndim solution | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …c/examples/segmentation/plot_trainable_segmentation.py | 107 | # you can use the classifier trained with `fit_segmenter` to segment other | COMMENT |
| MEDIUM | doc/examples/applications/plot_thresholding_guide.py | 138 | # If the image background is relatively uniform, then you can use a global | COMMENT |
| MEDIUM | doc/examples/developers/plot_threshold_li.py | 227 | # you can use np.quantile(image, 0.95) if you have NumPy>=1.15 | COMMENT |
| LOW | src/_skimage2/feature/corner.py | 1010 | # add pad width, make sure to not modify the input values in-place | STRING |
| LOW | src/_skimage2/transform/_warps.py | 954 | # When fixing this issue, make sure to fix the branches further | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/_skimage2/io/manage_plugins.py | 39 | # (e.g. 'imread', 'imsave', etc.). Plugins are loaded as requested. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .spin/cmds.py | 92 | print("Error: could not identify built wheel") | CODE |
| LOW | .spin/cmds.py | 133 | except Exception: | STRING |
| LOW | src/_skimage2/filters/thresholding.py | 88 | except Exception as e: | CODE |
| LOW | src/_skimage2/_shared/testing.py | 125 | except Exception: | CODE |
| LOW | src/_skimage2/_vendored/numpy_lookfor.py | 33 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | doc/source/conf.py | 314 | ("py:obj", "convert"), # skimage.graph._rag.RAG.__init__ | STRING |
| MEDIUM | src/_skimage2/graph/_rag.py | 442 | # use a dummy broadcast array as data for RAG | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/skimage/test_doctest_adapters.py | 279 | def helper(x): | CODE |