imagej / imagej/ImageJ

Make "Scale" command optionally multi-threaded

Open
#290 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
786
Forks
267
PR merge metrics
No merged PRs in 30d

Description

With large datasets nowadays, often an ImageJ stack is virtual, and lacking a cache, often takes too much time to scroll back and forth across Z. A simple solution is to duplicate a range of sections. But since these are virtual, fetching the files, scaling, interpolating, etc. takes time, so the duplication takes long. Many of these operations could run entirely in parallel, hence, a simple solution is to add a checkbox "multithreaded" to the `Scaler.java` plugin `GenericDialog`, with the corresponding flag for the macro recorder, to duplicate the stack using one `Thread` per slice to duplicate, for as many threads as specified in the ImageJ options.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Scaler.java plugin and its GenericDialog to trace how stack duplication and macro recording are handled. Check the ImageJ options for the configured thread count and determine how the multithreaded choice should be represented in recorded macros. Done means the optional mode duplicates slices concurrently while preserving the existing behavior when unchecked.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
computer-vision
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.