{"versions":{"1.0.0":{"name":"canny-edge-detector","version":"1.0.0","description":"Canny edge detector","main":"lib/index.js","module":"src/index.js","files":["lib","src"],"scripts":{"eslint":"eslint src","eslint-fix":"npm run eslint -- --fix","prepublish":"rollup -c","test":"run-s testonly eslint","testonly":"jest"},"repository":{"type":"git","url":"git+https://github.com/image-js/canny-edge-detector.git"},"keywords":["image-js","image","computer","vision","canny","edge","detector"],"author":{"name":"Jefferson Hernandez","email":"jeffersonh44@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/image-js/canny-edge-detector/issues"},"homepage":"https://github.com/image-js/canny-edge-detector#readme","devDependencies":{"babel-plugin-transform-es2015-modules-commonjs":"^6.24.1","eslint":"^4.1.1","eslint-config-cheminfo":"^1.6.0","eslint-plugin-no-only-tests":"^2.0.0","image-js":"^0.11.4","jest":"^20.0.4","npm-run-all":"^4.0.2","rollup":"^0.43.0"},"gitHead":"e3605b1ac1d77ed089a44eb522eb0a295082b7f1","_id":"canny-edge-detector@1.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"anonymous","email":"targos@live.com"},"dist":{"integrity":"sha512-SpewmkHDE1PbJ1/AVAcpvZKOufYpUXT0euMvhb5C4Q83Q9XEOmSXC+yR7jl3F4Ae1Ev6OtQKbFgdcPrOdHjzQg==","shasum":"41f4cc3e09c0802a5269a05e7bff3dbf09169c97","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/canny-edge-detector/-/canny-edge-detector-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuO+kgatctZEED1yagNE9yLWbfhrLb+xlL5EkA4w1BOwIhANoAH2+m+Wgsn6EQttOQ1MzvjLmNSg2ZMQl5rsOPzBuD"}]},"maintainers":[{"name":"anonymous","email":"targos@live.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/canny-edge-detector-1.0.0.tgz_1498639155960_0.3908789227716625"},"contributors":[]}},"dist-tags":{"latest":"1.0.0"},"name":"canny-edge-detector","time":{"modified":"2022-01-26T17:20:48.143Z","created":"2022-01-26T17:20:48.143Z","1.0.0":"2017-06-28T08:39:16.968Z"},"readme":"# canny-edge-detector\n\n  [![NPM version][npm-image]][npm-url]\n  [![build status][travis-image]][travis-url]\n  [![npm download][download-image]][download-url]\n\nCanny edge detector\n\n## Installation\n\n`$ npm install canny-edge-detector`\n\n## Usage\n\n### cannyEdgeDetector(image[, options])\n\nFind edges in an image using the [Canny algorithm](https://en.wikipedia.org/wiki/Canny_edge_detector).  \nReturns a greyscale image with the edges at `options.brightness` value.\n\n__arguments__\n\n* `image` - a greyscale Image\n* `options` - an optional object\n\n__options__\n\n* `lowThreshold`: Low threshold for the hysteresis procedure (default: 10).\n* `highThreshold`: High threshold for the hysteresis procedure (default: 30).\n* `gaussianBlur`: Sigma parameter for the gaussian filter step (default: 1.1).\n* `brightness`: Values assigned to each edge pixel on the result image (default: image.maxValue).\n\n## Example\n\n```js\nimport cannyEdgeDetector from 'canny-edge-detector';\nimport Image from 'image-js';\n\nImage.load('my-image.png').then((img) => {\n  const grey = img.grey();\n  const edge = cannyEdgeDetector(grey);\n  return edge.save('edge.png');\n})\n```\n\n## License\n\n[MIT](./LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/canny-edge-detector.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/canny-edge-detector\n[travis-image]: https://img.shields.io/travis/image-js/canny-edge-detector/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/image-js/canny-edge-detector\n[download-image]: https://img.shields.io/npm/dm/canny-edge-detector.svg?style=flat-square\n[download-url]: https://npmjs.org/package/canny-edge-detector","users":{}}