Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

al-dic

Latest version: v1.1.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: zachtong
31 Stars
8 Forks
8 Versions
622 Downloads
Python Repo language

Scan summary

al-dic was last scanned on 24 Nov 2026 at version 1.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 8 versions; the latest was published on 24 Nov 2026.
  • Findings: No rules fired in version 1.1.0.
  • Downloads: 622 downloads.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.0 LATEST 24 Nov 2026 No rules fired
1.0.5 11 Nov 2026 No rules fired
1.0.4 31 Oct 2026 No rules fired
1.0.3 19 Oct 2026 Not shown
1.0.2 17 Oct 2026 Not shown

No rules fired in 1.1.0

Findings

Findings for v1.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.1.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.


Why pyALDIC?

Standard subset-based DIC (IC-GN) solves each node independently — accurate for small deformations, but struggles with large displacement gradients, discontinuities, and noisy images. pyALDIC uses an Augmented Lagrangian (ADMM) framework that couples local IC-GN subproblems with a global FEM regularizer, producing smoother, more accurate fields while maintaining sub-pixel precision.


Key Features

User-Friendly GUI

A complete desktop application built with PySide6. Three-column layout with image list, ROI tools, and parameter controls on the left — interactive zoom/pan canvas in the center — run controls, field overlay, and console log on the right. Load images, draw ROIs, configure parameters, run DIC, and visualize results — all without writing a single line of code. Light by default, or dark: Settings → Theme switches every open window at once and remembers the choice.

Adaptive Spatial Refinement

Quadtree mesh refinement with 5 built-in criteria: mask boundary, ROI edge, brush region, manual selection, and posterior error. Concentrates computational effort where it matters — near boundaries, discontinuities, and high-gradient regions.

Dual Solver: Local DIC + AL-DIC

Run traditional local IC-GN (fast, independent nodes) or full AL-DIC with ADMM global–local coupling (regularized, smoother). Switch between modes with a single parameter — same GUI, same workflow. New projects in the GUI start on Local DIC, which runs about three times faster; pick AL-DIC under Workflow Type → Solver. In scripts use_global_step keeps its default (AL-DIC).

2nd-Order Shape Function (Local DIC)

By default each subset can translate, stretch, shear and rotate (1st order, 6 parameters). With Shape Function → 2nd order a subset can also bend (12 parameters). This removes the systematic error a 1st-order subset makes where the strain changes within the subset — next to holes and notches, in localization bands, in bending — at the price of about twice the random error, so it pays off with a larger subset and low image noise. Every node starts from its converged 1st-order result and keeps it whenever the 2nd-order solve cannot be trusted; the result records which order each node ended with. In scripts: dicpara_default(use_global_step=False, shape_function_order="second").

After a complete Local DIC run in accumulative mode the console log may add a one-line suggestion: a subset size and shape function predicted to lower the displacement error by at least 20 %, or a note that the current setting looks appropriate. It only considers the current subset size and 0.75, 1.5 and 2 times it, each with the 1st and the 2nd order, stays inside the limits of the Subset Size control and the Region of Interest, and says nothing when the estimate cannot be trusted (result.shape_advice in scripts). A suggestion comes with an Apply button that sets the two values; it does not start a run.

Dual Tracking Modes

