Giter Site home page Giter Site logo

imageprocessing's Introduction

ImageProcessing

图像处理自编软件 by 笔尖

C++ OpenCV QT 实现细节见:https://blog.csdn.net/u013165921/column/info/18269

界面


工具栏、菜单栏

  文件工具栏中是常见的新建(new)、打开(open)、保存(save)、撤销(undo)、重做(redo),实现方法将会在后续教程中给出。

  绘图工具栏可以设置画笔的线宽及颜色,其中设置画笔颜色用的是QT自带的QColorDialog。

  当载入的图像过大时,图像窗口虽然会出现滚动条,但是不方便查看,所以设置了“铺满窗口”和“自适应窗口”两个按钮,会根据窗口大小自动调节图像的显示效果。

  一键换肤是切换QSS,默认的白色样式是setStyleSheet(0)即不加QSS,而黑色皮肤是采用Github中JetBrains Dracula设计的QSS样式表,自己有稍作修改。

  文件菜单是新建、打开、保存、另存为、关闭,有相应的快捷按键。

  编辑菜单有撤销、重做、全屏显示和退出全屏。全屏显示是指没有标题栏即“图像处理自编软件 by 笔尖”那一栏,当切换为黑色皮肤时全屏显示更协调。

  视图菜单监控各个窗口的状态——显示或隐藏。通过点击菜单可以切换窗口状态, 免得关闭窗口后不知从何找起。至于图像窗口,由于该软件只能处理单张图像,不支持同时对多张图像进行处理,所以图像窗口一直保持显示状态,如果隐藏那还怎么实时查看处理结果...

  帮助窗口的话,就是软件的基本信息以及基本设置。


功能窗口


其他窗口

  工具箱里是简单的图形绘制工具,有钢笔、线条、圆形、椭圆、三角形、菱形、矩形、正方形、六边形。点击即可绘制,支持切换,再次点击同个按钮可以退出绘制模式。

  输出窗口显示的是图像的操作记录,便于了解之前有哪些操作以及目前处于什么状态。

  属性窗口是对输入图像的路径、长度、宽度、深度、是否灰度进行检测辨别,直观显示图像的基本信息。

imageprocessing's People

Contributors

huangbingjian avatar

Watchers

tang avatar  avatar

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.