publiclab/image-sequencer

View on GitHub
src/modules/EdgeDetect/info.json

Summary

Maintainability
Test Coverage
{
    "name": "edge-detect",
    "description": "Edge Detect module detects edges using the Canny method, which first blurs the image to reduce noise (amount of blur configurable in settings as `options.blur`), then applies a number of steps to highlight edges, resulting in a greyscale image where the brighter the pixel, the stronger the detected edge. [Read more](https://en.wikipedia.org/wiki/Canny_edge_detector)",
    "inputs": {
        "blur": {
            "type": "float",
            "desc": "Amount of gaussian blur(Less blur gives more detail, typically 0-5)",
            "default": 2,
            "min": 0.05,
            "max": 5,
            "step": 0.05
        },
        "highThresholdRatio":{
            "type": "float",
            "desc": "The high threshold ratio for the image",
            "default": 0.2,
            "min": 0,
            "max": 1,
            "step": 0.01
        },
        "lowThresholdRatio": {
            "type": "float",
            "desc": "The low threshold value for the image",
            "default": 0.15,
        "min": 0,
        "max": 1,
        "step": 0.01
        },
    "hysteresis": {
        "type": "select",
        "desc": "Toggle Hysteresis",
        "values": ["false", "true"],
        "default": "false"
    }
    },
    "docs-link":"https://github.com/publiclab/image-sequencer/blob/main/docs/MODULES.md#edge-detect-module"
}