[mlpack-git] [mlpack/mlpack] Added the discretize function. Design changes as discussed. (#703)

Marcus Edel notifications at github.com
Sun Aug 14 12:08:22 EDT 2016


> +  const size_t numChannels = 13;  
> +  const size_t shrink = this->params.Shrink();
> +  const size_t rsize = OutImage.n_rows / shrink;
> +  const size_t csize = OutImage.n_cols / shrink;
> +
> +  CubeType reg_ch = CubeType(rsize, csize, numChannels);
> +  CubeType ss_ch = CubeType(rsize, csize, numChannels);
> +
> +  this->GetShrunkChannels(InImage, reg_ch, ss_ch, table);
> +
> +  loc /= shrink;
> +  this->GetRegFtr(reg_ch, loc, RegFtr);
> +  this->GetSSFtr(ss_ch, loc, SSFtr);
> +}
> +
> +/**

I hink we can remove the comment here.

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


More information about the mlpack-git mailing list