Overview
VisionTool is a modular, plugin-based image-processing application for scientific and industrial vision tasks. You load an image, define a region of interest, and build a customizable pipeline of filters and detectors. It runs on Windows and macOS (Apple Silicon).
Features
- Interactive ROI with enable/disable toggle and numeric editing.
- A processing pipeline with per-step enable/disable checkboxes and a live parameter panel.
- Measurement tools with calibration in px / µm / mm.
- Histogram with an adjustable LUT window to emphasize low-contrast defects.
- Dual-image compare mode that shares the same ROI, pipeline and display settings.
- Save / load pipelines and export both the processed image and the annotated view.
Built-in filters & detectors
- Filters: Gaussian Blur, Threshold, Canny Edge Detection, CLAHE Contrast Enhancement.
- Detectors: Blob Detector (
SimpleBlobDetector), Edge Point Detector, Contour Detector.
Edge Measurement tool
A dedicated edge filter computes sub-pixel edge metrics. It supports two modes:
- Along line — a single 1D intensity profile
I(s)and its derivative for classic edge-spread measurement. - Perpendicular cross-sections — many short cross-sections sampled orthogonally along the path, optionally aligned to the local gradient (Sobel/Scharr), then aggregated (mean/median/std/p10/p90).
Results (peak_to_peak, edge_width, areas, ...) are plotted inline and exportable to CSV with the full parameter set.
Install & run
:: Windows
install_windows.bat
venv\Scripts\activate
python main.py