[mlpack-git] [mlpack/mlpack] Added the discretize function. Design changes as discussed. (#703)
Marcus Edel
notifications at github.com
Sun Aug 14 11:53:04 EDT 2016
> +
> + CubeType channels(rsize, csize, numChannels);
> +
> + size_t slice_idx;
> + for( slice_idx = 0; slice_idx < luv.n_slices; ++slice_idx)
> + this->BilinearInterpolation(luv.slice(slice_idx), rsize, csize,
> + channels.slice(slice_idx));
> + double scale = 1.0;
> +
> + while(scale >= 0.5)
> + {
> + 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/703/files/72eb1ef22c7db1ea33af3de1cd043cdb277ec562#r74704175
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160814/73cdcfc7/attachment.html>
More information about the mlpack-git
mailing list