Accumulative mode — every frame compared to the first reference (best for small, monotonic deformation). Incremental mode — each frame compared to the previous (handles large cumulative deformation with automatic displacement composition, a measurement grid that covers each reference frame's own ROI, and refinement-brush warping). After every run, a tracking-quality check reports nodes whose displacement had to be copied from a distant node or that stopped being tracked, and warns when the grid missed the specimen or most of the material was lost.

Window Splitting (Masked Subsets)

Near mask boundaries, standard square subsets include invalid pixels. pyALDIC automatically detects partially masked subsets, splits them using connected-component analysis, and solves IC-GN on the valid region only — with Hessian conditioning checks to ensure reliability.

Starting Points (Seed Propagation)

For large inter-frame displacement (> 50 px) or discontinuous fields (cracks, shear bands), the default FFT-every-node search becomes slow and error-prone near discontinuities. Select Starting Points in the Initial-Guess panel, place one or more points per connected mask region on the canvas (manually or via Auto-place), and pyALDIC bootstraps each point with a single-point cross-correlation, then propagates the displacement field along mesh neighbors using F-aware (first-order) extrapolation. On a 512×512 speckle with 100 px rigid translation, this is ~3× faster than FFT with auto-expand, and crucially doesn't pick the wrong side of a crack. Every region must hold at least one point (yellow → green) before the Run button enables.

FFT Initial Guess

The classical whole-field initial-guess method is also built in. Each node carries its own FFT cross-correlation against the deformed image, and the peak of the combined cross-power spectrum pins down the rigid-body component in one pass. Choose it when deformation is small-to-moderate and the mesh is dense — one FFT over the whole field is cheaper than per-node searches.

Visualization & Export

Full-field displacement and strain overlay with configurable colormaps, alpha blending, and deformed configuration display. Export to MATLAB .mat, NumPy .npz, CSV, JPEG/PNG/TIFF field maps, animated GIF/MP4, and PDF reports — with a selectable output resolution and quality so large batches stay small and fast. A WYSIWYG Preview & Colorbar tab previews frames through the real export path and styles the colorbar (position, font, thickness, background, margin), and GIF/MP4 animations encode frame-by-frame — with optional frame-step decimation — so long sequences export without a RAM spike. Hide untracked regions (on by default) keeps areas with no tracked node — material that left the field of view or the ROI, or was never in the first frame — transparent on screen and in exported images instead of filling them with colors copied from distant nodes, while the measured field is drawn right up to the ROI and crack edges.

Post-processing Analysis: Probes, Virtual Extensometers, Stress–Strain

The field maps raise the next question — how much did this point, this line, this area strain? — and the Analysis tab of the strain window answers it without leaving the app. Place point, line and region probes on the reference image and plot any field over time, along a line (a profile, with the other frames in gray behind it) or as a kymograph (distance × frame). A line is also a virtual extensometer (engineering or true strain, elongation over its gauge length) and a crack gauge (opening, sliding and total separation across a crack). Import the testing machine's load record — a CSV matched to the frames by frame number or by time — to plot against load or stress and draw stress–strain curves directly. Every sample is judged on its own, so a probe a growing crack cuts through keeps reading the material that is left, and says so, instead of silently averaging a shrinking sample; region means are area-weighted. Each plot exports as a publication-ready PNG/SVG/PDF or as CSV, and the probes and load record are saved with the session.

Save & Resume Sessions

Save a whole project to a single .aldic file — the image list, ROIs, parameters, the current view, and the computed displacement/strain results — then reopen it later to land back exactly where you left off, without recomputing (source images are re-linked from their original folder). Double-click a .aldic file (the Windows installer sets this up; on Windows the portable zip and a pip install offer it in one click) or pass it on the command line to launch straight into that session.


Comparison with DIC Tools

pyALDIC Ncorr DICe VIC-2D MatchID
Formulation Hybrid local + global (ALDIC) Local (subset) Local (subset) Local (subset) Local (subset)
Grid Adaptive refined grid Uniform grid Uniform grid Uniform grid Uniform grid
GUI Built-in desktop Built-in desktop¹ Built-in desktop Built-in desktop Built-in desktop
Platform Windows, macOS, Linux Windows, macOS, Linux¹ Windows, macOS, Linux Windows only Windows only
Latest release² v1.1.0 (2026) v1.2.2 (2017) v3.0-beta (2023) VIC-2D 7 (2022) MatchID 2D (2026)
Cost Free Free¹ Free Commercial Commercial

¹ Requires a MATLAB license. ² Compiled from public web sources and may be inaccurate. Last verified: 2026-04-20.


Accuracy

pyALDIC implements the Augmented Lagrangian DIC (AL-DIC) method. Quantitative accuracy, convergence, and noise-robustness characterization — including synthetic-speckle ground-truth studies and comparisons against classical subset-based DIC — are reported in the peer-reviewed literature:

  • Yang, J. & Bhattacharya, K. Augmented Lagrangian Digital Image Correlation. Experimental Mechanics 59, 187–205 (2019). doi:10.1007/s11340-018-00457-0 — original AL-DIC paper, 145+ citations.

  • Tong, Z. et al. 3D Stereo Adaptive Mesh Augmented Lagrangian Digital Image Correlation. Experimental Mechanics (2025). doi:10.1007/s11340-025-01225-7 — 3D stereo extension of the AL-DIC framework.

The software itself — its architecture, the adaptive quadtree meshing and mask-aware subset splitting, and verification against synthetic displacement fields, rigid-body motion, Mode-I cracking and experimental uniaxial tension — is described in the pyALDIC paper (preprint, under review):

  • Tong, Z. & Yang, J. pyALDIC: A Python Implementation of Augmented Lagrangian Digital Image Correlation with a GUI, Adaptive Meshing, and Mask-Aware Subset Splitting. arXiv:2607.22755 (2026). arxiv.org/abs/2607.22755

The AL-DIC method was also independently evaluated in the community benchmark DIC Challenge 2.0 — Reu et al., "DIC Challenge 2.0: developing images and guidelines for evaluating accuracy and resolution of 2D analyses: focus on the metrological efficiency indicator", Experimental Mechanics. doi:10.1007/s11340-021-00806-6

Performance

Config Nodes Solver Time Throughput Pipeline FPS†
256², step=8 784 0.04 s ~20,000 POIs/s ~5
512², step=8 3,600 0.17 s ~22,000 POIs/s ~1
512², step=4 14,400 0.57 s ~25,000 POIs/s ~0.2
1024², step=4 61,504 2.7 s ~23,000 POIs/s ~0.06

†Solver Time = IC-GN + ADMM (3 iterations), excluding precomputation. Pipeline FPS = full per-frame pipeline (FFT init + IC-GN + ADMM), excluding strain. Numba JIT, post-warmup; first run adds ~0.5 s for compilation. Using Local DIC mode (no ADMM) is ~3× faster.

Memory. Peak RAM at 4096² × 3 frames is ~12 GB (down from 37 GB in v0.4.x). Since v0.6.0, frames stream from disk on demand instead of being pre-loaded as full-sequence stacks (~40 GB less RAM at the start of a 300-frame 4K run), and incremental-mode caches are LRU-bounded, so memory stays flat over long sequences. A chunked NCC search bounds the working buffer at ~4 GB per chunk, preventing out-of-memory failures at large search ranges; tested up to 5472 × 3648 with search range = 350 px.


Quick Start

Installation
You have Do this
Windows 10 or 11 Download pyALDIC-Windows-Setup.exe, double-click, Install
A Mac with Apple silicon (M1 or later, macOS 14+) Download pyALDIC-macOS.dmg, drag pyALDIC to Applications, allow it once in Privacy & Security
Python 3.10 – 3.14, on any system python -m pip install al-dic, then python -m al_dic

All three give you the same application; the downloads need no Python at all. Every version is on the releases page.

Windows
  1. Download pyALDIC-Windows-Setup.exe from the latest release.
  2. Double-click it. It installs for your own user account, so it asks for no administrator password — it works on a lab computer too. Keep or untick the desktop shortcut and click Install.
  3. Start pyALDIC from the Start menu or the desktop.

pyALDIC is not code-signed, so Windows may check with you first, once: your browser may say the file isn't commonly downloaded — choose Keep (in Edge: ⋯ → Keep → Keep anyway) — and SmartScreen may show Windows protected your PC — click More info → Run anyway. The installer also makes .aldic session files open in pyALDIC with a double-click. To remove it: Settings → Apps → Installed apps → pyALDIC → Uninstall.

Not allowed to install anything? Download pyALDIC-Windows-Portable.zip, right-click it → Extract All, and double-click pyALDIC.exe in the extracted folder. Extract it first: run from inside the zip, it cannot find the files it needs.

The first analysis takes noticeably longer than the rest while the compute kernels compile; pyALDIC starts that in the background as soon as it opens, and caches the result. If something goes wrong there is a log at %LOCALAPPDATA%\pyALDIC\logs\pyALDIC.log, and pyALDIC-console.exe in the same folder runs the identical application with a console window attached.

macOS (Apple silicon)
  1. Download pyALDIC-macOS.dmg from the latest release.
  2. Open it and drag pyALDIC onto Applications.
  3. Double-click pyALDIC in Applications. The first time, macOS stops it with "Apple could not verify 'pyALDIC' is free of malware": pyALDIC is free, open-source software that is not notarized by Apple. Click Done, open System Settings → Privacy & Security, scroll down to the line about pyALDIC, click Open Anyway and confirm with your password. From then on it opens like any other app (Apple's guide).

Needs macOS 14 (Sonoma) or later on an M1 or newer Mac; Intel Macs are not supported. Logs are in ~/Library/Application Support/pyALDIC/logs.

With pip

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases al-dic

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229