Ticket #302 (closed task: fixed)

Opened 8 years ago

Last modified 7 years ago

Investigate plugin chaining schemes

Reported by: aivar Owned by: aivar
Priority: major Milestone: biweekly-2011: Jan-03 to Jan-14
Component: Plugin Framework Version:
Severity: major Keywords:
Cc: Blocked By:
Blocking: #11, #35

Description

Develop plugin chaining ideas. Tidy up Deep Zoom Plugin as testbed for plugin chaining schemes. Work on plugin chaining scheme prototype for more parallelism. Research open source workflow/pipeline software. Look at JAI's pull imaging model.

Change History

comment:1 Changed 8 years ago by aivar

During cycle ending Dec 11, I set up the Deep Zoom plugin as a maven project:

 http://dev.loci.wisc.edu/svn/software/branches/maven/projects/deep-zoom-plugin

My original plugin chaining prototype is in loci.multithreadedplugin, it's not hooked up yet, has some issues.

I developed loci.multiinstanceplugin instead on top of that code. This code allows a programmer to chain plugins together. It launches a new instance of a plugin whenever a set of input images for that plugin become available.

For testing, the Deep Zoom Plugin allows you to choose an implementation. The CHAINED implementation runs everything on a single thread in a memory-efficient way. MULTIINSTANCE launches a new instance of a plugin with its own thread whenever a set of input images becomes available. With SINGLEINSTANCE only one instance of each plugin can run at a time.

comment:2 Changed 8 years ago by aivar

Deep Zoom Plugin

The Deep Zoom Plugin takes a large image and sets up a zoomable, browser-based viewer that can be viewed locally or shared across the Internet.

The plugin is invoked through "File/Save As...". You need to specify the Output folder to use to build the files and a HTML file name that is unique within that folder. The HTML title is just the title at the top of the web page, that is used when a bookmark is saved. The Image window width/height specify the size of the viewing window. If the Launch browser checkbox is selected the output is shown in a browser window. This can just load the file locally, or you can specify a URL that is associated with the output folder.

Currently 24-bit RGB images are required. Also if you select the SINGLEINSTANCE or MULTIINSTANCE plugin the browser may launch before the output files are ready. The workaround is to wait a little and then refresh the page.

comment:3 Changed 8 years ago by aivar

  • Status changed from new to closed
  • Resolution set to fixed

The MULTIINSTANCE version of the workflow became a new project:
 http://dev.imagejdev.org/svn/imagej/trunk/extra/workflow
This workflow project was used to execute workflows from Rick Lentz's workflow pipes project:
 http://dev.imagejdev.org/svn/imagej/trunk/extra/workflowpipes
This was demonstrated at the February 2011 Fiji Hackathon.
This is being shelved for now, so I'm closing the ticket. The workflow design will be used to motivate having a flexible module interface for IJ2.

comment:4 Changed 7 years ago by curtis

  • Blocking 11 added

comment:5 Changed 7 years ago by curtis

  • Blocking 35 added
Note: See TracTickets for help on using tickets.