Giter Club home page Giter Club logo

mangekyou's Introduction

mangekyou

license npmjs version

codeclimate analysis travis-ci david-dm

🌠简易图像处理程序。

功能

  • 采样:自定义距离重采样
  • 量化:RGB 通道 1~256 级量化
  • 灰度化(HSL,HSY,平均值,最大值,最小值)
  • 位平面:RGB 通道分别 8 级量化后的位平面
  • 直方图和统计信息:R/G/B/Rec. 709 4 个通道的直方图及详细信息
  • 直方图均衡化:HSL、HSV、HSY 三种空间亮度通道均衡
  • 二值图:HSL、HSV、HSY 三种空间亮度通道为阈值的二值图。

使用

桌面程序

# 从 npm 安装
npm i -g mangekyou

# 运行
mangekyou

现代浏览器

访问:http://frantic1048.github.io/mangekyou

目录结构

./
├── .babelrc          // 编译配置
├── .codeclimate.yml  // Code Climate 平台配置
├── .travis.yml       // Travis CI 平台配置
├── .eslintrc         // 静态分析配置
├── .gitignore        // git 忽略文件设定
├── .npmignore        // npm 忽略文件设定
├── gulpfile.babel.js // 构建配置
├── LICENSE           // 发布协议
├── package.json      // 依赖信息
├── README.md         // 自述文档
└── src               // 源代码目录
    └── app
        ├── index.html    // 界面基底
        ├── main.js       // 主程序入口
        ├── script
        │   ├── entry.js    // 界面程序入口
        │   ├── app.jsx     // 主窗口
        │   ├── keyMap.js   // 键盘映射配置
        │   ├── component   // 界面组件目录
        │   │  └── tool    // 各种算法对应的控件目录
        │   ├── constant    // 程序常量
        │   ├── action      // Flux 架构的 Action
        │   ├── dispatcher  // Flux 架构的 Dispatcher
        │   ├── store       // Flux 架构的 Store
        │   └── worker         // 处理计算的程序目录
        │       ├── worker.js  // 计算程序入口
        │       ├── util.js    // 通用算法模块
        │       └── ....js     // 文件名对应相关算法
        └── style // 界面样式表目录

构建

环境需求:

  • Node.js,最新稳定版本
  • npm,最新稳定版本
  • git
#克隆代码到本地
git clone --depth=1 https://github.com/frantic1048/mangekyou.git
cd mangekyou

# 安装依赖
npm install

# 使用本地gulp 开始构建 
node ./node_modules/gulp/bin/gulp.js

# 运行
npm run run

mangekyou's People

Contributors

frantic1048 avatar lyken17 avatar

Watchers

James Cloos avatar  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.