Info

This question is closed. Reopen it to edit or answer.

たくさんの写真で,同​じ写真を自動的に省く​コードってありますか​?

8 views (last 30 days)
koji Akano
koji Akano on 7 Jan 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
たくさんの写真で,同じ写真を自動的に省くコードってありますか? 例えば,明らかに無駄な画像の組み合わせを整理したいですが 画像の対応付けをいかに効率よくサボるかの方法論を提案していただきたいです
  3 Comments
koji Akano
koji Akano on 8 Jan 2017
Mister Walter Roberson
YES,i am looking for the code that automatically eliminates the same picture with many pictures. Except the methodology on how to effectively map the correspondence of images. Do you have another ideas? please tell me if you have any recommend links of matlab codes
Walter Roberson
Walter Roberson on 8 Jan 2017
If you were to consider the images as being frames from a video, then if the change frames was small you could say it was the same picture for your purpose. There are a number of algorithms for calculating changes between frames, such as h.264

Answers (1)

Takuji Fukumoto
Takuji Fukumoto on 8 Jan 2017
同じ写真(=輝度データが同じ)を見つける方法として、Image Processing Toolboxの関数で画像の差分を取り、0もしくはある値より小さければ一致とすることができるでしょう。
Z = imsubtract(X,Y)
部分一致のようなものも想定している場合は、Computer Vision System Toolboxのテンプレートマッチのオブジェクト等を利用できます。 https://jp.mathworks.com/help/vision/ref/vision.templatematcher-class.html
一致するものが見つかれば copyfileやmovefileで移動すればよいです。
どういう条件で画像が集められているかわかりませんが、 画像の量が多い場合組み合わせも大きくなるので、処理量を減らす工夫があったほうがいいかもしれません。
  2 Comments
koji Akano
koji Akano on 8 Jan 2017
Takuji Fukumoto様 上記の写真は私の考えたアルゴリズムなのです.
沢山な写真を撮って,その中に明らかに無駄な画像の組み合わせを整理できれば良いと考えてますが. matlabで同じ写真もしくはぼやけている写真を自動的に省くコードをつくりたいのです・またどんな条件をつければもっと簡単になるのか,教えていただきたいです.
Takuji Fukumoto
Takuji Fukumoto on 9 Jan 2017
今ある情報からはコメントが難しいですね。
記載があるとおり、アルゴリズムがあるのであれば、入力データと試したスクリプト、○○の結果にしたいがxxになってしまう、を紹介されると回答者とシンプルにやりとりができ、いろんな人が助けてくれると思いますよ。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!