Repository Analysis

scikit-image/scikit-image

Image processing in Python

20.7 Moderate AI signal View on GitHub

Analysis Overview

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).

20.7
Adjusted Score
20.7
Raw Score
100%
Time Factor
2026-08-01
Last Push
6.6K
Stars
Python
Language
181.0K
Lines of Code
1.0K
Files
3.3K
Pattern Hits
2026-08-02
Scan Date
0.04
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 42MEDIUM 181LOW 3071

Directory Score Breakdown

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.

Pattern Findings

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.

Hyper-Verbose Identifiers1424 hits · 1435 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.py28def 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
LOWtests/skimage2/filters/test_gaussian.py30def test_gaussian_default_sigma():CODE
LOWtests/skimage2/filters/test_gaussian.py39def test_gaussian_image_dtype(dtype):CODE
LOWtests/skimage2/filters/test_gaussian.py44def test_gaussian_energy_decrease():CODE
LOWtests/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_window.py10def test_window_shape_isotropic(size, ndim):CODE
LOWtests/skimage2/filters/test_window.py19def test_window_shape_anisotropic(shape):CODE
LOWtests/skimage2/filters/test_window.py25def test_window_anisotropic_amplitude(shape):CODE
LOWtests/skimage2/filters/test_window.py50def test_window_invalid_shape():CODE
LOWtests/skimage2/filters/test_thresholding.py292def test_otsu_camera_image_histogram():CODE
LOWtests/skimage2/filters/test_thresholding.py298def test_otsu_camera_image_counts():CODE
LOWtests/skimage2/filters/test_thresholding.py304def test_otsu_zero_count_histogram():CODE
LOWtests/skimage2/filters/test_thresholding.py395def test_li_constant_image_with_nan():CODE
LOWtests/skimage2/filters/test_thresholding.py400def test_li_arbitrary_start_point():CODE
LOWtests/skimage2/filters/test_thresholding.py410def test_li_negative_inital_guess():CODE
LOWtests/skimage2/filters/test_thresholding.py460def test_yen_coins_image_as_float():CODE
LOWtests/skimage2/filters/test_thresholding.py465def test_local_even_block_size_error():CODE
LOWtests/skimage2/filters/test_thresholding.py471def test_isodata_camera_image():CODE
LOWtests/skimage2/filters/test_thresholding.py592def test_threshold_minimum_histogram():CODE
LOWtests/skimage2/filters/test_thresholding.py599def test_threshold_minimum_counts():CODE
LOWtests/skimage2/filters/test_thresholding.py606def test_threshold_minimum_synthetic():CODE
LOWtests/skimage2/filters/test_thresholding.py615def test_threshold_minimum_failure():CODE
LOWtests/skimage2/filters/test_thresholding.py629def test_triangle_uniform_images(dtype):CODE
LOWtests/skimage2/filters/test_thresholding.py635def test_triangle_uint_images():CODE
LOWtests/skimage2/filters/test_thresholding.py642def test_triangle_float_images():CODE
LOWtests/skimage2/filters/test_thresholding.py740def test_niblack_sauvola_pathological_image():CODE
LOWtests/skimage2/filters/test_thresholding.py750def test_bimodal_multiotsu_hist():CODE
LOWtests/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
LOWtests/skimage2/filters/test_thresholding.py787def test_multiotsu_more_classes_then_values():CODE
LOWtests/skimage2/filters/test_thresholding.py814def test_multiotsu_missing_img_and_hist():CODE
LOWtests/skimage2/filters/test_thresholding.py819def test_multiotsu_hist_parameter():CODE
1364 more matches not shown…
Unused Imports1123 hits · 982 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__.py55CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py1CODE
LOWsrc/_skimage2/filters/rank/__init__.py22CODE
LOWsrc/_skimage2/filters/rank/__init__.py22CODE
LOWsrc/_skimage2/filters/rank/__init__.py22CODE
LOWsrc/_skimage2/filters/rank/__init__.py22CODE
LOWsrc/_skimage2/filters/rank/__init__.py22CODE
LOWsrc/_skimage2/filters/rank/__init__.py22CODE
LOWsrc/_skimage2/filters/rank/__init__.py22CODE
LOWsrc/_skimage2/filters/rank/__init__.py22CODE
LOWsrc/_skimage2/filters/rank/__init__.py22CODE
LOWsrc/_skimage2/filters/rank/__init__.py33CODE
LOWsrc/_skimage2/filters/rank/__init__.py33CODE
LOWsrc/_skimage2/filters/rank/__init__.py33CODE
LOWsrc/_skimage2/util/__init__.py7CODE
LOWsrc/_skimage2/segmentation/_watershed.py22CODE
LOWsrc/_skimage2/segmentation/_watershed.py22CODE
LOWsrc/_skimage2/io/__init__.py5CODE
LOWsrc/_skimage2/io/__init__.py7CODE
LOWsrc/_skimage2/io/__init__.py8CODE
LOWsrc/_skimage2/io/__init__.py10CODE
LOWsrc/_skimage2/io/__init__.py11CODE
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
1063 more matches not shown…
Decorative Section Separators136 hits · 406 pts
SeverityFileLineSnippetContext
MEDIUMtests/skimage2/exposure/test_exposure.py260# ======================COMMENT
MEDIUMtests/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
MEDIUMtests/skimage/test_doctest_adapters.py206# --------------------------------------------------------------------------STRING
MEDIUMtests/skimage/test_doctest_adapters.py208# --------------------------------------------------------------------------STRING
MEDIUMtests/skimage/exposure/test_exposure.py260# ======================COMMENT
MEDIUMtests/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…
Modern Structural Boilerplate233 hits · 233 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/__init__.py36__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__.py18__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
173 more matches not shown…
Cross-File Repetition22 hits · 110 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
Self-Referential Comments33 hits · 104 pts
SeverityFileLineSnippetContext
MEDIUMtools/precompute/moments_sympy.py13# Define a moments matrix, MCOMMENT
MEDIUMtests/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
MEDIUMtests/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.py69 # 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 Block95 hits · 95 pts
SeverityFileLineSnippetContext
LOWtools/precompute/mc_meta/MarchingCubes.cpp21#include <float.h>COMMENT
LOWtests/skimage2/filters/rank/test_rank.py121 if filter == "entropy":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
LOWdoc/examples/applications/plot_morphology.py101# and dark shapes in the center retain their original thickness but the 3 lighterCOMMENT
LOWdoc/examples/applications/plot_morphology.py121plot_comparison(phantom, closed, 'closing')COMMENT
35 more matches not shown…
Redundant / Tautological Comments58 hits · 90 pts
SeverityFileLineSnippetContext
LOWtests/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
LOWtests/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
LOWtests/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
LOWtests/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.py760 # 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.py177CODE
LOWsrc/_skimage2/filters/ridges.py322CODE
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.py258CODE
LOWsrc/_skimage2/color/colorconv.py418CODE
LOWsrc/_skimage2/measure/_regionprops.py834CODE
LOWsrc/_skimage2/measure/fit.py1183CODE
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.py233CODE
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.py229CODE
LOWsrc/_skimage2/transform/_warps.py536CODE
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.py155CODE
LOWsrc/_skimage2/_shared/_warnings.py90CODE
LOWsrc/_skimage2/_shared/version_requirements.py8CODE
LOWsrc/_skimage2/morphology/footprints.py76CODE
LOWsrc/_skimage2/morphology/_grayscale_operators.py54CODE
LOWsrc/_skimage2/feature/sift.py466CODE
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.py71CODE
LOWsrc/_skimage2/transform/_warps.py780CODE
LOWsrc/_skimage2/transform/_warps.py1290CODE
LOWsrc/_skimage2/transform/radon_transform.py127CODE
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 Vocabulary9 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMtests/skimage2/feature/test_peaks.py85 # case would fail with dur1 ~5% larger than dur2. To be more robust toCOMMENT
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.py406 # 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.py954 # 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.py279 def helper(x):CODE