ResamplingAlgorithmData[rs,"prop"]
リサンプリング rs についての指定された特性"prop"を与える.
ResamplingAlgorithmData
ResamplingAlgorithmData[rs,"prop"]
リサンプリング rs についての指定された特性"prop"を与える.
詳細
- ResamplingAlgorithmDataは,カーネルの形状,サポートされるカーネル,規則性等のリサンプリング法の特性を返す.
- 画像あるいはデータ配列に適用された場合,空間変換にはさまざまなリサンプリング法を使うことができる.サポートされているリサンプリング法のリストについては,Resamplingの関数ページを参照のこと.
- ResamplingAlgorithmData[]は,サポートされているリサンプリング法を,デフォルトのパラメータ設定とともに返す.
- ResamplingAlgorithmData[rs,"Properties"]は,指定されたリサンプリング rs について適用可能な全特性のリストを返す.特性が適用されない場合は,Missing["reason"]が返される.
- 適用可能な場合は,次の特性を得ることができる.
-
"Kernel" 補間カーネル "Basis" 補間の基底関数 "FourierKernel" 補間カーネルのフーリエ(Fourier)変換 "FourierBasis" 基底関数のフーリエ変換 "Regularity" 補間カーネルの規則性 "KernelSupport" カーネル半径 "BasisSupport" 基底関数の台の半径 "ErrorKernel" 誤差カーネル - リサンプリング特性の"Kernel"および"Basis"は,メソッドが"Spline"や"OMOMS"のように線形たたみ込みと再帰フィルタの組合せからなっている場合は異なる.
例題
すべて開く すべて閉じる例 (3)
Plot[ResamplingAlgorithmData["Lanczos", "Kernel"][x], {x, -4, 4}]ResamplingAlgorithmData["Lanczos", "Regularity"]ResamplingAlgorithmData["Lanczos", "KernelSupport"]ResamplingAlgorithmData["Cubic", "Properties"]特性の中には,すべてのリサンプリング法には適用できないものがある:
ResamplingAlgorithmData["Nearest", "Kernel"]スコープ (5)
次数
までの,すべてのリサンプリング法とそのデフォルトのパラメータ設定:
ResamplingAlgorithmData[]ResamplingAlgorithmData["Nearest", "Properties"]ResamplingAlgorithmData["CatmullRom", "Properties"]ker = ResamplingAlgorithmData["CatmullRom", "Kernel"]Plot[ker[x], {x, -3, 3}]Overscript[ϕ, ^ ] = ResamplingAlgorithmData["CatmullRom", "FourierKernel"]LogPlot[
Abs[Overscript[ϕ, ^ ][ω]],
{ω, 0, 6π},
Ticks -> {Range[0, 12π, π], Automatic},
PlotRange -> {10^-8, 1.05},
MaxRecursion -> 15
]ResamplingAlgorithmData["CatmullRom", "Regularity"]ResamplingAlgorithmData["CatmullRom", "KernelSupport"]error = ResamplingAlgorithmData["CatmullRom", "ErrorKernel"]Series[Sqrt[error[Δ]], {Δ, 0, 6}]ResamplingAlgorithmData[{"Schaum", 2}, "Properties"]ϕ = ResamplingAlgorithmData[{"Schaum", 2}, "Kernel"]Plot[ϕ[x], {x, -2, 2}]ResamplingAlgorithmData[{"Schaum", 2}, "Regularity"]ResamplingAlgorithmData[{"Schaum", 2}, "KernelSupport"]Overscript[ϕ, ^ ] = ResamplingAlgorithmData[{"Schaum", 2}, "FourierKernel"]Plot[
Overscript[ϕ, ^ ][ω], {ω, -2π, 4π}, Epilog -> {Dashed, Line[{{-π, 0}, {-π, 1}, {π, 1}, {π, 0}, {4π, 0}}]},
Ticks -> {Range[-2π, 4π, π], Automatic}
]LogPlot[
Abs[Overscript[ϕ, ^ ][ω]],
{ω, 0, 6π},
Ticks -> {Range[-2π, 6π, π], Automatic},
PlotRange -> {10^-8, 1.1}
]approx = ResamplingAlgorithmData[{"Schaum", 2}, "ErrorKernel"]Series[Sqrt[approx[ω]], {ω, 0, 3}]ResamplingAlgorithmData[{"Spline", 5}, "Properties"]Overscript[ϕ, ~] = ResamplingAlgorithmData[{"Spline", 3}, "Basis"]Plot[Overscript[ϕ, ~][x], {x, -5, 5}, PlotRange -> All]ϕ = ResamplingAlgorithmData[{"Spline", 3}, "Kernel"]Plot[ϕ[x], {x, -5, 5}, PlotRange -> All]ResamplingAlgorithmData[{"Spline", 3}, "Regularity"]ResamplingAlgorithmData[{"Spline", 3}, "BasisSupport"]Overscript[ϕ, ^ ] = ResamplingAlgorithmData[{"Spline", 3}, "FourierKernel"]Plot[
Overscript[ϕ, ^ ][ω], {ω, -2π, 4π}, Epilog -> {Dashed, Line[{{-π, 0}, {-π, 1}, {π, 1}, {π, 0}, {4π, 0}}]},
Ticks -> {Range[-2π, 4π, π], Automatic}
]LogPlot[
Abs[Overscript[ϕ, ^ ][ω]],
{ω, 0, 6π},
Ticks -> {Range[0, 12π, π], Automatic},
PlotRange -> {10^-8, 1.1}
]approx = ResamplingAlgorithmData[{"Spline", 3}, "ErrorKernel"]Series[Sqrt[approx[ω]], {ω, 0, 5}]特性と関係 (4)
ker = ResamplingAlgorithmData[{"Hermite", 2}, "Kernel"]Plot[ker[x], {x, -3, 3}, PlotRange -> All]ϕ = ResamplingAlgorithmData[{"Schaum", 2}, "Kernel"]Plot[ϕ[x], {x, -2, 2}]リサンプリング法の中には等しいものがある.例えば,"CatmullRom"と{"Meijering",3}がそうである:
ResamplingAlgorithmData[{"Meijering", 3}, "Kernel"] === ResamplingAlgorithmData["CatmullRom", "Kernel"]マルコフ(Markov)のパワースペクトル
による,信号の信号とノイズの割合:
Module[
{resamplingMethods, snr, order},
resamplingMethods = ResamplingAlgorithmData[];
snr = Map[{10Log[10, 0.9786575 / ((1/π)NIntegrate[
Evaluate[(-2 Log[0.9]/ω^2 + (Log[0.9])^2) *
ResamplingAlgorithmData[#, "ErrorKernel"][ω]], {ω, 0, π},
WorkingPrecision -> $MachinePrecision])]}&,
resamplingMethods
];
order = Ordering[snr];
TableForm[
snr[[order]],
TableHeadings -> {resamplingMethods[[order]], {"SNR [dB]"}}
]
]テキスト
Wolfram Research (2015), ResamplingAlgorithmData, Wolfram言語関数, https://reference.wolfram.com/language/ref/ResamplingAlgorithmData.html.
CMS
Wolfram Language. 2015. "ResamplingAlgorithmData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ResamplingAlgorithmData.html.
APA
Wolfram Language. (2015). ResamplingAlgorithmData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ResamplingAlgorithmData.html
BibTeX
@misc{reference.wolfram_2026_resamplingalgorithmdata, author="Wolfram Research", title="{ResamplingAlgorithmData}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/ResamplingAlgorithmData.html}", note=[Accessed: 30-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_resamplingalgorithmdata, organization={Wolfram Research}, title={ResamplingAlgorithmData}, year={2015}, url={https://reference.wolfram.com/language/ref/ResamplingAlgorithmData.html}, note=[Accessed: 30-November-2026]}