Skip to main content

a package to stack images for many purposes

Project description

kzstack

kzstack is a package to stack images for many purposes.

There are many use cases, but it is especially important in long-exposure photography and astrophotography.

PyPI Downloads PyPI version

Author: Kevin Zhu

Features

  • ability to stack images
  • gamma correction accounted for
  • custom quality / denoising functions
  • image showing / saving
  • bias usage

Installation

To install kzstack, use pip: pip install kzstack.

However, many prefer to use a virtual environment.

macOS / Linux:

# make your desired directory
mkdir /path/to/your/directory
cd /path/to/your/directory

# setup the .venv (or whatever you want to name it)
pip install virtualenv
python3 -m venv .venv

# install kzstack
source .venv/bin/activate
pip install kzstack

deactivate # when you are completely done

Windows CMD:

# make your desired directory
mkdir C:path\to\your\directory
cd C:path\to\your\directory

# setup the .venv (or whatever you want to name it)
pip install virtualenv
python3 -m venv .venv

# install kzstack
.venv\Scripts\activate
pip install kzstack

deactivate # when you are completely done

Usage

PLEASE HAVE ALIGNED IMAGES!! STACKING WILL NOT TURN OUT GOOD OTHERWISE

First, import KZStack and all its functions (for denoising / quality).

Follow the provided stack_accumualte.ipynb for your data (change the path).

After, you may choose to use the average or input your own denoising / quality control functions.

These must be in the format of def func(image), without additional parameters. Other parameters (like a threshold) should not be args to the function.

License

The License is an MIT License found in the LICENSE file.

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

kzstack-1.0.4.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

kzstack-1.0.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file kzstack-1.0.4.tar.gz.

File metadata

  • Download URL: kzstack-1.0.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for kzstack-1.0.4.tar.gz
Algorithm Hash digest
SHA256 34dae88b2ae0da1d9da7666148dee2b659bad21cd3fc144f9df4ca8c330df617
MD5 ef968a92e35137d3e59252eaec6b2da3
BLAKE2b-256 bc9b2c3dabc918e66a5a527f2fed93f7683b63d651f5e1b57b17222f08eeccf4

See more details on using hashes here.

File details

Details for the file kzstack-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: kzstack-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for kzstack-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 618dc35ff5bf5ce376b47b434727b509e2e71816f061907867e6d56f1e99f471
MD5 92866c4022f2be4955f93bb309cae7f6
BLAKE2b-256 fc85ebcfbd8350e88591320f22c9e836ede497f456b75a43a74e59d3f0875cab

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