AI Slop Code RIsk Monitor

scikit-image/scikit-image

Image processing in Python

22.2 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for scikit-image/scikit-image, a Python project with 6,608 GitHub stars. SynthScan examined 182,092 lines of code across 1036 source files, recording 3328 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 22.2 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

22.2
Adjusted Signal
22.2
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
6.6K
Stars
Python
Language
182.1K
Lines of Code
1.0K
Files
3.3K
Pattern Hits
2026-10-12
Scan Date
0.10
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 41.3/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 1772 finding(s).

Hallucinated Dependency & Supply Chain Risk 24.5/100 · LOW

Are imports declared and package/API names verified? 1096 finding(s).

Agent Over-Engineering Ratio 50.9/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 1960 finding(s).

PR Review Velocity Impact 68.6/100 · HIGH

Which changes need focused human review? 3328 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 107MEDIUM 180LOW 3041

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 3328 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers1434 hits · 1442 pts
SeverityFileLineSnippetContext
LOWtools/generate_requirements.py21def generate_requirement_file(name: str, req_list: list[str]) -> None:CODE
LOWtools/precompute/_precompute_nsphere_decompositions.py25def precompute_decompositions(CODE
LOWtests/skimage2/test_skimage2.py29def test_no_eager_skimage_import(namespace):CODE
LOWtests/skimage2/filters/test_median.py54def test_median_preserve_dtype(image, dtype):CODE
LOWtests/skimage2/filters/test_fft_based.py68def test_butterworth_invalid_cutoff(cutoff):CODE
LOWtests/skimage2/filters/test_fft_based.py167def test_butterworth_correctness_bw():CODE
LOWtests/skimage2/filters/test_fft_based.py189def test_butterworth_correctness_rgb():CODE
LOWtests/skimage2/filters/test_gaussian.py13def test_gaussian_negative_sigma():CODE
LOW⚡tests/skimage2/filters/test_gaussian.py30def test_gaussian_default_sigma():CODE
LOW⚡tests/skimage2/filters/test_gaussian.py39def test_gaussian_image_dtype(dtype):CODE
LOW⚡tests/skimage2/filters/test_gaussian.py44def test_gaussian_energy_decrease():CODE
LOW⚡tests/skimage2/filters/test_gaussian.py52def test_gaussian_multichannel(channel_axis):CODE
LOWtests/skimage2/filters/test_gaussian.py75def test_gaussian_migration_advice():CODE
LOWtests/skimage2/filters/test_gaussian.py111def test_gaussian_preserve_output(dtype):CODE
LOWtests/skimage2/filters/test_gaussian.py118def test_gaussian_output_error():CODE
LOWtests/skimage2/filters/test_gaussian.py131def test_difference_of_gaussians(s, s2, channel_axis):CODE
LOWtests/skimage2/filters/test_gaussian.py154def test_dog_invalid_sigma_dims():CODE
LOWtests/skimage2/filters/test_ridges.py359def test_meijering_alpha_dot_line_scores(ndim, size):CODE
LOWtests/skimage2/filters/test_ridges.py404def test_meijering_alpha_linear_between_landmarks():CODE
LOWtests/skimage2/filters/test_ridges.py419def test_meijering_alpha_ignores_orientation():CODE
LOW⚡tests/skimage2/filters/test_window.py10def test_window_shape_isotropic(size, ndim):CODE
LOW⚡tests/skimage2/filters/test_window.py19def test_window_shape_anisotropic(shape):CODE
LOW⚡tests/skimage2/filters/test_window.py25def test_window_anisotropic_amplitude(shape):CODE
LOWtests/skimage2/filters/test_window.py50def test_window_invalid_shape():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py292def test_otsu_camera_image_histogram():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py298def test_otsu_camera_image_counts():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py304def test_otsu_zero_count_histogram():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py395def test_li_constant_image_with_nan():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py400def test_li_arbitrary_start_point():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py410def test_li_negative_inital_guess():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py460def test_yen_coins_image_as_float():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py465def test_local_even_block_size_error():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py471def test_isodata_camera_image():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py592def test_threshold_minimum_histogram():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py599def test_threshold_minimum_counts():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py606def test_threshold_minimum_synthetic():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py615def test_threshold_minimum_failure():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py629def test_triangle_uniform_images(dtype):CODE
LOW⚡tests/skimage2/filters/test_thresholding.py635def test_triangle_uint_images():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py642def test_triangle_float_images():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py740def test_niblack_sauvola_pathological_image():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py750def test_bimodal_multiotsu_hist():CODE
LOW⚡tests/skimage2/filters/test_thresholding.py760def test_check_multiotsu_results():CODE
LOWtests/skimage2/filters/test_thresholding.py143 def test_threshold_local_gaussian(self, ndim):CODE
LOWtests/skimage2/filters/test_thresholding.py169 def test_threshold_local_mean(self, ndim):CODE
LOWtests/skimage2/filters/test_thresholding.py193 def test_threshold_local_invalid_block_size(self, block_size):CODE
LOWtests/skimage2/filters/test_thresholding.py199 def test_threshold_local_median(self, ndim):CODE
LOWtests/skimage2/filters/test_thresholding.py217 def test_threshold_local_median_constant_mode(self):CODE
LOWtests/skimage2/filters/test_thresholding.py258 def test_threshold_niblack_iterable_window_size(self):CODE
LOWtests/skimage2/filters/test_thresholding.py272 def test_threshold_sauvola_iterable_window_size(self):CODE
LOWtests/skimage2/filters/test_thresholding.py322def test_otsu_coins_image_as_float():CODE
LOWtests/skimage2/filters/test_thresholding.py333def test_otsu_one_color_image():CODE
LOWtests/skimage2/filters/test_thresholding.py366def test_li_coins_image_as_float():CODE
LOWtests/skimage2/filters/test_thresholding.py443def test_yen_camera_image_histogram():CODE
LOWtests/skimage2/filters/test_thresholding.py449def test_yen_camera_image_counts():CODE
LOWtests/skimage2/filters/test_thresholding.py487def test_isodata_camera_image_histogram():CODE
LOWtests/skimage2/filters/test_thresholding.py494def test_isodata_camera_image_counts():CODE
LOWtests/skimage2/filters/test_thresholding.py537def test_isodata_moon_image_negative_int():CODE
LOWtests/skimage2/filters/test_thresholding.py559def test_isodata_moon_image_negative_float():CODE
LOWtests/skimage2/filters/test_thresholding.py781def test_multiotsu_astro_image():CODE
1374 more matches not shown…
Unused Imports1082 hits · 948 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py19CODE
LOWtests/skimage2/restoration/test_denoise.py26CODE
LOWtests/skimage2/segmentation/test_random_walker.py589CODE
LOWtests/skimage2/_shared/test_utils.py30CODE
LOWtests/skimage/restoration/test_denoise.py26CODE
LOWtests/skimage/segmentation/test_random_walker.py589CODE
LOWdoc/tools/migration_utils.py48CODE
LOWsrc/skimage2/__init__.py7CODE
LOWsrc/_skimage2/__init__.py55CODE
LOWsrc/_skimage2/util/__init__.py7CODE
LOWsrc/_skimage2/segmentation/_watershed.py22CODE
LOWsrc/_skimage2/segmentation/_watershed.py22CODE
LOWsrc/_skimage2/io/_plugins/imageio_plugin.py6CODE
LOWsrc/_skimage2/graph/mcp.py1CODE
LOWsrc/_skimage2/graph/mcp.py1CODE
LOWsrc/_skimage2/_shared/utils.py10CODE
LOWsrc/_skimage2/_shared/testing.py6CODE
LOWsrc/_skimage2/_shared/testing.py9CODE
LOWsrc/_skimage2/_shared/testing.py15CODE
LOWsrc/_skimage2/_shared/testing.py17CODE
LOWsrc/_skimage2/_shared/testing.py17CODE
LOWsrc/_skimage2/_shared/testing.py17CODE
LOWsrc/_skimage2/_shared/testing.py17CODE
LOWsrc/_skimage2/_shared/testing.py17CODE
LOWsrc/_skimage2/_shared/testing.py17CODE
LOWsrc/_skimage2/_shared/testing.py17CODE
LOWsrc/_skimage2/_shared/testing.py17CODE
LOWsrc/_skimage2/_shared/testing.py17CODE
LOWsrc/_skimage2/_shared/testing.py17CODE
LOWsrc/_skimage2/morphology/__init__.py7CODE
LOWsrc/skimage/_doctest_adapters.py17CODE
LOWsrc/skimage/conftest.py8CODE
LOWsrc/skimage/filters/_gabor.py1CODE
LOWsrc/skimage/filters/_gabor.py1CODE
LOWsrc/skimage/filters/_gabor.py11CODE
LOWsrc/skimage/filters/ridges.py13CODE
LOWsrc/skimage/filters/ridges.py13CODE
LOWsrc/skimage/filters/ridges.py13CODE
LOWsrc/skimage/filters/ridges.py13CODE
LOWsrc/skimage/filters/_sparse.py1CODE
LOWsrc/skimage/filters/_median.py1CODE
LOWsrc/skimage/filters/_multiotsu.py1CODE
LOWsrc/skimage/filters/_multiotsu.py2CODE
LOWsrc/skimage/filters/_multiotsu.py3CODE
LOWsrc/skimage/filters/_multiotsu.py3CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py1CODE
LOWsrc/skimage/filters/thresholding.py33CODE
LOWsrc/skimage/filters/thresholding.py33CODE
1022 more matches not shown…
Decorative Section Separators136 hits · 406 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/skimage2/exposure/test_exposure.py260# ======================COMMENT
MEDIUM⚡tests/skimage2/exposure/test_exposure.py415# ====================================COMMENT
MEDIUMtests/skimage2/exposure/test_exposure.py25# =======================COMMENT
MEDIUMtests/skimage2/exposure/test_exposure.py141# ============================COMMENT
MEDIUMtests/skimage2/exposure/test_exposure.py173# ===========================COMMENT
MEDIUMtests/skimage2/exposure/test_exposure.py230# ====================COMMENT
MEDIUMtests/skimage2/exposure/test_exposure.py588# =====================COMMENT
MEDIUMtests/skimage2/exposure/test_exposure.py1171# ===========================COMMENT
MEDIUMtests/skimage2/exposure/test_exposure.py1228# =======================COMMENT
MEDIUMtests/skimage2/exposure/test_exposure.py1367# =======================COMMENT
MEDIUM⚡tests/skimage/test_doctest_adapters.py207# --------------------------------------------------------------------------STRING
MEDIUM⚡tests/skimage/test_doctest_adapters.py209# --------------------------------------------------------------------------STRING
MEDIUM⚡tests/skimage/exposure/test_exposure.py260# ======================COMMENT
MEDIUM⚡tests/skimage/exposure/test_exposure.py415# ====================================COMMENT
MEDIUMtests/skimage/exposure/test_exposure.py25# =======================COMMENT
MEDIUMtests/skimage/exposure/test_exposure.py141# ============================COMMENT
MEDIUMtests/skimage/exposure/test_exposure.py173# ===========================COMMENT
MEDIUMtests/skimage/exposure/test_exposure.py230# ====================COMMENT
MEDIUMtests/skimage/exposure/test_exposure.py588# =====================COMMENT
MEDIUMtests/skimage/exposure/test_exposure.py1171# ===========================COMMENT
MEDIUMtests/skimage/exposure/test_exposure.py1228# =======================COMMENT
MEDIUMtests/skimage/exposure/test_exposure.py1367# =======================COMMENT
MEDIUMdoc/examples/filters/plot_entropy.py26# ================COMMENT
MEDIUMdoc/examples/filters/plot_entropy.py59# =================COMMENT
MEDIUMdoc/examples/filters/plot_butterworth.py19# =============================COMMENT
MEDIUMdoc/examples/filters/plot_butterworth.py121# ===========================COMMENT
MEDIUMdoc/examples/filters/plot_butterworth.py148# =======================COMMENT
MEDIUMdoc/examples/filters/plot_phase_unwrap.py94# ----------COMMENT
MEDIUMdoc/examples/filters/plot_attribute_operators.py104# ----------COMMENT
MEDIUMdoc/examples/filters/plot_blur_effect.py32# ==============================================COMMENT
MEDIUMdoc/examples/filters/plot_blur_effect.py55# ================COMMENT
MEDIUMdoc/examples/filters/plot_j_invariant_tutorial.py79# =========================================COMMENT
MEDIUMdoc/examples/filters/plot_j_invariant_tutorial.py181# =========================================COMMENT
MEDIUMdoc/examples/filters/plot_j_invariant_tutorial.py234# =========================================COMMENT
MEDIUMdoc/examples/filters/plot_dog.py19# ================================COMMENT
MEDIUMdoc/examples/filters/plot_dog.py47# =========================COMMENT
MEDIUMdoc/examples/registration/plot_register_rotation.py28# ==================================================STRING
MEDIUMdoc/examples/registration/plot_register_rotation.py71# =================================================================STRING
MEDIUMdoc/examples/registration/plot_register_rotation.py119# =================================================================STRING
MEDIUMdoc/examples/registration/plot_register_rotation.py180# =================================================================STRING
MEDIUMdoc/examples/registration/plot_register_rotation.py254# =================================================================STRING
MEDIUMdoc/examples/registration/plot_register_rotation.py281# ----------STRING
MEDIUMdoc/examples/registration/plot_stitching.py63# ---------------COMMENT
MEDIUMdoc/examples/registration/plot_stitching.py87# ------------------COMMENT
MEDIUMdoc/examples/registration/plot_stitching.py157# ----------------COMMENT
MEDIUM…c/examples/segmentation/plot_trainable_segmentation.py67# ------------------COMMENT
MEDIUM⚡…c/examples/segmentation/plot_trainable_segmentation.py104# ------------------COMMENT
MEDIUMdoc/examples/segmentation/plot_rolling_ball.py75# -----------------COMMENT
MEDIUMdoc/examples/segmentation/plot_rolling_ball.py139# ---------------COMMENT
MEDIUMdoc/examples/segmentation/plot_rolling_ball.py187# ---------------COMMENT
MEDIUMdoc/examples/segmentation/plot_rolling_ball.py226# -----------------COMMENT
MEDIUMdoc/examples/segmentation/plot_rolling_ball.py265# -------------------COMMENT
MEDIUMdoc/examples/segmentation/plot_floodfill.py44# ----------------COMMENT
MEDIUMdoc/examples/segmentation/plot_floodfill.py78# ------------------------------COMMENT
MEDIUMdoc/examples/segmentation/plot_floodfill.py111# -------------COMMENT
MEDIUMdoc/examples/segmentation/plot_floodfill.py146# ------------------------------------------------COMMENT
MEDIUMdoc/examples/segmentation/plot_euler_number.py68# ===========COMMENT
MEDIUMdoc/examples/color_exposure/plot_local_equalize.py105# ===============COMMENT
MEDIUM…les/applications/plot_fluorescence_nuclear_envelope.py72# =======================COMMENT
MEDIUM…les/applications/plot_fluorescence_nuclear_envelope.py145# =================================COMMENT
76 more matches not shown…
Cross-File Repetition61 hits · 305 pts
SeverityFileLineSnippetContext
HIGHtests/skimage2/metrics/test_structural_similarity.py0tests vs. imdiff result from the following ipol article and code: https://www.ipol.im/pub/art/2011/g_lmii/. notes ----- STRING
HIGHtests/skimage2/metrics/test_simple_metrics.py0tests vs. imdiff result from the following ipol article and code: https://www.ipol.im/pub/art/2011/g_lmii/. notes ----- STRING
HIGHtests/skimage/metrics/test_structural_similarity.py0tests vs. imdiff result from the following ipol article and code: https://www.ipol.im/pub/art/2011/g_lmii/. notes ----- STRING
HIGHtests/skimage/metrics/test_simple_metrics.py0tests vs. imdiff result from the following ipol article and code: https://www.ipol.im/pub/art/2011/g_lmii/. notes ----- STRING
HIGHtests/skimage2/registration/test_ilk.py0generate a synthetic ground truth optical flow with a sinusoid as first component. parameters ---------- image0 : ndarraSTRING
HIGHtests/skimage2/registration/test_tvl1.py0generate a synthetic ground truth optical flow with a sinusoid as first component. parameters ---------- image0 : ndarraSTRING
HIGHtests/skimage/registration/test_ilk.py0generate a synthetic ground truth optical flow with a sinusoid as first component. parameters ---------- image0 : ndarraSTRING
HIGHtests/skimage/registration/test_tvl1.py0generate a synthetic ground truth optical flow with a sinusoid as first component. parameters ---------- image0 : ndarraSTRING
HIGHtests/skimage2/morphology/test_binary.py0validate footprint decomposition for various shapes. comparison is made to the case without decomposition.STRING
HIGHtests/skimage2/morphology/test_grayscale_operators.py0validate footprint decomposition for various shapes. comparison is made to the case without decomposition.STRING
HIGHtests/skimage/morphology/test_binary.py0validate footprint decomposition for various shapes. comparison is made to the case without decomposition.STRING
HIGHtests/skimage/morphology/test_gray.py0validate footprint decomposition for various shapes. comparison is made to the case without decomposition.STRING
HIGHbenchmarks/benchmark_morphology.py0provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram usedSTRING
HIGHbenchmarks/benchmark_interpolation.py0provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram usedSTRING
HIGHbenchmarks/benchmark_filters.py0provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram usedSTRING
HIGHbenchmarks/benchmark_restoration.py0provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram usedSTRING
HIGHbenchmarks/benchmark_segmentation.py0provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram usedSTRING
HIGHbenchmarks/benchmark_exposure.py0provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram usedSTRING
HIGHbenchmarks/benchmark_registration.py0provide reference for memory measurement with empty benchmark. peakmem benchmarks measure the maximum amount of ram usedSTRING
HIGHdoc/examples/color_exposure/plot_log_gamma.py0plot an image along with its histogram and cumulative histogram.STRING
HIGHdoc/examples/color_exposure/plot_local_equalize.py0plot an image along with its histogram and cumulative histogram.STRING
HIGHdoc/examples/color_exposure/plot_equalize.py0plot an image along with its histogram and cumulative histogram.STRING
HIGHsrc/skimage2/filters/__init__.py0sharpening, edge finding, rank filters, thresholding, etc.STRING
HIGHsrc/_skimage2/filters/__init__.py0sharpening, edge finding, rank filters, thresholding, etc.STRING
HIGHsrc/skimage/filters/__init__.py0sharpening, edge finding, rank filters, thresholding, etc.STRING
HIGHsrc/skimage2/metrics/__init__.py0metrics corresponding to images, e.g., distance metrics, similarity, etc.STRING
HIGHsrc/_skimage2/metrics/__init__.py0metrics corresponding to images, e.g., distance metrics, similarity, etc.STRING
HIGHsrc/skimage/metrics/__init__.py0metrics corresponding to images, e.g., distance metrics, similarity, etc.STRING
HIGHsrc/skimage2/registration/__init__.py0image registration algorithms, e.g., optical flow or phase cross correlation.STRING
HIGHsrc/_skimage2/registration/__init__.py0image registration algorithms, e.g., optical flow or phase cross correlation.STRING
HIGHsrc/skimage/registration/__init__.py0image registration algorithms, e.g., optical flow or phase cross correlation.STRING
HIGHsrc/skimage2/exposure/__init__.py0image intensity adjustment, e.g., histogram equalization, etc.STRING
HIGHsrc/_skimage2/exposure/__init__.py0image intensity adjustment, e.g., histogram equalization, etc.STRING
HIGHsrc/skimage/exposure/__init__.py0image intensity adjustment, e.g., histogram equalization, etc.STRING
HIGHsrc/skimage2/restoration/__init__.py0restoration algorithms, e.g., deconvolution algorithms, denoising, etc.STRING
HIGHsrc/_skimage2/restoration/__init__.py0restoration algorithms, e.g., deconvolution algorithms, denoising, etc.STRING
HIGHsrc/skimage/restoration/__init__.py0restoration algorithms, e.g., deconvolution algorithms, denoising, etc.STRING
HIGHsrc/skimage2/segmentation/__init__.py0algorithms to partition images into meaningful regions or boundaries.STRING
HIGHsrc/_skimage2/segmentation/__init__.py0algorithms to partition images into meaningful regions or boundaries.STRING
HIGHsrc/skimage/segmentation/__init__.py0algorithms to partition images into meaningful regions or boundaries.STRING
HIGHsrc/skimage2/graph/__init__.py0graph-based operations, e.g., shortest paths. this includes creating adjacency graphs of pixels in an image, finding theSTRING
HIGHsrc/_skimage2/graph/__init__.py0graph-based operations, e.g., shortest paths. this includes creating adjacency graphs of pixels in an image, finding theSTRING
HIGHsrc/skimage/graph/__init__.py0graph-based operations, e.g., shortest paths. this includes creating adjacency graphs of pixels in an image, finding theSTRING
HIGHsrc/skimage2/measure/__init__.py0measurement of image properties, e.g., region properties, contours.STRING
HIGHsrc/_skimage2/measure/__init__.py0measurement of image properties, e.g., region properties, contours.STRING
HIGHsrc/skimage/measure/__init__.py0measurement of image properties, e.g., region properties, contours.STRING
HIGHsrc/skimage2/morphology/__init__.py0morphological algorithms, e.g., closing, opening, skeletonization.STRING
HIGHsrc/_skimage2/morphology/__init__.py0morphological algorithms, e.g., closing, opening, skeletonization.STRING
HIGHsrc/skimage/morphology/__init__.py0morphological algorithms, e.g., closing, opening, skeletonization.STRING
HIGHsrc/skimage2/feature/__init__.py0feature detection and extraction, e.g., texture analysis, corners, etc.STRING
HIGHsrc/_skimage2/feature/__init__.py0feature detection and extraction, e.g., texture analysis, corners, etc.STRING
HIGHsrc/skimage/feature/__init__.py0feature detection and extraction, e.g., texture analysis, corners, etc.STRING
HIGHsrc/skimage2/data/__init__.py0example images and datasets. a curated set of general purpose and scientific images used in tests, examples, and documenSTRING
HIGHsrc/_skimage2/data/__init__.py0example images and datasets. a curated set of general purpose and scientific images used in tests, examples, and documenSTRING
HIGHsrc/skimage/data/__init__.py0example images and datasets. a curated set of general purpose and scientific images used in tests, examples, and documenSTRING
HIGHsrc/skimage2/transform/__init__.py0geometric and other transformations, e.g., rotations, radon transform. - geometric transformation: these transforms chanSTRING
HIGHsrc/_skimage2/transform/__init__.py0geometric and other transformations, e.g., rotations, radon transform. - geometric transformation: these transforms chanSTRING
HIGHsrc/skimage/transform/__init__.py0geometric and other transformations, e.g., rotations, radon transform. - geometric transformation: these transforms chanSTRING
HIGHsrc/skimage2/draw/__init__.py0drawing primitives, such as lines, circles, text, etc.STRING
HIGHsrc/_skimage2/draw/__init__.py0drawing primitives, such as lines, circles, text, etc.STRING
1 more matches not shown…
Modern Structural Boilerplate232 hits · 232 pts
SeverityFileLineSnippetContext
LOWdoc/ext/skimage_extensions.py13logger = logging.getLogger(__name__)CODE
LOWsrc/_skimage2/__init__.py61__all__ = [CODE
LOWsrc/_skimage2/filters/_gabor.py8__all__ = ['gabor_kernel', 'gabor']CODE
LOWsrc/_skimage2/filters/thresholding.py22__all__ = [CODE
LOWsrc/_skimage2/filters/rank/generic.py61__all__ = [CODE
LOWsrc/_skimage2/filters/rank/bilateral.py30__all__ = ['mean_bilateral', 'pop_bilateral', 'sum_bilateral']CODE
LOWsrc/_skimage2/filters/rank/_percentile.py29__all__ = [CODE
LOWsrc/_skimage2/metrics/_structural_similarity.py11__all__ = ['structural_similarity']CODE
LOWsrc/_skimage2/metrics/_adapted_rand_error.py4__all__ = ['adapted_rand_error']CODE
LOWsrc/_skimage2/metrics/_variation_of_information.py6__all__ = ['variation_of_information']CODE
LOWsrc/_skimage2/metrics/_contingency_table.py4__all__ = ['contingency_table']CODE
LOWsrc/_skimage2/metrics/simple_metrics.py7__all__ = [CODE
LOWsrc/_skimage2/exposure/exposure.py7__all__ = [CODE
LOWsrc/_skimage2/util/dtype.py7__all__ = [CODE
LOWsrc/_skimage2/util/apply_parallel.py3__all__ = ['apply_parallel']CODE
LOWsrc/_skimage2/util/_slice_along_axes.py1__all__ = ['slice_along_axes']CODE
LOWsrc/_skimage2/util/noise.py1__all__ = ['random_noise']CODE
LOWsrc/_skimage2/util/_montage.py5__all__ = ['montage']CODE
LOWsrc/_skimage2/util/shape.py5__all__ = ['view_as_blocks', 'view_as_windows']CODE
LOWsrc/_skimage2/util/_label.py3__all__ = ["label_points"]CODE
LOWsrc/_skimage2/util/arraycrop.py9__all__ = ['crop']CODE
LOWsrc/_skimage2/segmentation/morphsnakes.py9__all__ = [CODE
LOWsrc/_skimage2/color/colorlabel.py11__all__ = ['color_dict', 'label2rgb', 'DEFAULT_COLORS']CODE
LOWsrc/_skimage2/color/adapt_rgb.py9__all__ = ['adapt_rgb', 'hsv_value', 'each_channel']CODE
LOWsrc/_skimage2/io/sift.py3__all__ = ['load_sift', 'load_surf']CODE
LOWsrc/_skimage2/io/manage_plugins.py28__all__ = [CODE
LOWsrc/_skimage2/io/_image_stack.py4__all__ = ['image_stack', 'push', 'pop']CODE
LOWsrc/_skimage2/io/_io.py12__all__ = [CODE
LOWsrc/_skimage2/io/__init__.py17__all__ = [CODE
LOWsrc/_skimage2/io/collection.py16__all__ = [CODE
LOWsrc/_skimage2/io/_plugins/pil_plugin.py1__all__ = ['imread', 'imsave']CODE
LOWsrc/_skimage2/io/_plugins/imageio_plugin.py1__all__ = ['imread', 'imsave']CODE
LOWsrc/_skimage2/io/_plugins/fits_plugin.py1__all__ = ['imread', 'imread_collection']CODE
LOWsrc/_skimage2/io/_plugins/gdal_plugin.py1__all__ = ['imread']CODE
LOWsrc/_skimage2/io/_plugins/tifffile_plugin.py4__all__ = ['imread', 'imsave']CODE
LOWsrc/_skimage2/io/_plugins/simpleitk_plugin.py1__all__ = ['imread', 'imsave']CODE
LOWsrc/_skimage2/io/_plugins/imread_plugin.py1__all__ = ['imread', 'imsave']CODE
LOWsrc/_skimage2/measure/_regionprops.py22__all__ = ['regionprops', 'euler_number', 'perimeter', 'perimeter_crofton']CODE
LOWsrc/_skimage2/measure/_colocalization.py6__all__ = [CODE
LOWsrc/_skimage2/measure/_blur_effect.py16__all__ = ['blur_effect']CODE
LOWsrc/_skimage2/_shared/compat.py9__all__ = [CODE
LOWsrc/_skimage2/_shared/_warnings.py9__all__ = [CODE
LOWsrc/_skimage2/_shared/_geometry.py1__all__ = ['polygon_clip', 'polygon_area']CODE
LOWsrc/_skimage2/_shared/utils.py13__all__ = [CODE
LOWsrc/_skimage2/morphology/convex_hull.py12__all__ = ['convex_hull_image', 'convex_hull_object']CODE
LOWsrc/_skimage2/transform/radon_transform.py13__all__ = ['radon', 'order_angles_golden_ratio', 'iradon', 'iradon_sart']CODE
LOWsrc/_skimage2/transform/finite_radon_transform.py6__all__ = ["frt2", "ifrt2"]CODE
LOWsrc/skimage/_doctest_adapters.py29__all__ = ['adapt_doctests']CODE
LOWsrc/skimage/conftest.py10__all__ = ['handle_np2']CODE
LOWsrc/skimage/__init__.py59__all__ = [CODE
LOWsrc/skimage/filters/_gabor.py6__all__ = [CODE
LOWsrc/skimage/filters/ridges.py20__all__ = [CODE
LOWsrc/skimage/filters/_sparse.py3__all__ = ['correlate_sparse']CODE
LOWsrc/skimage/filters/_median.py3__all__ = ['median']CODE
LOWsrc/skimage/filters/thresholding.py17__all__ = [CODE
LOWsrc/skimage/filters/edges.py38__all__ = [CODE
LOWsrc/skimage/filters/_unsharp_mask.py3__all__ = ['unsharp_mask']CODE
LOWsrc/skimage/filters/_fft_based.py3__all__ = ['butterworth']CODE
LOWsrc/skimage/filters/_rank_order.py10__all__ = ['rank_order']CODE
LOWsrc/skimage/filters/lpi_filter.py15__all__ = [CODE
172 more matches not shown…
Empty Error Handlers26 hits · 130 pts
SeverityFileLineSnippetContext
HIGH.spin/cmds.py133except Exception:CODE
HIGHtests/skimage2/restoration/test_denoise.py50except AttributeError:CODE
HIGHtests/skimage2/io/test_pil.py302except AttributeError: # `close` not available on PILCODE
HIGHtests/skimage2/measure/test_regionprops.py118except TypeError: # the `slice` property causes thisCODE
HIGHtests/skimage2/measure/test_regionprops.py134except (NotImplementedError, TypeError):CODE
HIGHtests/skimage2/_shared/test_utils.py33except ImportError:CODE
HIGHtests/skimage/restoration/test_denoise.py50except AttributeError:CODE
HIGHtests/skimage/io/test_pil.py302except AttributeError: # `close` not available on PILCODE
HIGHtests/skimage/measure/test_regionprops.py118except TypeError: # the `slice` property causes thisCODE
HIGHtests/skimage/measure/test_regionprops.py134except (NotImplementedError, TypeError):CODE
HIGHbenchmarks/benchmark_registration.py10except ImportError:CODE
HIGHbenchmarks/benchmark_metrics.py6except ImportError:CODE
HIGHdoc/tools/apigen.py260except TypeError:CODE
HIGHdoc/examples/color_exposure/plot_adapt_hist_eq_3d.py199except NotImplementedError:CODE
HIGHsrc/_skimage2/conftest.py16except ImportError:CODE
HIGHsrc/_skimage2/__init__.py136except (FileNotFoundError, subprocess.CalledProcessError):CODE
HIGHsrc/_skimage2/__init__.py138except OSError:CODE
HIGH…c/_skimage2/segmentation/random_walker_segmentation.py32except AttributeError:CODE
HIGHsrc/_skimage2/io/manage_plugins.py105except (ImportError, RuntimeError, OSError):CODE
HIGHsrc/_skimage2/graph/_graph_merge.py30except KeyError:CODE
HIGHsrc/_skimage2/_shared/_warnings.py81except AttributeError:CODE
HIGHsrc/_skimage2/_shared/testing.py125except Exception:CODE
HIGHsrc/_skimage2/_build_utils/version.py38except subprocess.CalledProcessError:CODE
HIGHsrc/skimage/__init__.py134except (FileNotFoundError, subprocess.CalledProcessError):CODE
HIGHsrc/skimage/__init__.py136except OSError:CODE
HIGHsrc/skimage/util/_backends.py83except KeyError:CODE
Self-Referential Comments33 hits · 104 pts
SeverityFileLineSnippetContext
MEDIUMtools/precompute/moments_sympy.py13# Define a moments matrix, MCOMMENT
MEDIUM⚡tests/skimage2/filters/test_edges.py377 # Create a synthetic 2D imageCOMMENT
MEDIUMtests/skimage2/filters/test_edges.py400 # Create a synthetic 2D imageCOMMENT
MEDIUMtests/skimage2/filters/test_edges.py403 # Define the maskCOMMENT
MEDIUMtests/skimage2/metrics/test_set_metrics.py96 # Create a diamond-like shape where the four corners form the 1st setCOMMENT
MEDIUMtests/skimage2/metrics/test_set_metrics.py108 # Create a kite-like shape where the four corners form the 2nd set ofCOMMENT
MEDIUMtests/skimage2/transform/test_radon_transform.py70 # Create a test image with only a single non-zero pixel at the originCOMMENT
MEDIUMtests/skimage2/transform/test_radon_transform.py101 # Create a test sinogram corresponding to a single projectionCOMMENT
MEDIUM⚡tests/skimage/filters/test_edges.py377 # Create a synthetic 2D imageCOMMENT
MEDIUMtests/skimage/filters/test_edges.py400 # Create a synthetic 2D imageCOMMENT
MEDIUMtests/skimage/filters/test_edges.py403 # Define the maskCOMMENT
MEDIUMtests/skimage/metrics/test_set_metrics.py96 # Create a diamond-like shape where the four corners form the 1st setCOMMENT
MEDIUMtests/skimage/metrics/test_set_metrics.py108 # Create a kite-like shape where the four corners form the 2nd set ofCOMMENT
MEDIUMtests/skimage/transform/test_radon_transform.py70 # Create a test image with only a single non-zero pixel at the originCOMMENT
MEDIUMtests/skimage/transform/test_radon_transform.py101 # Create a test sinogram corresponding to a single projectionCOMMENT
MEDIUMbenchmarks/benchmark_morphology.py61 # Create an image that is mostly True, with random isolated False areasCOMMENT
MEDIUMdoc/examples/filters/plot_phase_unwrap.py24# Create a phase-wrapped image in the interval [-pi, pi)COMMENT
MEDIUMdoc/examples/filters/plot_phase_unwrap.py51# Create a simple rampCOMMENT
MEDIUMdoc/examples/segmentation/plot_hausdorff_distance.py22# Create a diamond-like shape where the four corners form the 1st set of pointsCOMMENT
MEDIUMdoc/examples/segmentation/plot_hausdorff_distance.py35# Create a kite-like shape where the four corners form the 2nd set of pointsCOMMENT
MEDIUMdoc/examples/segmentation/plot_euler_number.py143# Define a volume of 7x7x7 voxelsCOMMENT
MEDIUM…amples/color_exposure/plot_tinting_grayscale_images.py129# Create a mask selecting regions with interesting texture.COMMENT
MEDIUM⚡…c/examples/color_exposure/plot_ihc_color_separation.py36# Create an RGB image for each of the stainsCOMMENT
MEDIUMdoc/examples/edges/plot_edge_filter.py60# Creating a rotation-invariant image with different spatial frequencies.COMMENT
MEDIUMdoc/examples/data/plot_specific.py75# Create a gridspec with two images in the first and 4 in the second rowCOMMENT
MEDIUMsrc/_skimage2/filters/edges.py711 # Create the discrete Laplacian operator - We keep only the real part ofCOMMENT
MEDIUM…c/_skimage2/segmentation/random_walker_segmentation.py517 # The following block ensures valid input and coerces it to the correctCOMMENT
MEDIUMsrc/_skimage2/graph/_rag.py569 # Defining the end points of the edgesCOMMENT
MEDIUMsrc/_skimage2/morphology/misc.py250 # Creating the inverse of arCOMMENT
MEDIUMsrc/_skimage2/morphology/footprints.py70 # Create a single pixel image of sufficient size and apply binary dilation.COMMENT
MEDIUMsrc/_skimage2/morphology/grayreconstruct.py175 # Create a list of strides across the array to get the neighbors withinCOMMENT
MEDIUMsrc/_skimage2/data/_fetchers.py126 # Create a new friend to manage your sample data storageCOMMENT
MEDIUMsrc/_skimage2/data/_fetchers.py934# Define an alias for chelsea that is more descriptive.COMMENT
Over-Commented Block97 hits · 97 pts
SeverityFileLineSnippetContext
LOWtools/precompute/mc_meta/MarchingCubes.cpp21#include <float.h>COMMENT
LOWtests/skimage2/filters/test_ridges.py301# The `alpha` parameter of `meijering`.COMMENT
LOWtests/skimage2/filters/rank/test_rank.py121 if filter == "entropy":COMMENT
LOWtests/skimage/filters/test_ridges.py301# The `alpha` parameter of `meijering`.COMMENT
LOWtests/skimage/filters/rank/test_rank.py121 # There may be some arch dependent rounding errorsCOMMENT
LOW.github/workflows/typing.yml61 --out-dir ${MYPYPATH}/skimage2 src/skimage2/ \COMMENT
LOW.github/scripts/check-run-all-tests-label.sh1#!/usr/bin/env bashCOMMENT
LOW.github/scripts/setup-test-env.sh1#!/usr/bin/env bashCOMMENT
LOWdoc/examples/filters/plot_butterworth.py121# ===========================COMMENT
LOWdoc/examples/filters/plot_butterworth.py141 fontdict=titledict,COMMENT
LOWdoc/examples/filters/plot_phase_unwrap.py81COMMENT
LOWdoc/examples/filters/plot_attribute_operators.py101COMMENT
LOWdoc/examples/filters/plot_attribute_operators.py121# A. Giuliani (Eds.), Medical Data Analysis. Lecture Notes in ComputerCOMMENT
LOWdoc/examples/filters/plot_j_invariant_tutorial.py81# function is J-invariant if the prediction it makes for each pixel doesCOMMENT
LOWdoc/examples/filters/plot_j_invariant_tutorial.py181# =========================================COMMENT
LOWdoc/examples/registration/plot_register_rotation.py261# applied, particularly to remove high frequencies, and different choices hereCOMMENT
LOWdoc/examples/registration/plot_register_rotation.py281# ----------COMMENT
LOWdoc/examples/registration/plot_opticalflow.py81# The estimated vector field *(u, v)* can also be displayed with aCOMMENT
LOWdoc/examples/registration/plot_stitching.py81]COMMENT
LOWdoc/examples/segmentation/plot_regionprops_table.py61# Plot area vs volume fractionCOMMENT
LOWdoc/examples/segmentation/plot_rolling_ball.py161COMMENT
LOWdoc/examples/segmentation/plot_rolling_ball.py181background = ski.restoration.rolling_ball(image, kernel=kernel)COMMENT
LOWdoc/examples/segmentation/plot_rolling_ball.py241COMMENT
LOWdoc/examples/segmentation/plot_floodfill.py41COMMENT
LOWdoc/examples/segmentation/plot_floodfill.py101 ax[m, n].set_title(f'Tolerance {5 + 20 * i}')COMMENT
LOWdoc/examples/segmentation/plot_floodfill.py141fig.tight_layout()COMMENT
LOWdoc/examples/segmentation/plot_metrics.py41# *compactness*, which is a useful initial segmentation but too fine as aCOMMENT
LOW…amples/color_exposure/plot_tinting_grayscale_images.py41# color), saturation (~colorfulness), and value (~brightness). For example, aCOMMENT
LOW…amples/color_exposure/plot_tinting_grayscale_images.py61COMMENT
LOWdoc/examples/color_exposure/plot_regional_maxima.py101######################################################################COMMENT
LOWdoc/examples/color_exposure/plot_adapt_rgb.py61ax_hsv.set_title("Sobel filter computed\n on (V)alue converted image (HSV)")COMMENT
LOWdoc/examples/features_detection/plot_holes_and_peaks.py41######################################################################COMMENT
LOWdoc/examples/features_detection/plot_haar.py61COMMENT
LOW…les/applications/plot_fluorescence_nuclear_envelope.py61)COMMENT
LOW…les/applications/plot_fluorescence_nuclear_envelope.py201# comprehension, by reshaping ``smooth_seq`` to make it 2D (where the firstCOMMENT
LOW…les/applications/plot_fluorescence_nuclear_envelope.py221# This way, each frame is processed independently (pixels from consecutiveCOMMENT
LOW…les/applications/plot_fluorescence_nuclear_envelope.py241#COMMENT
LOW…les/applications/plot_fluorescence_nuclear_envelope.py301# intensity at the nuclear envelope increases 1.3-fold in the initial fiveCOMMENT
LOWdoc/examples/applications/plot_human_mitosis.py61# ==========================COMMENT
LOWdoc/examples/applications/plot_human_mitosis.py121plt.show()COMMENT
LOWdoc/examples/applications/plot_human_mitosis.py161# dividing nuclei in this sample.COMMENT
LOW…c/examples/applications/plot_cornea_spot_inpainting.py61 binary_string=True,COMMENT
LOW…c/examples/applications/plot_cornea_spot_inpainting.py101# with are unevenly illuminated, which causes spatial variations in theCOMMENT
LOW…c/examples/applications/plot_cornea_spot_inpainting.py141# letting the objects of interest stand out more visibly. Note thatCOMMENT
LOW…c/examples/applications/plot_cornea_spot_inpainting.py161# Here, we use the ``diamond`` function from the ``morphology`` module toCOMMENT
LOW…c/examples/applications/plot_cornea_spot_inpainting.py181# diamond's.COMMENT
LOW…/examples/applications/plot_solidification_tracking.py41# We visualize and analyze it in a workflow where the first image processingCOMMENT
LOW…/examples/applications/plot_solidification_tracking.py141plotly.io.show(fig)COMMENT
LOWdoc/examples/applications/plot_3d_interaction.py61#####################################################################COMMENT
LOWdoc/examples/applications/plot_3d_image_processing.py121COMMENT
LOWdoc/examples/applications/plot_3d_image_processing.py261# equalization <https://en.wikipedia.org/wiki/Histogram_equalization>`_COMMENT
LOW…c/examples/applications/plot_colocalization_metrics.py81COMMENT
LOW…c/examples/applications/plot_colocalization_metrics.py101# protein concentration, we may choose to determine what proportion of theCOMMENT
LOW…c/examples/applications/plot_colocalization_metrics.py161# Sometimes the intensities are correlated but not in a linear way. A rank-basedCOMMENT
LOWdoc/examples/applications/plot_3d_structure_tensor.py81# `plotly.express` is built.COMMENT
LOWdoc/examples/applications/plot_3d_structure_tensor.py161# We are looking at a local property. Let us consider a tiny neighborhoodCOMMENT
LOWdoc/examples/applications/plot_3d_structure_tensor.py201 subplots, zmin=v_min, zmax=v_max, facet_col=2, labels={'facet_col': 'longitudinal'}COMMENT
LOWdoc/examples/applications/plot_3d_structure_tensor.py221COMMENT
LOWdoc/examples/applications/plot_morphology.py61eroded = ski.morphology.erosion(orig_phantom, footprint)COMMENT
LOWdoc/examples/applications/plot_morphology.py81# Notice how the white boundary of the image thickens, or gets dilated, as weCOMMENT
37 more matches not shown…
Redundant / Tautological Comments58 hits · 90 pts
SeverityFileLineSnippetContext
LOW⚡tests/skimage2/filters/test_thresholding.py645 # Set nbins to match the uint case and threshold as float.COMMENT
LOWtests/skimage2/filters/test_edges.py95 # Check if result match transform directionCOMMENT
LOWtests/skimage2/filters/test_edges.py127 # Check if result match transform directionCOMMENT
LOWtests/skimage2/filters/test_edges.py158 # Check if result match transform directionCOMMENT
LOWtests/skimage2/filters/test_edges.py193 # Check if result match transform directionCOMMENT
LOWtests/skimage2/filters/test_edges.py227 # Check if result match transform directionCOMMENT
LOWtests/skimage2/filters/test_edges.py260 # Check if result match transform directionCOMMENT
LOWtests/skimage2/filters/test_edges.py295 # Check if result match transform directionCOMMENT
LOWtests/skimage2/filters/test_edges.py329 # Check if result match transform directionCOMMENT
LOW⚡tests/skimage2/filters/test_edges.py362 # Check if result match transform directionCOMMENT
LOWtests/skimage2/filters/test_edges.py432 # Check if result match transform directionCOMMENT
LOWtests/skimage2/filters/test_edges.py466 # Check if result match transform directionCOMMENT
LOWtests/skimage2/filters/test_edges.py499 # Check if result match transform directionCOMMENT
LOWtests/skimage2/transform/test_hough_transform.py443 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage2/transform/test_hough_transform.py470 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage2/transform/test_hough_transform.py497 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage2/transform/test_hough_transform.py519 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage2/transform/test_hough_transform.py541 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage2/transform/test_hough_transform.py563 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage2/transform/test_hough_transform.py585 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage2/transform/test_hough_transform.py607 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage2/transform/test_hough_transform.py629 # Check if I re-draw the ellipse, points are the same!COMMENT
LOW⚡tests/skimage/filters/test_thresholding.py645 # Set nbins to match the uint case and threshold as float.COMMENT
LOWtests/skimage/filters/test_edges.py95 # Check if result match transform directionCOMMENT
LOWtests/skimage/filters/test_edges.py127 # Check if result match transform directionCOMMENT
LOWtests/skimage/filters/test_edges.py158 # Check if result match transform directionCOMMENT
LOWtests/skimage/filters/test_edges.py193 # Check if result match transform directionCOMMENT
LOWtests/skimage/filters/test_edges.py227 # Check if result match transform directionCOMMENT
LOWtests/skimage/filters/test_edges.py260 # Check if result match transform directionCOMMENT
LOWtests/skimage/filters/test_edges.py295 # Check if result match transform directionCOMMENT
LOWtests/skimage/filters/test_edges.py329 # Check if result match transform directionCOMMENT
LOW⚡tests/skimage/filters/test_edges.py362 # Check if result match transform directionCOMMENT
LOWtests/skimage/filters/test_edges.py432 # Check if result match transform directionCOMMENT
LOWtests/skimage/filters/test_edges.py466 # Check if result match transform directionCOMMENT
LOWtests/skimage/filters/test_edges.py499 # Check if result match transform directionCOMMENT
LOWtests/skimage/transform/test_hough_transform.py443 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage/transform/test_hough_transform.py470 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage/transform/test_hough_transform.py497 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage/transform/test_hough_transform.py519 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage/transform/test_hough_transform.py541 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage/transform/test_hough_transform.py563 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage/transform/test_hough_transform.py585 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage/transform/test_hough_transform.py607 # Check if I re-draw the ellipse, points are the same!COMMENT
LOWtests/skimage/transform/test_hough_transform.py629 # Check if I re-draw the ellipse, points are the same!COMMENT
LOW.github/workflows/typing.yml16 # Set it to 3 to support 8-bit color graphics (256 colors per channel)COMMENT
LOW.github/scripts/check-run-all-tests-label.sh2# Check if the current PR has the 'run-all-tests' label using the gh CLI.COMMENT
LOWdoc/examples/segmentation/plot_mask_slic.py53# Display resultCOMMENT
LOWdoc/examples/color_exposure/plot_log_gamma.py55# Display resultsCOMMENT
LOWdoc/examples/color_exposure/plot_local_equalize.py76# Display resultsCOMMENT
LOWdoc/examples/color_exposure/plot_local_equalize.py149# Display resultsCOMMENT
LOWdoc/examples/color_exposure/plot_equalize.py70# Display resultsCOMMENT
LOWdoc/examples/edges/plot_marching_cubes.py38# Display resulting triangular mesh using Matplotlib. This can also be doneCOMMENT
LOWsrc/_skimage2/filters/thresholding.py380 # Check if the image has more than one intensity value; if not, return thatCOMMENT
LOWsrc/_skimage2/measure/_marching_cubes_lewiner.py194 # Check if a mask array is passedCOMMENT
LOWsrc/_skimage2/data/_fetchers.py161 # Check if pytest is currently running.COMMENT
LOWsrc/_skimage2/transform/_warps.py759 # Check if cval has been used such that it expands the effective inputCOMMENT
LOWsrc/_skimage2/draw/_random_shapes.py442 # Check if there is an overlap where the mask is nonzero.COMMENT
LOWsrc/skimage/util/_backends.py110 # Check if the function we are looking for is implemented inCOMMENT
Cross-Language Confusion14 hits · 75 pts
SeverityFileLineSnippetContext
HIGHtests/skimage2/io/test_io.py33 io.push(x)CODE
HIGHtests/skimage2/io/test_io.py40 io.push([[1, 2, 3]])CODE
HIGHtests/skimage2/graph/test_heap.py28 h.push(a[i], i)CODE
HIGHtests/skimage2/graph/test_heap.py31 h.push(2 * a[i], i)CODE
HIGHtests/skimage/io/test_io.py33 io.push(x)CODE
HIGHtests/skimage/io/test_io.py40 io.push([[1, 2, 3]])CODE
HIGHtests/skimage/graph/test_heap.py28 h.push(a[i], i)CODE
HIGHtests/skimage/graph/test_heap.py31 h.push(2 * a[i], i)CODE
HIGH⚡…c/examples/color_exposure/plot_ihc_color_separation.py38ihc_h = hed2rgb(np.stack((ihc_hed[:, :, 0], null, null), axis=-1))CODE
HIGH⚡…c/examples/color_exposure/plot_ihc_color_separation.py39ihc_e = hed2rgb(np.stack((null, ihc_hed[:, :, 1], null), axis=-1))CODE
HIGH⚡…c/examples/color_exposure/plot_ihc_color_separation.py40ihc_d = hed2rgb(np.stack((null, null, ihc_hed[:, :, 2]), axis=-1))CODE
HIGH…c/examples/color_exposure/plot_ihc_color_separation.py83zdh = np.dstack((null, d, h))CODE
HIGHsrc/_skimage2/segmentation/_expand_labels.py70 In case of ties, behavior is undefined, but currently resolves to theSTRING
HIGHsrc/_skimage2/transform/_thin_plate_splines.py116 "Transformation is undefined, define it by calling `estimate` "CODE
AI Structural Patterns66 hits · 66 pts
SeverityFileLineSnippetContext
LOWsrc/_skimage2/filters/_gabor.py115CODE
LOWsrc/_skimage2/filters/ridges.py178CODE
LOWsrc/_skimage2/filters/ridges.py323CODE
LOWsrc/_skimage2/filters/edges.py253CODE
LOWsrc/_skimage2/filters/edges.py375CODE
LOWsrc/_skimage2/filters/edges.py503CODE
LOWsrc/_skimage2/filters/edges.py785CODE
LOWsrc/_skimage2/filters/lpi_filter.py21CODE
LOWsrc/_skimage2/filters/lpi_filter.py130CODE
LOWsrc/_skimage2/filters/rank/generic.py195CODE
LOWsrc/_skimage2/metrics/_structural_similarity.py14CODE
LOWsrc/_skimage2/exposure/_adapthist.py233CODE
LOWsrc/_skimage2/restoration/_denoise.py793CODE
LOWsrc/_skimage2/restoration/_denoise.py851CODE
LOWsrc/_skimage2/util/apply_parallel.py59CODE
LOW…c/_skimage2/segmentation/random_walker_segmentation.py317CODE
LOWsrc/_skimage2/segmentation/_quickshift.py10CODE
LOWsrc/_skimage2/segmentation/slic_superpixels.py106CODE
LOWsrc/_skimage2/segmentation/active_contour_model.py9CODE
LOWsrc/_skimage2/segmentation/morphsnakes.py147CODE
LOWsrc/_skimage2/segmentation/morphsnakes.py178CODE
LOWsrc/_skimage2/segmentation/_chan_vese.py185CODE
LOWsrc/_skimage2/segmentation/_watershed.py243CODE
LOWsrc/_skimage2/color/colorlabel.py85CODE
LOWsrc/_skimage2/color/colorconv.py252CODE
LOWsrc/_skimage2/color/colorconv.py412CODE
LOWsrc/_skimage2/measure/_regionprops.py834CODE
LOWsrc/_skimage2/measure/fit.py1182CODE
LOWsrc/_skimage2/measure/fit.py365CODE
LOWsrc/_skimage2/morphology/binary.py130CODE
LOWsrc/_skimage2/morphology/binary.py218CODE
LOWsrc/_skimage2/morphology/_max_tree.py496CODE
LOWsrc/_skimage2/morphology/_max_tree.py613CODE
LOWsrc/_skimage2/morphology/_grayscale_operators.py203CODE
LOWsrc/_skimage2/morphology/_grayscale_operators.py304CODE
LOWsrc/_skimage2/morphology/_grayscale_operators.py383CODE
LOWsrc/_skimage2/morphology/_grayscale_operators.py462CODE
LOWsrc/_skimage2/feature/sift.py234CODE
LOWsrc/_skimage2/feature/_basic_features.py202CODE
LOWsrc/_skimage2/feature/_basic_features.py119CODE
LOWsrc/_skimage2/feature/_daisy.py13CODE
LOWsrc/_skimage2/feature/_hog.py49CODE
LOWsrc/_skimage2/feature/_peaks.py248CODE
LOWsrc/_skimage2/feature/corner.py792CODE
LOWsrc/_skimage2/feature/corner.py941CODE
LOWsrc/_skimage2/feature/corner.py1125CODE
LOWsrc/_skimage2/feature/texture.py394CODE
LOWsrc/_skimage2/feature/blob.py240CODE
LOWsrc/_skimage2/feature/blob.py462CODE
LOWsrc/_skimage2/feature/blob.py666CODE
LOWsrc/_skimage2/transform/_warps.py228CODE
LOWsrc/_skimage2/transform/_warps.py535CODE
LOWsrc/_skimage2/transform/pyramids.py111CODE
LOWsrc/_skimage2/transform/pyramids.py187CODE
LOWsrc/_skimage2/transform/pyramids.py190CODE
LOWsrc/_skimage2/transform/pyramids.py292CODE
LOWsrc/_skimage2/draw/_random_shapes.py304CODE
LOWsrc/skimage/morphology/gray.py220CODE
LOWsrc/skimage/morphology/gray.py316CODE
LOWsrc/skimage/morphology/gray.py396CODE
6 more matches not shown…
Deep Nesting62 hits · 60 pts
SeverityFileLineSnippetContext
LOW.spin/cmds.py226CODE
LOWtools/precompute/_precompute_nsphere_decompositions.py25CODE
LOWtools/precompute/mc_meta/visual_test.py15CODE
LOWtests/skimage2/filters/test_gabor.py63CODE
LOWtests/skimage2/restoration/test_denoise.py1005CODE
LOWtests/skimage2/measure/test_regionprops.py1360CODE
LOWtests/skimage2/_shared/test_utils.py96CODE
LOWtests/skimage/filters/test_gabor.py63CODE
LOWtests/skimage/restoration/test_denoise.py1005CODE
LOWtests/skimage/measure/test_regionprops.py1360CODE
LOWbenchmarks/benchmark_morphology.py81CODE
LOWdoc/tools/apigen.py215CODE
LOWdoc/tools/apigen.py265CODE
LOWsrc/_skimage2/filters/thresholding.py174CODE
LOWsrc/_skimage2/filters/thresholding.py639CODE
LOWsrc/_skimage2/metrics/_structural_similarity.py14CODE
LOWsrc/_skimage2/registration/_optical_flow.py15CODE
LOWsrc/_skimage2/restoration/non_local_means.py15CODE
LOWsrc/_skimage2/restoration/_denoise.py95CODE
LOWsrc/_skimage2/restoration/_denoise.py656CODE
LOWsrc/_skimage2/restoration/_denoise.py796CODE
LOWsrc/_skimage2/restoration/_denoise.py851CODE
LOWsrc/_skimage2/util/_invert.py5CODE
LOWsrc/_skimage2/util/dtype.py136CODE
LOWsrc/_skimage2/util/apply_parallel.py59CODE
LOWsrc/_skimage2/util/noise.py39CODE
LOWsrc/_skimage2/util/arraycrop.py12CODE
LOWsrc/_skimage2/util/compare.py30CODE
LOWsrc/_skimage2/segmentation/slic_superpixels.py106CODE
LOWsrc/_skimage2/segmentation/_chan_vese.py169CODE
LOWsrc/_skimage2/io/util.py20CODE
LOWsrc/_skimage2/io/collection.py261CODE
LOWsrc/_skimage2/io/collection.py287CODE
LOWsrc/_skimage2/io/_plugins/pil_plugin.py42CODE
LOWsrc/_skimage2/io/_plugins/pil_plugin.py160CODE
LOWsrc/_skimage2/io/_plugins/fits_plugin.py15CODE
LOWsrc/_skimage2/io/_plugins/fits_plugin.py54CODE
LOWsrc/_skimage2/measure/_regionprops.py841CODE
LOWsrc/_skimage2/measure/_regionprops.py382CODE
LOWsrc/_skimage2/measure/_moments_analytical.py127CODE
LOWsrc/_skimage2/measure/_find_contours.py153CODE
LOWsrc/_skimage2/_shared/_warnings.py90CODE
LOWsrc/_skimage2/_shared/version_requirements.py8CODE
LOWsrc/_skimage2/morphology/footprints.py122CODE
LOWsrc/_skimage2/morphology/_grayscale_operators.py54CODE
LOWsrc/_skimage2/feature/sift.py469CODE
LOWsrc/_skimage2/feature/_daisy.py13CODE
LOWsrc/_skimage2/feature/_hog.py7CODE
LOWsrc/_skimage2/feature/_hog.py49CODE
LOWsrc/_skimage2/feature/_peaks.py217CODE
LOWsrc/_skimage2/feature/censure.py66CODE
LOWsrc/_skimage2/feature/corner.py944CODE
LOWsrc/_skimage2/feature/texture.py170CODE
LOWsrc/_skimage2/feature/blob.py156CODE
LOWsrc/_skimage2/feature/blob.py200CODE
LOWsrc/_skimage2/_vendored/numpy_lookfor.py45CODE
LOWsrc/_skimage2/transform/_warps.py70CODE
LOWsrc/_skimage2/transform/_warps.py779CODE
LOWsrc/_skimage2/transform/_warps.py1289CODE
LOWsrc/_skimage2/transform/radon_transform.py126CODE
2 more matches not shown…
AI Response Leakage5 hits · 38 pts
SeverityFileLineSnippetContext
HIGHdoc/examples/segmentation/plot_floodfill.py152# In this example we also show that it is possible to post-process the binaryCOMMENT
HIGHdoc/examples/segmentation/plot_euler_number.py70# In this example, a 3-D cube is generated, then holes andCOMMENT
HIGHdoc/examples/features_detection/plot_shape_index.py80# In this example we want to detect 'spherical caps',COMMENT
HIGH…tions/plot_haar_extraction_selection_classification.py123# of the feature importance. In this example, we keep the featuresCOMMENT
HIGHdoc/examples/developers/plot_threshold_li.py99# optimal. In this example, we see how a bad initial guess for the optimizationCOMMENT
AI Slop Vocabulary8 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM.github/scripts/setup-test-env.sh29# Combine requirement files for a more robust pip solveCOMMENT
MEDIUMdoc/examples/registration/plot_stitching.py118# Once all the points are registered to the reference points, robustCOMMENT
LOW⚡…c/examples/segmentation/plot_trainable_segmentation.py108# images. In the example below we just use a different part of the image.COMMENT
LOWdoc/examples/color_exposure/plot_adapt_rgb.py70# just create a function with the following signature::COMMENT
MEDIUMdoc/examples/applications/plot_3d_structure_tensor.py145# The reader may check how robust this result (coordinatesCOMMENT
MEDIUMdoc/examples/applications/plot_coins_segmentation.py90# However, this method is not very robust, since contours that are notCOMMENT
MEDIUMsrc/_skimage2/restoration/_denoise.py623 """Calculate the robust median estimator of the noise standard deviation.STRING
LOWsrc/_skimage2/morphology/footprints.py341 # for radius 1 just use the exact shape (3,) * ndim solutionCOMMENT
Slop Phrases5 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM⚡…c/examples/segmentation/plot_trainable_segmentation.py107# you can use the classifier trained with `fit_segmenter` to segment otherCOMMENT
MEDIUMdoc/examples/applications/plot_thresholding_guide.py138# If the image background is relatively uniform, then you can use a globalCOMMENT
MEDIUMdoc/examples/developers/plot_threshold_li.py227 # you can use np.quantile(image, 0.95) if you have NumPy>=1.15COMMENT
LOWsrc/_skimage2/feature/corner.py1010 # add pad width, make sure to not modify the input values in-placeSTRING
LOWsrc/_skimage2/transform/_warps.py953 # When fixing this issue, make sure to fix the branches furtherCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/_skimage2/io/manage_plugins.py39# (e.g. 'imread', 'imsave', etc.). Plugins are loaded as requested.COMMENT
Excessive Try-Catch Wrapping5 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM.spin/cmds.py92 print("Error: could not identify built wheel")CODE
LOW.spin/cmds.py133 except Exception:STRING
LOWsrc/_skimage2/filters/thresholding.py88 except Exception as e:CODE
LOWsrc/_skimage2/_shared/testing.py125 except Exception:CODE
LOWsrc/_skimage2/_vendored/numpy_lookfor.py33 except Exception:CODE
Modern AI Meta-Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMdoc/source/conf.py314 ("py:obj", "convert"), # skimage.graph._rag.RAG.__init__STRING
MEDIUMsrc/_skimage2/graph/_rag.py442 # use a dummy broadcast array as data for RAGCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/skimage/test_doctest_adapters.py280 def helper(x):CODE