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.

PyPI Downloads

Author: Kevin Zhu

Features

  • ability to stack images
  • gamma correction accounted
  • 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.1.tar.gz (4.5 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.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kzstack-1.0.1.tar.gz
  • Upload date:
  • Size: 4.5 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.1.tar.gz
Algorithm Hash digest
SHA256 83366abd2e770edbc54632fdea6eae498e22b8cd54a40210a46a8a198736cec5
MD5 494a2632a95a00d6f969ed73fa5f7d14
BLAKE2b-256 499a4b5607bef26d682ea957d383884792e1d74aaba4b4a9ffa83ee867894f4b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kzstack-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 193e3ded27d5ee94af916624caa5a2a7e0db9d8d0b88a93b533e6027162460e6
MD5 34446c119d7dc1002ea48247576ba517
BLAKE2b-256 3d7c5e7b6846b9464c657ed68a2d92ceca2331a067b6d9df4d9731a2f51d7d7f

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