Skip to main content

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

PyPI - Version PyPI - Python Version Tests Codecov Read the Docs PyPI - License

Black pre-commit Contributor Covenant

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.

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

pip install -U fouriercrop

Credits

This package was created with Cookiecutter and the fedejaure/cookiecutter-modern-pypackage project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fouriercrop-1.0.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fouriercrop-1.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file fouriercrop-1.0.0.tar.gz.

File metadata

  • Download URL: fouriercrop-1.0.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.14 Linux/4.15.0-213-generic

File hashes

Hashes for fouriercrop-1.0.0.tar.gz
Algorithm Hash digest
SHA256 20445b58577a4b33bcaf3efb7283f6140f6832c66c73a0f609d2774fdd99d395
MD5 e64faa0592476b0f753379e497f1988a
BLAKE2b-256 94213efa0a18c036352d50b44ec5e492a65c4a7b5da61890c19a0c9edd2be6e6

See more details on using hashes here.

File details

Details for the file fouriercrop-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: fouriercrop-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.14 Linux/4.15.0-213-generic

File hashes

Hashes for fouriercrop-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f37258fe1274d55b213d07f30ee4cece64c886217e47afc4fb8b8e030c28f29d
MD5 0c81141477323795284c56871ac770c8
BLAKE2b-256 b3a5094b81b1f98e643a6aa47227360a071549a6b59cfb09d365a05669b85ce7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page