FourierCrop is a Python package that enables downsampling and other operations using Fourier domain cropping techniques. These operations can be used for tasks like reducing resolution or resizing while maintaining spatial coherence.
Project description
FourierCrop
FourierCrop is a Python package that enables downsampling and other operations using Fourier domain cropping techniques. These operations can be used for tasks like reducing resolution or resizing while maintaining spatial coherence.
- GitHub repo: https://github.com/cryoetools/fouriercrop.git
- Documentation: https://fouriercrop.readthedocs.io
- Free software: Apache Software License 2.0
Features
- FFT-based downsampling: Performs cropping in the frequency domain to achieve efficient resizing.
- Flexible padding options: Allows for center cropping, padding, or combination of both.
- Multidimensional support: Efficiently handles 2D image or 3D volumetric data.
Quickstart
conda create -n fouriercrop python=3.10.13 -y
conda activate fouriercrop
pip install -U fouriercrop
conda install -c conda-forge tk=*=xft_* -y
Credits
This package was created with Cookiecutter and the fedejaure/cookiecutter-modern-pypackage project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fouriercrop-2.0.0.tar.gz.
File metadata
- Download URL: fouriercrop-2.0.0.tar.gz
- Upload date:
- Size: 778.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0677decfb298380f140f1066e2b2dea30524665d0e541e5e02e2e6b5ec1e0e4d
|
|
| MD5 |
2f5f090c4f0d535976b009c59968ffc0
|
|
| BLAKE2b-256 |
dcf77e2779a4e9af15bbcb850a6d935e0898db44661cb5f2c5cfd18735cbe718
|
Provenance
The following attestation bundles were made for fouriercrop-2.0.0.tar.gz:
Publisher:
python-publish.yml on cryoetools/fouriercrop
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fouriercrop-2.0.0.tar.gz -
Subject digest:
0677decfb298380f140f1066e2b2dea30524665d0e541e5e02e2e6b5ec1e0e4d - Sigstore transparency entry: 173671793
- Sigstore integration time:
-
Permalink:
cryoetools/fouriercrop@aa6d31dd99c7fcea531f9f82448e6d4772077e82 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/cryoetools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@aa6d31dd99c7fcea531f9f82448e6d4772077e82 -
Trigger Event:
release
-
Statement type:
File details
Details for the file fouriercrop-2.0.0-py3-none-any.whl.
File metadata
- Download URL: fouriercrop-2.0.0-py3-none-any.whl
- Upload date:
- Size: 777.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9706902679e489d121757f1bcd6f3022d75347338efb19ee2fc432b9f8e93d3
|
|
| MD5 |
5d38cd5b9efa588ca678b6f9cfe0287b
|
|
| BLAKE2b-256 |
285c99f60600cd4eb97b7519cc5e0066205688e3f542d602cd753e1f128514e4
|
Provenance
The following attestation bundles were made for fouriercrop-2.0.0-py3-none-any.whl:
Publisher:
python-publish.yml on cryoetools/fouriercrop
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fouriercrop-2.0.0-py3-none-any.whl -
Subject digest:
c9706902679e489d121757f1bcd6f3022d75347338efb19ee2fc432b9f8e93d3 - Sigstore transparency entry: 173671794
- Sigstore integration time:
-
Permalink:
cryoetools/fouriercrop@aa6d31dd99c7fcea531f9f82448e6d4772077e82 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/cryoetools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@aa6d31dd99c7fcea531f9f82448e6d4772077e82 -
Trigger Event:
release
-
Statement type: