[package]
edition = "2024"
rust-version = "1.96"
name = "deconvolution"
version = "0.2.1"
build = false
exclude = [
".github/**/*",
".tmp/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust image deconvolution and restoration library."
documentation = "https://docs.rs/deconvolution"
readme = "README.md"
keywords = [
"image",
"deconvolution",
"deblurring",
"restoration",
"fft",
]
categories = [
"algorithms",
"computer-vision",
"multimedia::images",
"science",
]
license = "MIT"
repository = "https://github.com/pbkx/deconvolution"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["rayon"]
f16 = ["dep:half"]
rayon = [
"dep:rayon",
"ndarray/rayon",
"image/rayon",
]
[lib]
name = "deconvolution"
path = "src/lib.rs"
[[example]]
name = "blind_motion"
path = "examples/blind_motion.rs"
[[example]]
name = "custom_regularizer"
path = "examples/custom_regularizer.rs"
[[example]]
name = "edgetaper"
path = "examples/edgetaper.rs"
[[example]]
name = "microscopy_volume"
path = "examples/microscopy_volume.rs"
[[example]]
name = "richardson_lucy"
path = "examples/richardson_lucy.rs"
[[example]]
name = "wiener"
path = "examples/wiener.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "blind"
path = "tests/blind.rs"
[[test]]
name = "iterative"
path = "tests/iterative.rs"
[[test]]
name = "nd"
path = "tests/nd.rs"
[[test]]
name = "preprocess"
path = "tests/preprocess.rs"
[[test]]
name = "psf_otf"
path = "tests/psf_otf.rs"
[[test]]
name = "regression"
path = "tests/regression.rs"
[[test]]
name = "spectral"
path = "tests/spectral.rs"
[[bench]]
name = "blind"
path = "benches/blind.rs"
harness = false
[[bench]]
name = "rl"
path = "benches/rl.rs"
harness = false
[[bench]]
name = "spectral"
path = "benches/spectral.rs"
harness = false
[[bench]]
name = "volume"
path = "benches/volume.rs"
harness = false
[dependencies.half]
version = "2.7.1"
optional = true
[dependencies.image]
version = "0.25.10"
features = [
"png",
"jpeg",
]
default-features = false
[dependencies.ndarray]
version = "0.17.2"
[dependencies.num-complex]
version = "0.4.6"
[dependencies.rand]
version = "0.10.1"
[dependencies.rand_distr]
version = "0.6.0"
[dependencies.rayon]
version = "1.12.0"
optional = true
[dependencies.rustfft]
version = "6.4.1"
[dependencies.thiserror]
version = "2.0.18"
[dev-dependencies.criterion]
version = "0.8.2"