28762670f88505748b4aa2616c8734d86f010f41
[scilab.git] / scilab / modules / signal_processing / help / ja_JP / correlation_convolution / convol2d.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Add some comments about XML file
4 -->
5 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja_JP" xml:id="convol2d">
6     <refnamediv>
7         <refname>convol2d</refname>
8         <refpurpose>離散 2-D 畳み込み, fftを使用. </refpurpose>
9     </refnamediv>
10     <refsynopsisdiv>
11         <title>呼び出し手順</title>
12         <synopsis>C = convol2d(A,B)</synopsis>
13     </refsynopsisdiv>
14     <refsection>
15         <title>パラメータ</title>
16         <variablelist>
17             <varlistentry>
18                 <term>A</term>
19                 <listitem>
20                     <para>
21                         実数または複素数二次元配列.
22                     </para>
23                 </listitem>
24             </varlistentry>
25             <varlistentry>
26                 <term>B</term>
27                 <listitem>
28                     <para>
29                         実数または複素数二次元配列.
30                     </para>
31                 </listitem>
32             </varlistentry>
33             <varlistentry>
34                 <term>C</term>
35                 <listitem>
36                     <para>
37                         実数または複素数二次元配列.
38                     </para>
39                 </listitem>
40             </varlistentry>
41         </variablelist>
42     </refsection>
43     <refsection>
44         <title>説明</title>
45         <para>
46             <literal>convol2d</literal> は
47             完全な二次元離散畳み込みを計算するためにfftを使用します.
48             結果 <literal>C</literal> の次元は
49             <literal>size(A)+size(B)+1</literal>で指定されます.
50             <literal>B</literal>の中心要素の添字は
51             <literal>floor((size(B)+1)/2)</literal>で定義されます.
52         </para>
53     </refsection>
54     <refsection>
55         <title>例</title>
56         <programlisting role="example"><![CDATA[
57     s = [1 2 1; 0 0 0; -1 -2 -1];//Sobel horizontal edge kernel
58     A = zeros(10,10);A(3:7,3:7) = 1;
59     convol2d(s,A);
60     ]]></programlisting>
61     </refsection>
62     <refsection role="see also">
63         <title>参照</title>
64         <simplelist type="inline">
65             <member>
66                 <link linkend="conv2">conv2</link>
67             </member>
68             <member>
69                 <link linkend="convol">convol</link>
70             </member>
71         </simplelist>
72     </refsection>
73     <refsection>
74         <title>使用する関数</title>
75         <para>
76             <literal>convol2d</literal> 関数は組込み関数
77             <link linkend="fft">fft</link> に基づいています.
78         </para>
79     </refsection>
80     <refsection>
81         <title>履歴</title>
82         <revhistory>
83             <revision>
84                 <revnumber>5.4.0</revnumber>
85                 <revremark>関数convol2dが導入されました.</revremark>
86             </revision>
87         </revhistory>
88     </refsection>
89 </refentry>