Giter Club home page Giter Club logo

opencv3-study-java's Introduction

OpenCV3-Study-JAVA

网上 JAVA 学习 OpenCV 的知识太少,自己通过学习把整理的示例,参数说明放在这里,大家一起互相学习。


开发环境及IDE

  • JDK 1.8
  • OpenCV 3.4
  • MacOS Sierra 10.12.4
  • IDEA 2017

主要参考:

OpenCV 安装

  • MacOS 安装 OpenCV JAVA 版
  • MacOS 安装 OpenCV Python3 版(暂无)
  • Window 安装 OpenCV JAVA 版(暂无)
  • Window 安装 OpenCV Python3 版(暂无)

一、章节目录

+--------------------------------------------------------------------------+
所有示例均放在 src/test/java/opencv/study 目录下
+--------------------------------------------------------------------------+

  1. StudySection_1 ----------- 认识 Mat 对象,创建图像矩阵

    • 创建 Mat 对象,Mat 对象的参数介绍
    • 通过Matlab 创建 Mat 对象
    • 创建彩色图像
    • 创建透明图像
    • 期望值来创建随机的初始化矩阵图像
  2. StudySection_2 ----------- 图像的读取、图像 ROI 区域的使用

    • 图像的读取
    • 对 ROI 区域描边
    • 截取 ROI 区域
    • 用图片在原始图片上划定 ROI 区域,并替换
  3. StudySection_3 ----------- 矩形、颜色空间转化

  4. StudySection_4 ----------- 绘图像(直线、矩形、圆形、椭圆等)

    • 画椭圆
    • 画实心圆
    • 画线
    • 画矩形
    • 结合例子
  5. StudySection_5 ----------- 图像空间压缩

  6. StudySection_6 ----------- 图像线性混合、通道拆分合并、离散傅里叶变换

  7. StudySection_7 ----------- 图像滤波

    • 3种线性滤波
      • BoxBlur -- 方框滤波
      • Blur -- 均值滤波
      • GaussianBlur -- 高斯滤波
    • 2种非线性滤波
      • medianBlur -- 中值滤波
      • BilateralFilter -- 双边滤波
  8. StudySection_8 ----------- 图像腐蚀(erode)、膨胀(dilate)、查找条形码案例。

  9. StudySection_9 ----------- 形态学滤波(开、闭运算、顶帽等)、识别图中二维码案例

    • 对本章节内容学习深入不够,图像的专业知识0-较多,后续随着业务的深入再回头来深入理解
  10. StudySection_10 ----------- floodFill(漫水填充)、图片的放大缩小 pyrUp、pyrDown、Resize

  11. StudySection_11 ----------- threshold 固定阈值操作、adaptiveThreshold 自适应阈值操作

  12. StudySection_12 ----------- Canny 算法、Sobel 算法、Laplacian 算法、Scharr 滤波器

    • Sobel 、Laplacian 、Scharr 后续研究,看了教程与官网内容,属于边缘使用场景

+--------------------------------------------------------------------------+
                 
+--------------------------------------------------------------------------+

二、案例实践

1. 表格边缘检测

2. 表格数据结构化

3. 其他

第二部分之前已经实现了一点,但是效果并不好,原理是不晓得 OpenCV 函数的定义。 还是静下心来先从基础开始把OpenCV 基础的内容学习了,再来做整合,后续会更新代码。

opencv3-study-java's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.