ssimで同時に複数枚の計算は可能でしょうか?
Mostrar comentarios más antiguos
Reference画像に対して複数枚の画像(比較画像)とssimを行い結果を算出したいと考えています。
比較を行う画像を一枚づつ取り込んで、結果を算出して行く方法しかないでしょうか?
比較画像を全て取り込み、結果を算出する方法はあるのでしょうか?
7 comentarios
Kenta
el 15 de Sept. de 2020
こんにちは、「比較画像を全て取り込み、結果を算出」とは具体的にどういうことでしょうか?
1)参照画像と、3枚の画像を比較し、SSIMの計算方法自体を複数枚用に何らかの方法でアレンジすること
2)for文などで読むのは時間がかかるため、その短縮法を考えたい
など、いろいろと意味が取れるのですが、詳しく説明いただけると幸いです。
弘達 土亀
el 16 de Sept. de 2020
Naoya
el 16 de Sept. de 2020
imageDatastore を使って一括して求めるという方法もあります。
以下はそのフロー一例となります。
% 参照画像読み込み
>> I = imread('cameraman.tif');
% imgs フォルダには 複数枚の画像が入っていると仮定します
% イメージデータストアの作成
>> imds = imageDatastore('imgs');
% ReadFcn で ssim() 関数を実行 (ファイルを読み込む時点でReadFcnが実行される)
>> imds.ReadFcn = @(filename) ssim(I, imread(filename))
% imgsフォルダ内の画像群に対して ssim() を実行
>> readall(imds)
弘達 土亀
el 22 de Sept. de 2020
弘達 土亀
el 30 de Sept. de 2020
弘達 土亀
el 30 de Sept. de 2020
Respuestas (1)
弘達 土亀
el 4 de Nov. de 2020
0 votos
Categorías
Más información sobre イメージの画質 en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!