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

Marcus Edel notifications at github.com
Wed Jun 15 11:49:15 EDT 2016


> +void RGB2LUVTest(arma::cube& input, arma::cube& output,
> +                  StructuredForests<arma::mat, arma::cube>& SF)
> +{
> +  arma::cube luv = SF.RGB2LUV(input);
> +  Test(luv, output);
> +}
> +
> +void ConvTriangleTest(arma::cube& input, int radius,
> +    arma::cube& output, StructuredForests<arma::mat, arma::cube>& SF)
> +{
> +  arma::cube conv_out = SF.ConvTriangle(input, radius);
> +  Test(conv_out, output);
> +}
> +
> +BOOST_AUTO_TEST_CASE(FeatureExtractionTest)
> +{

Can you split the FeatureExtractionTest test case into smaller test cases? Something like:

BOOST_AUTO_TEST_CASE(DistanceTransformTest)
BOOST_AUTO_TEST_CASE(CopyMakeBorderTest)


---
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#r67188876
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160615/1cfe8cfb/attachment.html>


More information about the mlpack-git mailing list