Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise blocks API #106

Merged
merged 6 commits into from
Nov 20, 2024
Merged

Revise blocks API #106

merged 6 commits into from
Nov 20, 2024

Commits on Nov 20, 2024

  1. Configuration menu
    Copy the full SHA
    975cdbe View commit details
    Browse the repository at this point in the history
  2. Remove deprecated API

    tpietzsch committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    25cc916 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c9ea6db View commit details
    Browse the repository at this point in the history
  4. Clean up imports

    tpietzsch committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    d0614ed View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9e7ee27 View commit details
    Browse the repository at this point in the history
  6. Revise blocks API

    * Instead of delegating execution to BlockProcessor, UnaryBlockOperator
      takes care of chaining operations now:
      The new compute(BlockSupplier source, Interval, Object dest) method
      handles source interval computation, getting source data, and
      computing result in one go, instead of the sequential BlockProcessor
      API.
      This is much nicer. It enables pass-through operators
      (Convert.Identity or logging for example). It should also be easier
      now to extend the API to keep data on the GPU for sequences of GPU
      operators.
    * The copy/compute API all operate on Interval now. Other signatures
      have been removed for simplicity. With the new BlockInterval class
      from imglib2 core, unnecessarily converting between int[] and long[]
      is usually avoided.
    tpietzsch committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    ba36be1 View commit details
    Browse the repository at this point in the history