Skip to main content Skip to secondary navigation

Plugins

Main content start

ePad has an interface to interact with plugins. Plugins can be created by the users using image-container architecture. User needs to create a docker image and needs to publish the image to dockerhub. User needs to define a default input and output folder (paths) to interact with the data which is already in the ePad server. Additional parameters can be set and can be registered to ePad to define the runtime flow of the container (instance of an image). Container processed data, images, aims can be uploaded back to ePad at the end of the container processing cycle .

Summary of a plugin life cycle

  • Register/add a plugin
  • Associate the plugin with one or more projects
  • Define/add parameters for the plugin to pass the values and the data to the container (image instance) from ePad
  • Create an instance of the plugin
  • Start, stop, delete, check the log file at run time, download the results of the plugin

Detailed explanation of a plugin life cycle

  • Open the plugin window and select plugins

  • Click on the "+" icon to open "add new plugin" window

  • Fill each required input field which has * next to it

    As shown in the image below. We are registering a new plugin in ePad. Name, Id, Image repo and Image tag fields are mandatory. Id will be unique for the system. Image name is the name given when you push your image to Dockerhub

    The selected value of the annotation required dropdown list defines how many instance of your plugin will be created depending on the annotation selection in the later steps.

    For example if you select one annotation required during the plugin registration and if you select multiple annotation when you create an instance of this plugin in the later steps, ePad will create one instance per selected annotation. But if you select multiple annotation required (see the "annotation required" dorpdown list in the image below) during the plugin registration and if you select multiple annotation when you create an instance of this plugin, ePad will create one instance of the plugin and will provide all the selected annotations to the plugin.

  • Submit and return to the plugin list ( "manage" tab )

  • Associate the plugin with a project

    A plugin has to be associated at least with one project.
     

    Plugin project setting
  • Add parameters, share ePad resources(images,annotations) with the plugin
     

    plugin parameter

Create an instance of the plugin (section2)

  • First register your plugin. follow the steps in the section 1

  • Then go to Search tab to list, filter and select annotations to run the plugin on and select the plugin to run using the dropdown

  • This creates a new plugin instance and adds it to the queue. To start running the plugin, you need to use the track process tab

  • The selections are not cleared after the plugin is selected and run to enable multiple plugin instance creations using the same annotation list. This is useful especially on large datasets with various plugin running needs
     

    search annotations and add plugin to the queue
  • Click the track process tab to list the plugins in the queue. 
     

    track plugins
  • You can start, stop or delete the plugin instance using the buttons on the top or the buttons on each row. you can also download the results and see the log.

  • By default if you select multiple plugin instances and click the start button, plugin instances will run in parallel. You can use run in sequence checkbox to run them in sequence. This is useful if you have a large dataset and ePAD server does not have enough memory

  • For feature extraction plugins, the features are written to the AIM file automatically.

  • For plugins that create DICOM objects they are automatically saved in the system