Skip to content

additive homomorphic encryption demo to compute an edge of an image

Notifications You must be signed in to change notification settings

herumi/ahe-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

加法準同型暗号デモ

暗号化したまま画像のエッジ検出を行う

動作環境

  • x64 Windows + Visual Studio
  • OpenCV 3.1.0

ビルド

  • OpenCVをインストールする

  • ファイルを取得する

md work
git clone git@github.com:herumi/mcl
git clone git@github.com:herumi/ade_demo

mk.batOPENCV_INCOPENCV_LIBを自分がインストールしたディレクトリに変更する。 ade_demoディレクトリにopencv_world454.dllをコピーする。

cd ahe-demo
mk.bat

でserver.exeとmain.exeができる。

動作方法

まずserver.exeを実行する。次にmain.exeを実行する。

main.exeのキー操作

  • q : 終了
  • t : 通常のエッジ出力(トグルで元に戻る)
  • e : その瞬間の画像を暗号化してserverに送る。serverは暗号化された画像からエッジを取得してmainに戻す。mainは復号してエッジを表示して停止する。
  • c : 動きを再開する。

License

modified new BSD License http://opensource.org/licenses/BSD-3-Clause

Author

MITSUNARI Shigeo(herumi@nifty.com)

About

additive homomorphic encryption demo to compute an edge of an image

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published