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.3.tar.gz (4.7 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.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kzstack-1.0.3.tar.gz
  • Upload date:
  • Size: 4.7 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.3.tar.gz
Algorithm Hash digest
SHA256 a2f739c85e39787de7c33685622a2fbcc3b5531f94eb0a1861046ac03b3b5a02
MD5 58738f6ef163c303c66f89c24887a94b
BLAKE2b-256 8508b9196f18db8a52555e8eb34b699f70dbb30d6243df63838fa39e5f59b716

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kzstack-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 478318caa9cc418f37b53d5e966fb02aada137600164d0403f78f242fbc6406e
MD5 e24479c12c59dce4fc991e867ae60eca
BLAKE2b-256 9f9f1defe9f4ea79fe6ba92289a5e1ce6c2f6194fc92df69cb37f1ad129bb885

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