首先选取图像中的Roi区域,然后对Roi区域进行赋值,那么原图像相应的区域也跟着变化了: 上述代码是将Roi区域进行随机的颜色填充 再例如: 再例如: 另外生成一定范围的随机数:https://www.cnblogs.com/vathena/articles/4356646.html Read More
posted @ 2018-02-27 17:22 rainsoul Views(6020) Comments(0) Diggs(0) Edit
https://stackoverflow.com/questions/38369565/how-to-get-learning-rate-or-iteration-times-when-define-new-layer-in-caffe 参考上述网址上的方法,需要修改 common.hpp sol Read More
posted @ 2018-02-27 16:27 rainsoul Views(5960) Comments(0) Diggs(0) Edit