https://github.com/a-chioquetta/pixflow

Python toolkit for simple image processing tasks: resize, histogram matching, and difference detection.

https://github.com/a-chioquetta/pixflow

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Python toolkit for simple image processing tasks: resize, histogram matching, and difference detection.

Basic Info
  • Host: GitHub
  • Owner: A-Chioquetta
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 458 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

PixFlow: Image Processing Toolkit

PyPI version
License: MIT

Simple, lightweight, and easy-to-use image processing toolkit in Python.
Resize images, transfer histograms, and detect structural differences with just a few lines of code.


🖼️ Description

PixFlow is a Python package designed to simplify common image processing tasks, including:

  • Image resizing
  • Histogram matching between images
  • Structural difference detection (SSIM)
  • Image reading and saving
  • Plotting images and histograms

Built on top of scikit-image, matplotlib, and numpy.


📦 Features

  • 🔸 Image reading and saving — Supports formats like .jpg, .png, etc.
  • 🔸 Image resizing — Resizes by relative proportion.
  • 🔸 Histogram matching — Adjusts the tones of one image to match another.
  • 🔸 Structural difference detection (SSIM) — Detects and visualizes structural differences between images.
  • 🔸 Plot utilities:
    • Display single images
    • Compare multiple images side by side
    • Plot RGB histograms

🚀 Installation

Install from PyPI:

bash pip install pixflow

Or install locally from the repository:

bash git clone https://github.com/A-Chioquetta/pixflow.git cd pixflow pip install -e .


🔧 Dependencies

  • numpy
  • matplotlib
  • scikit-image

These will be automatically installed with pip install pixflow.
Or install manually with:

bash pip install -r requirements.txt


🛠️ Usage Example

```python from pixflow import ( readimage, saveimage, resizeimage, transferhistogram, finddifference, plotimage, plotresult, plothistogram )

Read images

image1 = readimage('flor1.jpg') image2 = readimage('flor2.jpg') image3 = readimage('flor1alterada.jpg')

Resize

resized = resizeimage(image1, proportion=0.5) plotimage(resized, title="Resized Image")

Histogram matching

matched = transferhistogram(image1, image2) plotresult(image1, image2, matched, title="Histogram Matching")

Structural difference (SSIM)

difference = finddifference(image1, image3) plotresult(image1, image3, difference, title="Structural Difference")

Histogram plot

plot_histogram(image1)

Save resized image

saveimage(resized, 'resizedimage.jpg') ```


🗂️ Project Structure

pixflow/ ├── pixflow/ │ ├── processing/ │ ├── utils/ │ └── __init__.py ├── examples/ ├── tests/ ├── README.md ├── setup.py ├── LICENSE.txt └── requirements.txt


📄 License

This project is licensed under the MIT License.


🔗 Links

  • PyPI: https://pypi.org/project/pixflow/
  • GitHub: https://github.com/A-Chioquetta/pixflow

Owner

  • Login: A-Chioquetta
  • Kind: user

GitHub Events

Total
  • Release event: 2
  • Push event: 1
  • Create event: 3
Last Year
  • Release event: 2
  • Push event: 1
  • Create event: 3

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 13 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
pypi.org: pixflow

A simple image processing toolkit for resizing, histogram transfer, and difference detection.

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 13 Last month
Rankings
Dependent packages count: 9.1%
Average: 30.1%
Dependent repos count: 51.2%
Maintainers (1)
Last synced: 10 months ago

Dependencies

.github/workflows/pypi-publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
pixflow.egg-info/requires.txt pypi
  • matplotlib *
  • numpy *
  • scikit-image >=0.16.1
requirements.txt pypi
  • matplotlib *
  • numpy *
  • scikit-image >=0.16.1
setup.py pypi
  • matplotlib *
  • numpy *
  • scikit-image >=0.16.1