{
    "name": "Vector to Label",
    "version": "0.6.1",
    "title": "Vector to Label",
    "description": "Create labelled masks from flow-field vectors.",
    "author": "<NAME> (<EMAIL>), <NAME> (<EMAIL>), <NAME> (<EMAIL>)",
    "institution": "National Center for Advancing Translational Sciences, National Institutes of Health",
    "repository": "https://github.com/PolusAI/polus-plugins/tree/dev/formats/polus-vector-converter-plugin",
    "website": "https://ncats.nih.gov/preclinical/core/informatics",
    "citation": "https://www.biorxiv.org/content/10.1101/2020.02.02.931238v1",
    "containerId": "labshare/polus-vector-label-plugin:0.6.1",
    "inputs": [
        {
            "name": "inpDir",
            "type": "genericData",
            "description": "Input image collection to be processed by this plugin",
            "required": true
        },
        {
            "name": "filePattern",
            "type": "string",
            "description": "Image-name pattern to use when selecting images for processing.",
            "required": false
        },
        {
            "name": "flowMagnitudeThreshold",
            "type": "number",
            "description": "The minimum flow magnitude at a pixel for it to be considered part of a cell. Defaults to 0.1",
            "required": false
        }
    ],
    "outputs": [
        {
            "name": "outDir",
            "type": "collection",
            "description": "Output collection"
        }
    ],
    "ui": [
        {
            "key": "inputs.inpDir",
            "title": "Input collection",
            "description": "Input image collection to be processed by this plugin."
        },
        {
            "key": "inputs.filePattern",
            "title": "File Pattern",
            "description": "Image-name pattern to use when selecting images for processing.",
            "default": ".+"
        },
        {
            "key": "inputs.flowMagnitudeThreshold",
            "title": "Flow Magnitude Threshold",
            "description": "The minimum flow magnitude at a pixel for it to be considered part of a cell.",
            "default": 0.1
        }
    ]
}