Skip to main content

Advanced Image Analysis Tool with magnification, color analysis, and data extraction

Project description

Acycle Image Processor

Advanced Image Analysis Tool with magnification, color analysis, and data extraction capabilities.

Features

  • Image Magnification: Real-time magnifier with adjustable zoom factor
  • Coordinate Calibration: Set reference points to transform pixel coordinates to real-world coordinates
  • Color Analysis: Automatic dominant color detection and custom color selection
  • Data Point Extraction: Extract data points from images based on color matching
  • Drawing Tools:
    • Box selection for region-based extraction
    • Freehand drawing for custom path selection
    • Manual point marking
  • Data Export: Save extracted data points to text files
  • Undo/Redo: Full undo/redo support for drawing operations (Ctrl+Z / Ctrl+Y)

Installation

From PyPI (once published)

pip install acycle-imageprocessor

From Source

git clone https://github.com/yourusername/acycle-imageprocessor.git
cd acycle-imageprocessor
pip install -e .

Usage

Command Line

After installation, you can run the application using:

acycle-imageprocessor

Or as a Python module:

python -m acycle.imageprocessor

As a Library

from acycle.imageprocessor import ImageProcessor
from PySide6.QtWidgets import QApplication
import sys

app = QApplication(sys.argv)
window = ImageProcessor()
window.show()
sys.exit(app.exec())

Workflow

  1. Load Image: Click "Load Image" to open an image file
  2. Calibrate Coordinates (optional):
    • Enter reference values for X1, X2, Y1, Y2
    • Click "Pick X1", "Pick X2", etc., then click on the image to set calibration points
  3. Select Tool:
    • Box: Draw a rectangle to select a region
    • Drawing: Draw freehand paths to select custom regions
    • Manual: Click to manually mark individual points
  4. Analyze Colors: The tool automatically detects dominant colors in the image
  5. Extract Data Points:
    • Select a color (either from dominant colors or custom)
    • Adjust dx/dy sampling intervals
    • Click "Extract Data Points"
  6. Save Data: Click "Save Data Points" to export extracted coordinates

Requirements

  • Python >= 3.8
  • PySide6 >= 6.0.0
  • numpy >= 1.20.0
  • matplotlib >= 3.3.0
  • scikit-image >= 0.18.0
  • scikit-learn >= 0.24.0
  • Pillow >= 8.0.0
  • qt-material >= 2.0.0
  • scipy >= 1.6.0

License

MIT License - see LICENSE file for details

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Author

Your Name (your.email@example.com) #\x00 \x00A\x00c\x00y\x00c\x00l\x00e\x00P\x00y\x00 \x00 \x00

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

acycle-0.1.4.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

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

acycle-0.1.4-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file acycle-0.1.4.tar.gz.

File metadata

  • Download URL: acycle-0.1.4.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for acycle-0.1.4.tar.gz
Algorithm Hash digest
SHA256 17e77f6e4349bf889386c5f961e1e124694a635da499ce5acbb1c0c814b9adf5
MD5 fe5a13f532b0562e32ccee4a99194cfb
BLAKE2b-256 7ffdacbfde5a298d026d488b4b01f3c13c4eb425e40a333c423f71792240c096

See more details on using hashes here.

File details

Details for the file acycle-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: acycle-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for acycle-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dd33df267b3cfd0a505df18f2823e4fb08202abd9639307d48b2fab2c66acb25
MD5 e6dd4a5aadc46f2aa241bd52eff0555a
BLAKE2b-256 819568e423d40bd520e0696751d66bb7ad14f461993f1b6238f98f2782c99832

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