niiyan/2005-06-25 のバックアップソース(No.1)

***[[DePan v.1.5.0:http://bag.hotmail.ru/]] [#h9e5bd8b]

-変更点(上記のリンク先のページから引用)
> 23.06.2005 - new v.1.5.0 DePan - English documentation updated only (MVDepan was missed)

***[[ColourLike:http://forum.doom9.org/showthread.php?t=96308]](カラーチャンネルの調整によりクリップを'参照'クリップのように見せるプラグイン) [#e2444776]

-概要
> Makes a clip look like a 'reference' clip by adjusting each colour channel.(各カラーチャンネルを調整することによって、クリップを'参照'クリップのように見せる。)

-''WriteHistogram''
--書式
 WriteHistogram(clip, string outputFile, int every)

--説明
> computes histograms for each channel of the YV12 clip and stores the results in outputFile. If e.g. every=3 is specified, only every 3rd frame of clip is sampled.(YV12クリップの各チャンネルのためにヒストグラムを計算し、結果をoutputFileに記憶させる。例えばevery=3が指定されるなら、クリップの3フレームおきのみがサンプリングされる。)

-''ColourLike''
--書式
 ColourLike(clip source, string sourceHistogramFile, string referenceHistogramFile)

--説明
> takes a YV12 clip source and histogram files for this clip and a reference clip, and applies curves to each channel, chosen to make source look as much like the reference as possible.(YV12のソースクリップと、このクリップと参照クリップのためのヒストグラムファイルをとり、ソースをできるだけリファレンスのように見せるために選ばれたカーブを各チャンネルに適用する。)

-使用例(bhs(ソース)とdvd(参照)の2つのクリップを使用して、vhsをdvdのように見せる)
+dvdとvhsのそれぞれについて、WriteHistogramでヒストグラムファイルを作成する。
 dvd.WriteHistogram("dvd hist 100.txt", 100)
 vhs.WriteHistogram("vhs hist 100.txt", 100)
+ColourLikeをvhsに適用し、vhsをdvdのように見せる。
 vhs.colourlike("vhs hist.txt", "dvd hist.txt")

-上記の説明は、[[Doom9's Forum - Filter: ColourLike:http://forum.doom9.org/showthread.php?p=677202#post677202]]の一部を簡単にまとめたものです。とくに明記していない場合でも(たとえば使用例なども)、同スレッドからの引用を含みます。