项目配置很乱,Makefile啥的不写了,直接代码
MainActivity:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//bitmapView=new BitmapView(this);
BitmapFactory.Options option = new BitmapFactory.Options();
option.inPreferredConfig = Config.ARGB_8888;
setContentView(R.layout.main);
bmp = (BitmapFactory.decodeResource(this.getResources(),
R.drawable.bitmap1, option));
imageView=(ImageView)this.findViewById(R.id.imageView1);
imageView.setImageBitmap(bmp);
int width=bmp.getWidth();
int height=bmp.getHeight();
int[] src=new int[widt

本文介绍了如何在Android中使用OpenCV库调用CvSmooth函数来实现高斯模糊效果,包括关键代码展示。
最低0.47元/天 解锁文章
730





