GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Comparing main...scijava-ops-image/image-equation · scijava/scijava

Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scijava/scijava
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading

Uh oh!

There was an error while loading. Please reload this page.

base: main
Loading
Loading
...
head repository: scijava/scijava
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading

Uh oh!

There was an error while loading. Please reload this page.

compare: scijava-ops-image/image-equation
Loading
Loading
Checking mergeability… Don’t worry, you can still create the pull request.

Uh oh!

There was an error while loading. Please reload this page.

  • 2 commits
  • 1,022 files changed
  • 2 contributors

Commits on May 26, 2026

  1. Implement image.equation op

    This implementation brings back the image.equation Op from ImageJ Ops,
    but using Parsington instead of JavaScript for deterministic evaluation.
    
    - Equation.java — the image.equation Op with a Computer signature
      (String, RandomAccessibleInterval<T>)). Parses the expression once
      into a SyntaxTree, then iterates pixels with a localizing cursor,
      updating position before each evaluation. Any per-pixel runtime error
      yields NaN.
    
    - EquationEvaluator.java — extends Parsington's DefaultTreeEvaluator.
      Exposes p[0..n], x/y/z/t, pi/e, and reflects every public-static
      numeric java.lang.Math method.
    
    - EquationTest.java — 10 tests covering constants, p[i], axis
      shorthands, single- and multi-arg math, pi/e, a 3D image,
      reproducibility, random() distribution, and the NaN-on-bad-expression
      contract.
    
    Adds parsington as a dependency to scijava-ops-image.
    
    Notable design notes:
    - parens(...) returns the single arg unwrapped, or an Object[] for
      multi-arg, so function() can pick Math overloads.
    - brackets(...) returns a marker BracketIndex so function(fn, args)
      can distinguish p[i] from cos(x).
    - Multi-arg function args came through as unresolved Variable tokens;
      resolved via Parsington's value(arg) before reflection.
    - Single-threaded for now — Parsington's evaluator is stateful, and the
      op is documented as a demo helper, so top performance is not critical.
    
    Co-authored-by: Claude Opus 4.7 <[email protected]>
    @ctrueden @claude
    ctrueden and claude committed May 26, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 2c3c2bc
    • Browse repository at this point
    Copy the full SHA
    2c3c2bc View commit details
    Browse the repository at this point in the history
  2. Update copyright headers for 2026

    @ctrueden
    ctrueden committed May 26, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for a689e52
    • Browse repository at this point
    Copy the full SHA
    a689e52 View commit details
    Browse the repository at this point in the history
Loading

This comparison is taking too long to generate.

Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.

You can try running this command locally to see the comparison on your machine:
git diff main...scijava-ops-image/image-equation

Uh oh!

There was an error while loading. Please reload this page.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.