Giter VIP home page Giter VIP logo

imagecompare's Introduction

YUUKIToriyama/imageCompare

必ずしも一致しない二枚の画像を読み込み、一方をもう一方に合わせることで二枚を重ねたり並べたりして比較できるようにするツールです。

How to setup

# clone this repository
git clone https://github.com/YUUKIToriyama/imageCompare.git
# do npm settings
npm install
# type these commands on bash, and go to localhost:8080 on your browser
npm run start

How to use

  1. 画像を読みこむ
  2. マーカーを動かし手作業で特徴点を結びつける
  3. 処理実行ボタンを押す

技術的背景

OpenCV.js

  • 対応点から二つの画像の間のホモグラフィを計算するのにfindHomography関数を用いている。

Leaflet.js

  • L.ImageOverlayを用いてインタラクティブな画像表示を可能にしている。
  • ユーザに対応点を指定してもらうのに、L.markerを用いている。
  • その他プラグインを用いてレイヤー透過や二画面連動操作などの機能を実現した。

React.js & Material-UI

  • インターフェースのデザインは全て Material-UI を用いた。

How to Build

ビルド方法について

このアプリはReactを用いて構成されています。 使用するにはWebPackを用いてビルドを行なう必要があります。 リポジトリをクローンしたら、npm buildコマンドを実行してビルドを行なって下さい。 ビルドが無事完了すると、build/フォルダにコード一式が生成されているので、これをサーバにアップロードして下さい。

すぐ使いたい方へ

このリポジトリのgh-pagesブランチにはビルド済みのファイルが保存されています。 なので、git checkout gh-pagesを実行すればビルド済みのファイルを利用できます。

imagecompare's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar yuukitoriyama avatar

Stargazers

 avatar

Watchers

 avatar  avatar

imagecompare's Issues

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.