对于Button和ImageButton 还有一些View 设置半透明或者透明都是通过android:background="#b0000000" 这是就是半透明android:background="#00000000" 就是全透明android:background="#FFFFFFFF" 就是...
分类:
移动开发 时间:
2014-11-27 20:05:59
阅读次数:
212
1.??java.lang.IllegalArgumentException: Crop rectangle does not fit within image data. zxing默认是横屏,改竖屏后需改动其他几个地方: 1. DecodeHandler.decode中 添加旋转数据的方法,并传入?buildLumina...
分类:
其他好文 时间:
2014-11-27 19:00:10
阅读次数:
236
>__ 2 #include 3 #include 4 5 using namespace cv; 6 using namespace std; 7 8 int main(){ 9 cv::Mat image = cv::imread("fruits.jpg");10 cv:...
分类:
其他好文 时间:
2014-11-27 17:57:57
阅读次数:
291
1、声明一个表示图像的变量,在OpenCV2中,这个变量是CV::Mat类型 cv::Mat image; //这句话将创建一个宽高都为0的图像;通过调用cv::Mat 的size()方法可以获取该图像的尺寸,该方法的返回值是一个结构体,包含着宽度和高度;std::cout<<"size:"<...
分类:
其他好文 时间:
2014-11-27 15:47:43
阅读次数:
230
这篇教程其实是上一篇的总结 ,利用 features2d 和 calib3d 模块来发掘场景中的物体 ~~ 1, Create a new console project. Read two input images. Mat img1 = imread(argv[1], CV_LOAD_IMAGE...
分类:
其他好文 时间:
2014-11-27 10:33:36
阅读次数:
215
项目用到编译环境,与源码有些差异不能照搬,关键是连源码都没编译过,下面基本上是行网上照的各种自学成才的分享,病急乱投医了,都记在下面作为参照吧。1.验证是否编译正确,在终端执行emulator &(注:可进入${ANDROID_PRODUCT_OUT}目录,后执行emulator -image sy...
分类:
移动开发 时间:
2014-11-27 00:07:01
阅读次数:
247
FeatureDetector::detect Detects keypoints in an image (first variant) or image set (second variant). FeatureDetector::create The following detector ty...
分类:
其他好文 时间:
2014-11-26 22:16:39
阅读次数:
190
亚像素精度(更加精确) ~~ void cornerSubPix(InputArray image, InputOutputArray corners, Size winSize, Size zeroZone, TermCriteriacriteria) Parameters: image – In...
分类:
其他好文 时间:
2014-11-26 18:34:59
阅读次数:
291
数据库为mssql zp字段为image类型java代码 OutputStream out = null; try { String contenttype = "image/jpeg"; ActionConte...
分类:
其他好文 时间:
2014-11-26 18:03:14
阅读次数:
406