[mlpack-git] [mlpack/mlpack] edge_boxes: feature extraction updated, tests added (#696)
Marcus Edel
notifications at github.com
Wed Jun 15 12:18:44 EDT 2016
> + size_t slice_idx = 0;
> +
> + for( slice_idx = 0; slice_idx < luv.n_slices; ++slice_idx)
> + channels.slice(slice_idx)
> + = this->bilinearInterpolation(luv.slice(slice_idx), (size_t)rsize, (size_t)csize);
> +
> + double scale = 0.5;
> +
> + while(scale <= 1.0)
> + {
> + CubeType img( (luv.n_rows * scale),
> + (luv.n_cols * scale),
> + luv.n_slices );
> +
> + for( slice_idx = 0; slice_idx < luv.n_slices; ++slice_idx)
> + {
This overwrites the ``slice_idx``parameter, we use below.
---
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#r67194856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160615/81b68bd3/attachment-0001.html>
More information about the mlpack-git
mailing list