# Python wrapper for BM4D denoising - from Tampere with love, again
Python wrapper for BM4D for stationary correlated noise (including white noise).
BM4D is an algorithm for attenuation of additive spatially correlated
stationary (aka colored) Gaussian noise for volumetric data.
This package provides a wrapper for the BM4D binaries for Python for the
denoising of volumetric and volumetric multichannel data. For denoising of
images/2-D multichannel data, see also the [bm3d](https://pypi.org/project/bm3d) package.
These newer binaries (v4+) are designed only for dealing with additive Gaussian
white or correlated noise. Special features like embedded handling of Rice noise
and adaptive groupwise variance estimation are supported by the legacy binaries
v3.2 at https://webpages.tuni.fi/foi/GCF-BM3D/ .
This implementation is based on
- Y. Mäkinen, L. Azzari, A. Foi, 2020, "Collaborative Filtering of Correlated Noise: Exact Transform-Domain Variance
for Improved Shrinkage and Patch Matching", in IEEE Transactions on Image Processing, vol. 29, pp. 8339-8354.
- M. Maggioni, V. Katkovnik, K. Egiazarian, A. Foi, 2013, "Nonlocal Transform-Domain Filter for Volumetric Data Denoising
and Reconstruction", in IEEE Transactions on Image Processing, vol. 22, pp. 119-133.
- Y. Mäkinen, S. Marchesini, A. Foi, 2022, "Ring Artifact and Poisson Noise Attenuation via Volumetric Multiscale
Nonlocal Collaborative Filtering of Spatially Correlated Noise", in Journal of Synchrotron Radiation, vol. 29, pp. 829-842.
The package contains the BM4D binaries compiled for:
- Windows (Win11, MinGW-64)
- GNU/Linux (GCC 11.3.0, 64-bit)
- Mac OSX (El Capitan, 64-bit): no longer maintained and will be removed from future releases.
- macOS (Sonoma, 64-bit ARM)
The package is available for non-commercial use only. For details, see LICENSE.
Basic usage:
```python
y_hat = bm4d(z, sigma) # white noise: include noise std
y_hat = bm4d(z, psd) # correlated noise: include noise PSD (size of z)
```
For usage examples, see the examples folder of the full source (bm4d-***.tar.gz) from https://pypi.org/project/bm4d/#files .
Contact: Ymir Mäkinen <ymir.makinen@tuni.fi>
Raw data
{
"_id": null,
"home_page": "https://webpages.tuni.fi/foi/GCF-BM3D/",
"name": "bm4d",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Ymir M\u00e4kinen",
"author_email": "ymir.makinen@tuni.fi",
"download_url": "https://files.pythonhosted.org/packages/20/33/d85ecd508ad6d0782002c21264d5d67f43d430d9e2304841bd5c7fb25753/bm4d-4.2.5.tar.gz",
"platform": null,
"description": "# Python wrapper for BM4D denoising - from Tampere with love, again\n\nPython wrapper for BM4D for stationary correlated noise (including white noise).\n\nBM4D is an algorithm for attenuation of additive spatially correlated\nstationary (aka colored) Gaussian noise for volumetric data.\nThis package provides a wrapper for the BM4D binaries for Python for the \ndenoising of volumetric and volumetric multichannel data. For denoising of \nimages/2-D multichannel data, see also the [bm3d](https://pypi.org/project/bm3d) package.\n\nThese newer binaries (v4+) are designed only for dealing with additive Gaussian\nwhite or correlated noise. Special features like embedded handling of Rice noise\nand adaptive groupwise variance estimation are supported by the legacy binaries\nv3.2 at https://webpages.tuni.fi/foi/GCF-BM3D/ .\n\nThis implementation is based on\n- Y. M\u00e4kinen, L. Azzari, A. Foi, 2020, \"Collaborative Filtering of Correlated Noise: Exact Transform-Domain Variance\n for Improved Shrinkage and Patch Matching\", in IEEE Transactions on Image Processing, vol. 29, pp. 8339-8354.\n- M. Maggioni, V. Katkovnik, K. Egiazarian, A. Foi, 2013, \"Nonlocal Transform-Domain Filter for Volumetric Data Denoising\n and Reconstruction\", in IEEE Transactions on Image Processing, vol. 22, pp. 119-133.\n- Y. M\u00e4kinen, S. Marchesini, A. Foi, 2022, \"Ring Artifact and Poisson Noise Attenuation via Volumetric Multiscale\n Nonlocal Collaborative Filtering of Spatially Correlated Noise\", in Journal of Synchrotron Radiation, vol. 29, pp. 829-842.\n\nThe package contains the BM4D binaries compiled for:\n- Windows (Win11, MinGW-64)\n- GNU/Linux (GCC 11.3.0, 64-bit)\n- Mac OSX (El Capitan, 64-bit): no longer maintained and will be removed from future releases.\n- macOS (Sonoma, 64-bit ARM)\n\nThe package is available for non-commercial use only. For details, see LICENSE.\n\nBasic usage:\n```python\ny_hat = bm4d(z, sigma) # white noise: include noise std\ny_hat = bm4d(z, psd) # correlated noise: include noise PSD (size of z)\n```\n\nFor usage examples, see the examples folder of the full source (bm4d-***.tar.gz) from https://pypi.org/project/bm4d/#files .\n\n\nContact: Ymir M\u00e4kinen <ymir.makinen@tuni.fi> \n",
"bugtrack_url": null,
"license": null,
"summary": "BM4D for correlated noise",
"version": "4.2.5",
"project_urls": {
"Homepage": "https://webpages.tuni.fi/foi/GCF-BM3D/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1947034be51bc2b40279fd1417397d3f330b73906774bd6eaecd26ed93c1491f",
"md5": "6652f37be72a7a1b49466809755f6a6f",
"sha256": "601338bbd54bcbd971d70b5a6961583a9ccaa564c982389cf3f82bd0a6d5bad5"
},
"downloads": -1,
"filename": "bm4d-4.2.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6652f37be72a7a1b49466809755f6a6f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 862033,
"upload_time": "2024-09-06T15:40:10",
"upload_time_iso_8601": "2024-09-06T15:40:10.580651Z",
"url": "https://files.pythonhosted.org/packages/19/47/034be51bc2b40279fd1417397d3f330b73906774bd6eaecd26ed93c1491f/bm4d-4.2.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2033d85ecd508ad6d0782002c21264d5d67f43d430d9e2304841bd5c7fb25753",
"md5": "44b47dd2a94e9c23d5a398b9aacb2c7b",
"sha256": "5a7ca4d85ecb570e8eb20213d035fc801da58227772fd077b0a8798f5342c9b4"
},
"downloads": -1,
"filename": "bm4d-4.2.5.tar.gz",
"has_sig": false,
"md5_digest": "44b47dd2a94e9c23d5a398b9aacb2c7b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 3891186,
"upload_time": "2024-09-06T15:40:13",
"upload_time_iso_8601": "2024-09-06T15:40:13.357726Z",
"url": "https://files.pythonhosted.org/packages/20/33/d85ecd508ad6d0782002c21264d5d67f43d430d9e2304841bd5c7fb25753/bm4d-4.2.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-06 15:40:13",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "bm4d"
}