[mlpack-git] [mlpack/mlpack] edge_boxes: feature extraction updated, tests added (#696)

Marcus Edel notifications at github.com
Wed Jun 15 10:13:57 EDT 2016


> +      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 &InOutImage, arma::vec &kernel, size_t radius)
> +{

Do you think it's reasonable to use the NaiveConvolution function from the mlpack code?

``NaiveConvolution::Convolution(input, kernel, output)``

---
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/696/files/b38b688edfc4c2ee8bf461240f8384a70575d3a4#r67169108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160615/f6f2ca54/attachment-0001.html>


More information about the mlpack-git mailing list