Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 5 (최근 30일)
koji Akano
koji Akano 2017년 1월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
たくさんの写真で,同じ写真を自動的に省くコードってありますか? 例えば,明らかに無駄な画像の組み合わせを整理したいですが 画像の対応付けをいかに効率よくサボるかの方法論を提案していただきたいです
  댓글 수: 3
koji Akano
koji Akano 2017년 1월 8일
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 2017년 1월 8일
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

답변 (1개)

Takuji Fukumoto
Takuji Fukumoto 2017년 1월 8일
同じ写真(=輝度データが同じ)を見つける方法として、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
koji Akano
koji Akano 2017년 1월 8일
Takuji Fukumoto様 上記の写真は私の考えたアルゴリズムなのです.
沢山な写真を撮って,その中に明らかに無駄な画像の組み合わせを整理できれば良いと考えてますが. matlabで同じ写真もしくはぼやけている写真を自動的に省くコードをつくりたいのです・またどんな条件をつければもっと簡単になるのか,教えていただきたいです.
Takuji Fukumoto
Takuji Fukumoto 2017년 1월 9일
今ある情報からはコメントが難しいですね。
記載があるとおり、アルゴリズムがあるのであれば、入力データと試したスクリプト、○○の結果にしたいがxxになってしまう、を紹介されると回答者とシンプルにやりとりができ、いろんな人が助けてくれると思いますよ。

Community Treasure Hunt

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

Start Hunting!

Translated by