[mlpack-git] [mlpack/mlpack] Added the discretize function. Design changes as discussed. (#703)

Marcus Edel notifications at github.com
Sun Aug 14 12:00:06 EDT 2016


> +  void DistanceTransform1D(const arma::vec& f, const size_t n,
> +                           const double inf, arma::vec& d);
> +  
> +  /**
> +   * Computes distance transform of a 2D array
> +   * @param Im input array whose distance transform is to be found.
> +   * @param inf a large double value.
> +   */
> +  void DistanceTransform2D(MatType &Im, const double inf);
> +
> +  /**
> +   * euclidean distance transform of binary Image using squared distance
> +   * This is the discription of the paper which discribes the approach 
> +   * for this algorithm : Distance Transforms of Sampled Functions,
> +   * P. Felzenszwalb, D. Huttenlocher
> +   * Theory of Computing, Vol. 8, No. 19, September 2012

Can you use the doxygen style to cite the paper. Here is an example: https://github.com/mlpack/mlpack/blob/master/src/mlpack/methods/ann/layer/dropout_layer.hpp

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/703/files/72eb1ef22c7db1ea33af3de1cd043cdb277ec562#r74704289
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160814/716eba65/attachment.html>


More information about the mlpack-git mailing list