image-js / image-js-typescript

Temporary repository to work on the migration of image-js to TypeScript
https://image-js.github.io/image-js-typescript/
MIT License
5 stars 5 forks source link

add and improve computeMinima/computeMaxima functions #359

Closed EscapedGibbon closed 1 year ago

EscapedGibbon commented 1 year ago

The idea is to add a function that calculates the minima and maxima points, so that later a watershed filter could be integrated. Is it okay to add this function in the compute folder?

https://github.com/image-js/image-js/blob/d0b4e00f37ea01510cb9b4422c95d5285f3c8bab/src/image/compute/localMaxima.js#L14C1-L26