原本打算在window下在quick里面嵌入protobuf,发现错误很多。研究一天都没搞好。只能休息下搞下erlang服务端,先将服务端搞好再回头嵌入protobuf到quick。
在window下不能用rebar,只能自己管理。erlang 是自己弱项。做个简单的服务端基于OTP框架,是一个标准的实现,以后再慢慢扩张吧。
(1).建立好目录doc,ebin,include,priv,src...
分类:
其他好文 时间:
2015-01-03 13:13:20
阅读次数:
321
一、如何在一个应用程序当中定义多个Activity?1、定义一个类,继承Activity在src/multiActivity中新建class:secondActivity.java,extends Activity2、复写Activity中的onCreate方法,添加布局文件点击Source→Ove...
分类:
其他好文 时间:
2015-01-02 21:03:36
阅读次数:
160
1、数据库创建参考接上文cassandra入门http://www.cnblogs.com/piaolingzxh/p/4197833.html2、下载jdbc驱动源码,构建jar包源码下载地址:https://bitbucket.org/openscg/cassandra2-jdbc/src,当然...
分类:
数据库 时间:
2015-01-02 12:07:22
阅读次数:
320
GTK_CALLBACK void on_toolbutton_about_clicked(GtkWidget *btn, gpointer user_data){ GtkWidget *about_dialog; GdkPixbuf *logo; GError *error=NU...
分类:
其他好文 时间:
2015-01-02 10:59:02
阅读次数:
233
/* hello.c */#include #include static int hello_init(void){ printk(KERN_ALERT "hello init"\n); return 0;}static void hello_exit(void){ printk...
分类:
系统相关 时间:
2015-01-02 10:58:09
阅读次数:
213
#define debug_msg_box() \{ \ GtkWidget *msg_dlg = gtk_message_dialog_new(NULL, \ GTK_DIALOG_DESTROY_WITH_PARENT, \ GT...
分类:
其他好文 时间:
2015-01-02 10:54:12
阅读次数:
110
修改了之前的滤波算法,采用了copyMakeBorder扩充边界像素,给处理边界像素带来了很大的方便
void Blur(const Mat &image_Src, Mat &image_Dst, Size size_Aperture)
{
/////////////////////////////step 1.重新分配图像(如果需要)/////////////////////////...
分类:
其他好文 时间:
2015-01-02 09:47:58
阅读次数:
176
修改了之前滤波中的中值滤波算法,采用copyMakeBorder处理边界像素
void MedianBlur(const Mat &image_Src, Mat &image_Dst, int width_Aperture)
{
/////////////////////////////重新分配图像(如果需要)//////////////////////////////////////...
分类:
其他好文 时间:
2015-01-02 09:46:26
阅读次数:
124
在OpenCV滤波算法中,有两个非常重要的基本工具函数,copyMakeBorder和borderInterpolate
copyMakeBorder
函数原型
void copyMakeBorder( const Mat& src, Mat& dst,
int top, int bottom, int left, int right,
int borderType, const...
分类:
其他好文 时间:
2015-01-02 09:46:12
阅读次数:
1885
媒介效果基础理论 书籍简介: <img src="http://ec4.images-amazon.com/images/I/51Ep4Yn%2BFCL._AA200_.jpg" border="0" /><br/>本书力图用大学生能够理解和掌握的方法,展示媒介效果研究的庞大知识体系,是该领...
分类:
其他好文 时间:
2015-01-01 21:21:13
阅读次数:
200