{"_id":"otsu","_rev":"5-febacdab6b1aebeec128949bb999eec8","name":"otsu","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"otsu","version":"0.0.1","description":"✂️ Otsu's Method for automated thresholding in JavaScript.","main":"dist","keywords":["image","processing","segmentation","threshold"],"scripts":{"build":"babel src --out-dir dist && uglifyjs dist/*.js -o dist/*.js","prettify":"yarn prettier --write \"**/*.js\"","test":"jest"},"repository":{"type":"git","url":"https://github.com/cawfree/otsu"},"author":{"name":"Alex Thomas","email":"hello@cawfree.com","url":"@cawfree"},"license":"MIT","private":false,"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/polyfill":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/preset-react":"^7.8.3","husky":"^4.2.1","jest":"^25.1.0","prettier":"^1.19.1","uglify-js":"^3.7.7"},"dependencies":{"rippleware":"^0.0.9"},"licenseText":"MIT License\n\nCopyright (c) 2020 Alexander Thomas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"otsu@0.0.1","dist":{"shasum":"c5049b909e56ba42b8f3a9736decde8c15873fcf","integrity":"sha512-HTBfvgwCGeVLRXdmFU+T7PPvLuVtHMTB6FIV1/joigQ7xtGuSjU0+W7OEf+0N6/cxzoO8DUp9p+V/OCkTHfp0w==","tarball":"https://registry.npmjs.org/otsu/-/otsu-0.0.1.tgz","fileCount":10,"unpackedSize":11063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOvHECRA9TVsSAnZWagAAkXcP/2IAUuQS9zvuEI8pUW4K\nG7uyZVZ+0uTYt/Vixit5N4wJstQ3x2uX6EHc71FqvJblBODPHJ6v+UHvg6HY\nQREo5j4Esch354HK1JwGunCMxVjVRU4D8M/c4Vq1mKzmAVcEeSPKXKtHNazd\n6iKw8Hi49fHMyHLUsSpLcq1AgcHcBji2VYvQpAT9yYRQKriDKYsHmvOBLrHT\nstBi3foUiaZT/sHm0pJ3qqgK144Vy67VWLCPUdocEhKwaNUai5Wc8KtOlK3x\ncsmJD10Zx7PxjTwp+2xSM2uYxhQTWSbK9hSgsSGROIZw/FTlzrbqsm9UUmbn\n4BWExw9+lBIq2Kf6qbQ0N7dty1mf9Dg5N8QVINehCOIbsyaKYi3SVOnOh5Ri\nBpdp3DeBV5/u4JMa8SDZU+eg+QdJU9AJ0KrCVEHPQu5cwwd6ccdBjjVeBOLk\n9w3tdlDT1nsg9oYU+1ZUArfCbupeZpfrkB9n1wkx14Eof6ASTRxtjMGTCEWd\nk1+yAc9OgODKoYW0ywS1LPBC9pRofbBIn5Nv9Lip++97uSgZgkGCtPWxpCv5\ncDrjRqwpFq3i8EwlAq5yAQUcshq12vnKTa81iorklA+CfGauXqRzihSxtt4E\nnEd9Ue1TMjorFPZHgMP0O5q2cWTwMBVL3Tln3nWNYzO7RuO7BoomhmVxZZKh\nrY5y\r\n=GCYF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE06tOFmkMZgRnNO0Zod+i2bajShSzRJnxUyFePTCxqOAiBZhi/aOGZZBYLddyvlEfsh28EHwWjejQryqMnMPdMlHw=="}]},"maintainers":[{"name":"cawfree","email":"hello@cawfree.com"}],"_npmUser":{"name":"cawfree","email":"hello@cawfree.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/otsu_0.0.1_1580921283647_0.5250521814103148"},"_hasShrinkwrap":false},"0.0.2":{"name":"otsu","version":"0.0.2","description":"✂️ Otsu's Method for automated thresholding in JavaScript.","main":"dist","keywords":["image","processing","segmentation","threshold"],"scripts":{"build":"babel src --out-dir dist && uglifyjs dist/*.js -o dist/*.js","prettify":"yarn prettier --write \"**/*.js\"","test":"jest"},"repository":{"type":"git","url":"https://github.com/cawfree/otsu"},"author":{"name":"Alex Thomas","email":"hello@cawfree.com","url":"@cawfree"},"license":"MIT","private":false,"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/polyfill":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/preset-react":"^7.8.3","husky":"^4.2.1","jest":"^25.1.0","prettier":"^1.19.1","uglify-js":"^3.7.7"},"dependencies":{"rippleware":"^0.0.9"},"licenseText":"MIT License\n\nCopyright (c) 2020 Alexander Thomas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"otsu@0.0.2","dist":{"shasum":"95bf18e76887e153b2e71fef595533fac8221ffd","integrity":"sha512-4zDJdVOqtMC48mipEm+OVGakhqIs5FKeOBF8mSJiwGy9Jxin+c2ZyL2Ip8723A+O2daYuKCMGhpmuuz7MVvkkQ==","tarball":"https://registry.npmjs.org/otsu/-/otsu-0.0.2.tgz","fileCount":11,"unpackedSize":14050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOwD+CRA9TVsSAnZWagAAlK4P/RYyRoCoFwAHLmikX/PH\nlfbVxQWVZtl1FfYDxm2GhWT2Z4jl2MT5x1qhkBW9uZip4MxlMYO348b5l5Tf\nDGpjP+gAZihJ1KUmD+NS5/2dKVjKEzYx/SYTS/tnSu4HV1Aw2nMxq9s7NWqw\nmHPoJPQtuUbFqb4PKLW112A9vEJgzgCHEZyy6t4ICqvBAMA3jKNMWM7J0+FN\n3Zx+S+DqwXplfdf6AhGgrjLhDsCxfX/3g6hbW7KsFdUcmMNFv6LUqoYbBePL\nY5xl8dWr4jaTj5lwSBzOhP46M9FqQ3QaqR0VfKUFkS0xU82etPw7+38nJB24\nksJmnOZ0r6pUDksg0Vq+53t1Sw1yfFw0+KG+tsqWNUq3kSzielRJww1XhE4R\nenzhnffoBN9ERfBDxLfhKfXwDdtcRqkTjJYynRu2W7V6ugqsQ58/vZBM2OKv\no0ID7cyxEGhRdN0lE0Z5q91QP9gCPUJC4EZAPyiwl6rjxQWyQNjpEG1kImHP\nWDygPwxel1mvbCrEYGAo1LmWYPwvkb98fTSonGto8fO89YqeqFJrQpMfmiMH\nvSeMaLNYcLOHuiZZMQtjtYwUi8nz2b8+6NWsVSUQYX5DTLZgi5Zs2qG6SBzx\n5GPWQERZ/K8rgFwLpEdHYgowIwpkuDciXYYci5MBX5+pg/2uzkdV3RQD4zpW\nJE2h\r\n=xdbc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmL8Q6kSwXmcEmA2l0I+0ZE+xCxohgoCnApBpTjoDHswIhAJ3itUyBhMv4z1/4EHvdrWsqGj5fctdZjVYfjcbJUW4U"}]},"maintainers":[{"name":"cawfree","email":"hello@cawfree.com"}],"_npmUser":{"name":"cawfree","email":"hello@cawfree.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/otsu_0.0.2_1580925182325_0.2552651647399824"},"_hasShrinkwrap":false},"0.0.3":{"name":"otsu","version":"0.0.3","description":"✂️ Otsu's Method for automated thresholding in JavaScript.","main":"dist","keywords":["image","processing","segmentation","threshold"],"scripts":{"build":"babel src --out-dir dist && uglifyjs dist/*.js -o dist/*.js","prettify":"yarn prettier --write \"**/*.js\"","test":"jest"},"repository":{"type":"git","url":"https://github.com/cawfree/otsu"},"author":{"name":"Alex Thomas","email":"hello@cawfree.com","url":"@cawfree"},"license":"MIT","private":false,"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/polyfill":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/preset-react":"^7.8.3","husky":"^4.2.1","jest":"^25.1.0","prettier":"^1.19.1","uglify-js":"^3.7.7"},"dependencies":{"type-check":"^0.3.2"},"licenseText":"MIT License\n\nCopyright (c) 2020 Alexander Thomas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"otsu@0.0.3","dist":{"shasum":"c5378651eecd8d5c79a02013c61be9fceb50a43b","integrity":"sha512-RHaeVXi5k1lEEFtU1bj73imxrhdeHeyypLgacFfrEOsjkV3wjMlmmmVFSE0fWwHNNsNYLFklC+M5q8HUpXiC0g==","tarball":"https://registry.npmjs.org/otsu/-/otsu-0.0.3.tgz","fileCount":11,"unpackedSize":13972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOwkHCRA9TVsSAnZWagAAJlsP/2NQ+WalGiwPJlOfHnVw\nPWp0VusrEjtDoqi6eXuajzoPVnlK+3HHj9zMRfhals57AWAKEd1ORWSRcRnt\nsftZ6xo7CeBc3ppK0/t5OZaKla1Oxd/0E6x9CfSSayJdLIZF3IHV1/2KD1OZ\nhzsV2lqjQ/992tm4KUCgkVxdpH4GaoZ/gu6+Lx3bPnU8VemhEw/hXl41EZSs\n9hytwb7CVyS4xAcniT/YXizyr5qf58Tso2g1SZuMwy5vCO2CM50FH+weCL00\nOrM3/pgpOj2n4RQwejEhR8Ck58PjkG++mkNQ+zqQGDsNhB1dm4j8c+QCim/F\npvryq75F2tQeGVp46GHs5jv5Y2UGLZOtFZoobQ9oA8xK9ySPVqoqFpPdy99e\nBX+jkbGRRRFk1BfT2lsdccc4/GUMxVGfdH/NvilIXuE08MyKngVwFEJa5Dij\nObpPiRRseL+Wgg7hGNM5qMa/v3jSXC1FuGjgiDnmrarP9/eFVEeAhuINids7\nUh76My/eIFOFKe59U1zvoBeUqEL2DipaAkJbS75DWFeX24TLd+q8fe989CtZ\nS9SYz9X/6EACpFmY1olEQWCzQryz4UEzSLuBkpa+Dntjp6wj9RQgquGNdBcX\n5dX8NeucLbMxpbyviiFnVpWJ0KGX2aXHdvxxJ3626/6E0vnfxyThJLo3YDZi\nl2F1\r\n=9+Qx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTjVqE489jqu0cnZAOg5DvE9/qlaJ/tj8olwOOiaEndgIgJkJjFJ8a3sP4eRcJJLW+gjD9Oz8e7R4nLkSVsFuMkck="}]},"maintainers":[{"name":"cawfree","email":"hello@cawfree.com"}],"_npmUser":{"name":"cawfree","email":"hello@cawfree.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/otsu_0.0.3_1580927238605_0.6516638856724775"},"_hasShrinkwrap":false},"0.0.4":{"name":"otsu","version":"0.0.4","description":"✂️ Otsu's Method for automated thresholding in JavaScript.","main":"dist","keywords":["image","processing","segmentation","threshold"],"scripts":{"build":"babel src --out-dir dist && uglifyjs dist/*.js -o dist/*.js","prettify":"yarn prettier --write \"**/*.js\"","test":"jest"},"repository":{"type":"git","url":"https://github.com/cawfree/otsu"},"author":{"name":"Alex Thomas","email":"hello@cawfree.com","url":"@cawfree"},"license":"MIT","private":false,"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/polyfill":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/preset-react":"^7.8.3","husky":"^4.2.1","jest":"^25.1.0","prettier":"^1.19.1","uglify-js":"^3.7.7"},"dependencies":{"type-check":"^0.3.2"},"licenseText":"MIT License\n\nCopyright (c) 2020 Alexander Thomas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"otsu@0.0.4","dist":{"shasum":"3fe76002bc163c7c80206d83a9e2e7faf03c39e3","integrity":"sha512-uU2gNa97FfOBV8Qg/ibdNVpFYs94FcC0wx5EWYD+KI1722SiYbiZPwgVf2HqWTyVZYCX4zS+etyi5poyVI0TIg==","tarball":"https://registry.npmjs.org/otsu/-/otsu-0.0.4.tgz","fileCount":11,"unpackedSize":13637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOzLLCRA9TVsSAnZWagAAoVoP/3Aah+/oOqgkRGB8izq8\niW9IDF3eqjFvVe6zteIBLDxWiUKMZ8IbwzUgmymyUk5rZQ+ZAISYvejZXUdg\ntaHBxqATHspuO4QbZ5xekrKPprA7Ygw4SYooLcixmmu1rIQakDIL0Etd3Kkr\n+wVUDDDOiHZ9JxBVtUQdTMeVuLuUgwXK6/w/xIgCfVOqqW/H9zdvZabohcZp\nfCnSZiZSj5Qc70oDZGgqh4CSHzeheuguj7DprkN3DaqCfhQykv9OjqONmuAZ\nUIruyn/AQCzU386Jkh0OGkqRKezfmO9djtGTnMTeLrcyOpOYAKV3l9goEv6Q\nO1nF/TV4rjlEN3ctu6CZVPdYW+Kt3JkfWRC70ViRa3+ShMFegsvtf/sGzXO9\nMdaBLW/vF+s/vDiVJriEZOGaiqIKLYpH8UT6NckOm3b1CMl2Tx+OjGH0+dSR\n0hOduBmSYlKFKMpTK3qHDUv1heP4LQzrZItbRtgsGOu34s3Eq03zss0W2hoR\nmHC1qxGslL1PeHOTC+z2oTTxYTLXiwMImwPwtItuHqLcr5TZqn5CEdQAjD3p\nJWAZAjy/0uEjz7u/3ZKAC1JOaKxa9ZElydifOZi0utYHSdUyVkSho+IvHl8h\nGGFwsTWLPJmjDRZxlrfIU9z04yr8AiOUQSEV4mIOaGGiRJAGASjtvVpdYvgn\nkP0S\r\n=qN0i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjRYgfyMHugg/rQlwrb8RTI5PSRKZPF/ncBQ6Xf3m3WwIhAMfJbyFp0K9tYs51aKKgz8uONaLTQ7jpns3vyHFDXU1k"}]},"maintainers":[{"name":"cawfree","email":"hello@cawfree.com"}],"_npmUser":{"name":"cawfree","email":"hello@cawfree.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/otsu_0.0.4_1580937931136_0.664466011486003"},"_hasShrinkwrap":false},"0.0.5":{"name":"otsu","version":"0.0.5","description":"✂️ Otsu's Method for automated thresholding in JavaScript.","main":"dist","keywords":["image","processing","segmentation","threshold"],"scripts":{"build":"babel src --out-dir dist && uglifyjs dist/*.js -o dist/*.js","prettify":"yarn prettier --write \"**/*.js\"","test":"jest"},"repository":{"type":"git","url":"https://github.com/cawfree/otsu"},"author":{"name":"Alex Thomas","email":"hello@cawfree.com","url":"@cawfree"},"license":"MIT","private":false,"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/polyfill":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/preset-react":"^7.8.3","husky":"^4.2.1","jest":"^25.1.0","prettier":"^1.19.1","uglify-js":"^3.7.7"},"dependencies":{},"licenseText":"MIT License\n\nCopyright (c) 2020 Alexander Thomas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"otsu@0.0.5","dist":{"shasum":"03aa65bd35726d4d70408c7f40bfe3104a4ced74","integrity":"sha512-ZmQ0Grj3Suaw0y2DniMP90GJ3zI4CXR/Rpev6C7gV1WBzD6TQnKC8ecrvoZruPorHvAvPGOY9ZmbRa8mBZHG/w==","tarball":"https://registry.npmjs.org/otsu/-/otsu-0.0.5.tgz","fileCount":11,"unpackedSize":13187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeO0/yCRA9TVsSAnZWagAATQUP/3n6GHv7ZEgpbx8KWu0T\n51pdVqpg0QwjLylQhFGIfmHxvkKNGNvKlfPW/nFsaKqSscuW665Y3gQIktxM\nJV5AMg9blBzEWyy2lbACptHL7epE/lR1eQ6JrFoIVa39Z9U+cROWQLkjEEKO\nV3Hb5MHrI/Lm27SheWY56BaC5VXGrWCofajsIVrOxaUYj/JilIem4WLluP5S\nbUgIAQuKGmaN8soZVTvLS7qGtSm0gcYI1YeNJiYnwbuNPAj8j9rQ5yI84QYl\nRxva6kCKMO+xtTHaMpu4qZ888mqINe/PbFzBw0AITSdrmUZdxx/WX6v5BHl7\nEbdMVibQ3sGThwNQVtffrAxG3AnEQl+zyS0xTnsozQxH2LL/1VQP9NsGBI7r\nSpFhum8aCoJz8ZYBA4rav+hk0j8sd6rtR2zjTfbzK6dnQbmnSfFpjVvMQucL\nQ2NwiFTId94K8fQOj7dJeC/Wt3zsXD/t4sf8thY7cTBBZKf1aIIQxp2QcC8u\nsQYoh+N5PX2JstnU5Ti8Y93Yn6Q9RXLxxkHZMzczOUk9Ina9dmzP4iylGc6L\n45SjAxxw94AJtyTcJAS6bRwwsUmEl5zP94Ve1/CR0aU+kxmHzXSbNpWTNaOD\nNfEx/NcT1mv12TCd9nDZ0JpzkaM2zNMzMtfDyM+0OD0Yg1zl++RBLt1yiWcU\n7ukm\r\n=FfL6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqaSBkJl7H/pLiVJ1g9cZbVubrG7OJvH0H7WITg/XvGQIhAKue2WSnt+kQnNPuKInpNyzJCRI55h7A+/L/8meCoLaF"}]},"maintainers":[{"name":"cawfree","email":"hello@cawfree.com"}],"_npmUser":{"name":"cawfree","email":"hello@cawfree.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/otsu_0.0.5_1580945393484_0.18464062297478678"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-05T16:48:03.614Z","0.0.1":"2020-02-05T16:48:03.790Z","modified":"2022-05-12T09:21:50.965Z","0.0.2":"2020-02-05T17:53:02.457Z","0.0.3":"2020-02-05T18:27:18.701Z","0.0.4":"2020-02-05T21:25:31.324Z","0.0.5":"2020-02-05T23:29:53.615Z"},"maintainers":[{"name":"cawfree","email":"hello@cawfree.com"}],"description":"✂️ Otsu's Method for automated thresholding in JavaScript.","keywords":["image","processing","segmentation","threshold"],"repository":{"type":"git","url":"https://github.com/cawfree/otsu"},"author":{"name":"Alex Thomas","email":"hello@cawfree.com","url":"@cawfree"},"license":"MIT","readme":"# otsu\n[Otsu's Method](https://en.wikipedia.org/wiki/Thresholding_(image_processing)) is way of implementing automatic thresholding. It is a binarization algorithm which can be used to select the optimal threshold between foreground and background quantities based on finding the minimum point of [cross variance](). This is particularly useful when performing segmentation in [image processing]().\n\n<a href=\"#badge\">\n    <img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\">\n</a>\n\n<br />\n<br />\n\n<p align=\"center\">\n  <img src=\"./public/image.jpg\" width=\"512\" height=\"384\" />\n</p>\n\nYou can find an awesome description of the algorithm, which inspired this repository, [here](http://www.labbookpages.co.uk/software/imgProc/otsuThreshold.html).\n\n## 🚀 Getting Started\n\nUsing [`npm`]():\n\n```bash\nnpm install --save otsu\n```\n\nUsing [`yarn`]():\n\n```bash\nyarn add otsu\n```\n## ✍️ Usage\n\nIt's really simple to find the threshold of your image. All you have to do is supply the data!\n\nIn the example below, we have a one-dimensional array of intensity data. Most greyscale image formats, such as [MNIST](http://yann.lecun.com/exdb/mnist/), can be fed directly into otsu this way. However, images that consist of multiple attributes per pixel (such as `(r,g,b)`) will first require pre-processing.\n\n```javascript\nimport otsu from 'otsu';\n\nconst intensity = [255, 0, 128, 4, 95 ...];\nconst t = otsu(intensity);\n\nconsole.log(t); // i.e. 128\n\nconst thresholded = intensity.map(e => (e > t ? 1 : 0));\n```\n\n## ✌️ License\n[MIT](https://opensource.org/licenses/MIT)\n\n\n<p align=\"center\">\n  <a href=\"https://www.buymeacoffee.com/cawfree\">\n    <img src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy @cawfree a coffee\" width=\"232\" height=\"50\" />\n  </a>\n</p>\n","readmeFilename":"README.md"}