[mlpack-git] [mlpack/mlpack] backported ind2sub and sub2ind. (#683)

stereomatchingkiss notifications at github.com
Thu Jun 9 12:32:28 EDT 2016


> +      double const y2_cross_x = y_diff_2 * x_diff;
> +      double const y_cross_x2 = y_diff * x_diff_2;
> +      double const y_cross_x = y_diff * x_diff;
> +      dst(row, col) = y2_cross_x2 * src(y, x) +
> +              y2_cross_x * src(y, x + 1) +
> +              y_cross_x2 * src(y + 1, x) +
> +              y_cross_x * src(y + 1, x + 1);
> +    }
> +  }
> +
> +  return dst;
> +}
> +
> +template<typename MatType, typename CubeType>
> +CubeType StructuredForests<MatType, CubeType>::
> +sepFilter2D(CubeType& InImage, arma::vec& kernel, int radius)

`sepFilter2D(CubeType& InImage, const arma::vec &kernel, const int radius)`

---
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/683/files/9d85b64c6c6bdff608331195351d09abf56cfc96#r66475381
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160609/aa81fd39/attachment.html>


More information about the mlpack-git mailing list