登录
首页 » Android » 图像识别

图像识别

于 2022-01-25 发布 文件大小:7.73 MB
0 60
下载积分: 2 下载次数: 1

代码说明:

public static Bitmap doPretreatment(Bitmap img) { setImgInfo(img); Bitmap grayImg = getGrayImg(); int[] p = new int[2]; int maxGrayValue = 0, minGrayValue = 255; // 计算最大及最小灰度值 getMinMaxGrayValue(p); minGrayValue = p[0]; maxGrayValue = p[1]; // 计算迭代法阈值 int T1 = getIterationHresholdValue(minGrayValue, maxGrayValue); // // 计算大津法阈值 // int T2 = getOtsuHresholdValue(minGrayValue, maxGrayValue); // // 计算最大熵法阈值 // int T3 = getMaxEntropytHresholdValue(minGrayValue, maxGrayValue); // int[] T = { T1, T2, T3 }; // // Bitmap result = selectBinarization(T); Bitmap result = binarization(T1); return result; }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 模仿的微图形用户界面和简单的函数
    微信在中国提供即时消息服务的一个流行的应用。代码模拟微信这可能有利于新的Android开发商漂亮的GUI。主要功能包括:(1)登录,(2)欢迎动画,和(3)简单的聊天演示。
    2022-03-11 03:59:10下载
    积分:1
  • 在安卓中使用亚马逊 SimpleDB
    翻译  maninwest@Codeforge 作者:Rahis Shaikh@CodeProject亚马逊网页服务 (AWS)  提供构建连接的移动应用的服务。 AWS 提供的 SimpleDBis 是在云中存储数据的web服务。这里介绍 Android app 和 AWS simpleDB的连接。有关 SimpleDB 详情,请访问以下链接:link- http://aws.amazon.com/simpledb/.背景SimpleDB 理念SimpleDB 是高可用的数据存储。SimpleDB 是使用简单web 服务 API 的非关系型数据存储,让开发流程更加简单。SimpleDB 提供简单的web 服务调用,对AmazonSimpleDB 中存储的数据进行存储和检索。由于是非关系型数据系统,SimpleDB 使用不同于常规数据库系统的术语。 使用代码现在,让我们了解一下如何使用 SimpleDB数据库。我们将创建一个简单项目来在 SimpleDBand  中存储电影信息并从进行检索。在项目中,我们将为电影Movie数据库创建一个应用程序。通过这个应用程序,用户可以在 SimpleDB 中存储信息并检索。为了满足上述要求,我们将设计如下的一个SimpleDB域 ‘movie_info’ :
    2022-03-12 03:22:58下载
    积分:1
  • 安卓数独小游戏
    一款简单的安卓数独小游戏,适合刚刚开始学安卓的人学习,见面简单,程序清晰,简单易懂
    2022-03-30 19:41:00下载
    积分:1
  • 日记Android
    日记本程序 功能全!天呢! 我就是想要点积分 下个源码
    2022-05-30 16:38:07下载
    积分:1
  • 贪吃蛇样例
    用keil编写的华邦W77E58贪吃蛇游戏,包括整个工程文件-Prepared using keil Winbond W77E58 Snake game, including the entire project file
    2022-08-13 09:19:22下载
    积分:1
  • AhHuiUniversity
    随着经济与科技的快速发展,智能手机一步步进入普通人得生活,它将成为人们获取信息的主要设备,因此基于Android手机的手机地图服务需求越开越迫切,为外出旅游的人们提供了极大地便利。Android是Google开发的基于Linux平台的开源手机操作系统。它包括操作系统、中间件、用户界面和应用程序,是为移动终端打造的真正开放和完整的移动软件。本文对目前应用的Symbian、WindowsMoblie、Mac OS X和Android平台的现状进行了分析与比较,主要阐述以面向对象程序开发语言JAVA,以eclipse为开发工具,基于智能手机Android之上设计一个导览系统。本文主要介绍安徽大学,界面友好 、操作便捷,具有良好的可扩展性和可维护性,系统经过测试,可以稳定运行,能够满足手机用户基本的地图服务需求。(With the rapid development of economy and technology,Smartphone enters into the lives of ordinary people step by step,it will become the main device to obtain information,Therefore,based on the Android mobile phone mobile map service needs become more and more urgent for people who travel offers great convenience.Android is the Google development opens the source handset operating system based on Linux platform. It includes the operating system,the Middleware,he user interface and the application procedure. It is for the mobile terminal to create a truly open and complete mobile software. In this thesis,there is a analysis and comparion about the status of the current applide platforms like Symbiam ,WindowsMoblie,Mac OS X and Android ,this thesis Mainly expounds the development of object-oriented programming language java, eclipse as a development tool, to design a navigation system-based smartphone on Android. This paper mainly introduces the anhui university,user-friendly,easy to)
    2013-10-30 13:56:55下载
    积分:1
  • jamendo
    android 系统下的MP3播放器 在线播放器(MP3 player under the android system online player)
    2012-06-07 01:23:00下载
    积分:1
  • FlowLayout
    说明:  流失标签,用于搜索推荐,可定义点击状态,用于搜索推荐,可定义点击状态(Lost tags, used for search recommendation, can define click status, used for search recommendation, can define click status)
    2020-06-21 22:20:02下载
    积分:1
  • Android仿淘宝自动填写短信验证码
    android仿淘宝自动获取短信验证码,当我们第一次监听到短信变化时,短信还没有写入到数据库,所以在此不应该做任何的操作,直接return,创建一个收件箱的uri,因为我们读取到的信息,最终是在收件箱中读取到的,当然我们还可以对这个程序做些修改,比如我只想接收10086发来的短信验证或者我只想接收“点融网”发来的短信,这个正则表达式的含义为:提取短信中连续6个数字的内容(这是因为验证 码一般为6位,当然这个是可以根据项目变化的),如果这条正则表达式能够成功匹配,就提取短信验证码,在日志中打印:提取到的验证码,用Handler发送消息:在非UI线程更新UI。
    2023-04-27 04:20:03下载
    积分:1
  • Android_hotfix
    说明:  阿里巴巴出品的,安卓移动端,热修复技术文档(Alibaba published , Android Mobile, Hot Repair Technical Documents)
    2020-06-22 22:20:01下载
    积分:1
  • 696524资源总数
  • 103945会员总数
  • 46今日下载