butter2d
Butterworth filter for spatial frequencies on images. Includes a WASM demo
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.4%) to scientific vocabulary
Keywords
Repository
Butterworth filter for spatial frequencies on images. Includes a WASM demo
Basic Info
- Host: GitHub
- Owner: altunenes
- License: mit
- Language: Rust
- Default Branch: main
- Homepage: https://altunenes.github.io/butter2d/
- Size: 5 MB
Statistics
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 2
Topics
Metadata Files
README.md
butter2d
Pure Rust Implementation of the Butterworth Filter
✨ Live WASM Demo
Try the interactive Butterworth filter demo directly in your browser, built with WebAssembly:
➡️ Live Demo Link ⬅️
Overview
The Butterworth filter offers a more robust method for applying spatial frequency filters to images compared to traditional FFT/IFFT-based methods. Filters with sharp cutoffs can often lead to the Gibbs phenomenon, where undesirable ringing artifacts appear near edges in the image. This issue is particularly problematic in applications such as EEG experiments (particularly low/mid visual ones that affect P100 amplitudes in the visual cortex) and other scenarios involving low-frequency signals.
Usage
rust
cargo add butter2d
```rust use image::{GrayImage, open}; use butter2d::butterworth;
fn main() { let img = open("path/to/your/image.png").expect("Failed to open image").toluma8(); let cutofffrequencyratio = 0.1; let highpass = true; let order = 2.0; let squaredbutterworth = false; let npad = 0; let filteredimg = butterworth( &img, cutofffrequencyratio, highpass, order, squaredbutterworth, npad ); filteredimg.save("path/to/save/filteredimage.png").expect("Failed to save filtered image"); } ```
Owner
- Name: Enes
- Login: altunenes
- Kind: user
- Website: altunenes.github.io
- Repositories: 30
- Profile: https://github.com/altunenes
I like science, computers, and budgies :-)
Citation (CITATION.cff)
cff-version: 1.1.0 message: "If you use this software, please cite it as below." authors: - family-names: Altun given-names: Enes orcid: https://orcid.org/0000-0002-6478-6909 title:altunenes/butter2d: 1.0.1 version: v1.0.1 date-released: 2024-04-21
GitHub Events
Total
- Issues event: 1
- Watch event: 2
- Delete event: 1
- Issue comment event: 1
- Push event: 27
- Pull request event: 2
- Create event: 1
Last Year
- Issues event: 1
- Watch event: 2
- Delete event: 1
- Issue comment event: 1
- Push event: 27
- Pull request event: 2
- Create event: 1
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| altunenes | e****2@g****m | 86 |
| Gábor Szabó | g****r@s****m | 1 |
| GitHub Actions | a****s@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 1
- Total pull requests: 3
- Average time to close issues: about 1 year
- Average time to close pull requests: about 1 hour
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 2.0
- Average comments per pull request: 0.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 8 minutes
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- altunenes (1)
Pull Request Authors
- altunenes (3)
- szabgab (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cargo 9,716 total
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 6
- Total maintainers: 1
crates.io: butter2d
Butterworth filter for image processing.
- Documentation: https://docs.rs/butter2d/
- License: MIT
-
Latest release: 0.1.5
published 10 months ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v3 composite