publiclab/image-sequencer

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

Summary

Maintainability
Test Coverage
{
  "name": "fisheye-gl",
  "description": "Correct fisheye, or barrel distortion, in images (with WebGL -- adapted from fisheye-correction-webgl by @bluemir).",
  "requires": [ "webgl" ],
  "inputs": {
    "a": {
      "type": "float",
      "desc": "a parameter",
      "default": 1,
      "min": 1,
      "max": 4
    },
    "b": {
      "type": "float",
      "desc": "b parameter",
      "default": 1,
      "min": 1,
      "max": 4
    },
    "Fx": {
      "type": "float",
      "desc": "Fx parameter",
      "default": 0,
      "min": 0,
      "max": 4
    },
    "Fy": {
      "type": "float",
      "desc": "Fy parameter",
      "default": 0,
      "min": 0,
      "max": 4
    },
    "scale": {
      "type": "float",
      "desc": "Image Scaling",
      "default": 1.5,
      "min": 0,
      "max": 20
    },
    "x": {
      "type": "float",
      "desc": "FOV x parameter",
      "default": 1.5,
      "min": 0,
      "max": 20
    },
    "y": {
      "type": "float",
      "desc": "FOV y parameter",
      "default": 1.5,
      "min": 0,
      "max": 20
    },
    "fragmentSrc": {
      "type": "PATH",
      "desc": "Path to a WebGL fragment shader file",
      "default": "(inbuilt)"
    },
    "vertexSrc": {
      "type": "PATH",
      "desc": "Path to a WebGL vertex shader file",
      "default": "(inbuilt)"
    }
  },
  "docs-link":"https://github.com/publiclab/image-sequencer/blob/main/docs/MODULES.md#fisheyegl-module"
}