https://github.com/labshare/polus-plugins/tree/master/polus-apply-flatfield-plugin
750
This WIPP plugin applies a flatfield operation on every image in a collection. The algorithm used to apply the flatfield is as follows:

A brief description of the variables:
For more information on flatfielding, see the paper by Young. This plugin specifically uses the formulation from Peng et al.
For more information on WIPP, visit the official WIPP page.
Implement additional formulations of flatfield correction. Specifically, the formula specified by Young:

Additional formulations may also include reference image free algorithms for flatfield correction, such as the rolling ball algorithm.
To build the Docker image for the conversion plugin, run
./build-docker.sh.
If WIPP is running, navigate to the plugins page and add a new plugin. Paste the contents of plugin.json into the pop-up window and submit.
Command line options:
| Name | Description | I/O | Type |
|---|---|---|---|
--darkPattern | Filename pattern used to match darkfield files to image files | Input | string |
--ffDir | Image collection containing flatfield and/or darkfield images | Input | collection |
--flatPattern | Filename pattern used to match flatfield files to image files | Input | string |
--imgDir | Input image collection to be processed by this plugin | Input | collection |
--imgPattern | Filename pattern used to separate data and match with flatfield files | Input | string |
--photoPattern | Filename pattern used to match photobleach files to image files | Input | string |
--outDir | Output collection | Output | collection |
docker pull labshare/polus-apply-flatfield-plugin:latest