Conversation
This commit introduces a high-performance Haralick texture analysis feature, implemented in Rust and exposed to Python. The new `haralick_features` function calculates four common texture metrics: contrast, dissimilarity, homogeneity, and entropy. It operates on 2D arrays and is designed for performance using parallel computation with Rayon. The Python wrapper integrates with `xarray` and Dask, allowing for parallel, out-of-memory computation on large geospatial datasets. It handles data quantization, chunking, and boundary conditions automatically. The implementation includes: - A new Rust module `src/texture.rs` with the core GLCM and Haralick feature calculations. - A Python wrapper in `python/eo_processor/__init__.py` with Dask integration. - Unit tests in `tests/test_texture.py` that validate the implementation against `scikit-image`. - A benchmark in `benchmarking/cli.py` to compare performance. - Updated dependencies in `tox.ini` and `pyproject.toml`.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
This commit introduces a high-performance Haralick texture analysis feature, implemented in Rust and exposed to Python. The new `haralick_features` function calculates four common texture metrics: contrast, dissimilarity, homogeneity, and entropy. It operates on 2D arrays and is designed for performance using parallel computation with Rayon. The Python wrapper integrates with `xarray` and Dask, allowing for parallel, out-of-memory computation on large geospatial datasets. It handles data quantization, chunking, and boundary conditions automatically. The implementation includes: - A new Rust module `src/texture.rs` with the core GLCM and Haralick feature calculations. - A Python wrapper in `python/eo_processor/__init__.py` with Dask integration. - Unit tests in `tests/test_texture.py` that validate the implementation against `scikit-image`. - A benchmark in `benchmarking/cli.py` to compare performance. - Updated dependencies in `tox.ini` and `pyproject.toml`. All code has been formatted with `cargo fmt` and `ruff format`, and all linter checks pass.
This commit introduces a high-performance Haralick texture analysis feature, implemented in Rust and exposed to Python. The new `haralick_features` function calculates four common texture metrics: contrast, dissimilarity, homogeneity, and entropy. It operates on 2D arrays and is designed for performance using parallel computation with Rayon. The Python wrapper integrates with `xarray` and Dask, allowing for parallel, out-of-memory computation on large geospatial datasets. It handles data quantization, chunking, and boundary conditions automatically. The implementation includes: - A new Rust module `src/texture.rs` with the core GLCM and Haralick feature calculations. - A Python wrapper in `python/eo_processor/__init__.py` with Dask integration. - Unit tests in `tests/test_texture.py` that validate the implementation against `scikit-image`. - A benchmark in `benchmarking/cli.py` to compare performance. - Updated dependencies in `tox.ini` and `pyproject.toml`. All code has been formatted with `cargo fmt` and `ruff format`, and all linter checks pass.
This commit introduces a high-performance Haralick texture analysis feature, implemented in Rust and exposed to Python. The new `haralick_features` function calculates four common texture metrics: contrast, dissimilarity, homogeneity, and entropy. It operates on 2D arrays and is designed for performance using parallel computation with Rayon. The Python wrapper integrates with `xarray` and Dask, allowing for parallel, out-of-memory computation on large geospatial datasets. It handles data quantization, chunking, and boundary conditions automatically. The implementation includes: - A new Rust module `src/texture.rs` with the core GLCM and Haralick feature calculations. - A Python wrapper in `python/eo_processor/__init__.py` with Dask integration. - Unit tests in `tests/test_texture.py` that validate the implementation against `scikit-image`. - A benchmark in `benchmarking/cli.py` to compare performance. - Updated dependencies in `tox.ini` and `pyproject.toml`. All code has been formatted with `cargo fmt` and `ruff format`, and all linter and test checks pass.
This commit introduces a high-performance Haralick texture analysis feature, implemented in Rust and exposed to Python. The new `haralick_features` function calculates four common texture metrics: contrast, dissimilarity, homogeneity, and entropy. It operates on 2D arrays and is designed for performance using parallel computation with Rayon. The Python wrapper integrates with `xarray` and Dask, allowing for parallel, out-of-memory computation on large geospatial datasets. It handles data quantization, chunking, and boundary conditions automatically. The implementation includes: - A new Rust module `src/texture.rs` with the core GLCM and Haralick feature calculations. - A Python wrapper in `python/eo_processor/__init__.py` with Dask integration. - Unit tests in `tests/test_texture.py` that validate the implementation against `scikit-image`. - A benchmark in `benchmarking/cli.py` to compare performance. - Updated dependencies in `pyproject.toml` to make `xarray` and `dask` core dependencies. All code has been formatted with `cargo fmt` and `ruff format`, and all linter and test checks pass.
This submission adds a new Haralick texture analysis feature to the
eo-processorlibrary. The core logic is implemented in Rust for high performance and is exposed to Python with a user-friendly wrapper that integrates withxarrayand Dask. The feature includes four common Haralick texture metrics: contrast, dissimilarity, homogeneity, and entropy. The implementation is accompanied by unit tests, benchmarks, and updated dependencies.PR created automatically by Jules for task 11196418212471149361 started by @BnJam