File: filter2.xml

package info (click to toggle)
sivp 0.4.3-3
  • links: PTS, VCS
  • area: contrib
  • in suites: lenny
  • size: 4,400 kB
  • ctags: 94
  • sloc: sh: 8,731; xml: 3,173; ansic: 2,069; makefile: 102; tcl: 72
file content (73 lines) | stat: -rw-r--r-- 2,295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "mansivp.dtd">
<MAN>
<LANGUAGE>eng</LANGUAGE>
<TITLE>filter2</TITLE>
<TYPE>SIVP Toolbox</TYPE>
<DATE>July, 2006</DATE>
<SHORT_DESCRIPTION name="filter2">2D digital filtering</SHORT_DESCRIPTION>
<CALLING_SEQUENCE>
   <CALLING_SEQUENCE_ITEM>C = filter2(F,im)</CALLING_SEQUENCE_ITEM>
</CALLING_SEQUENCE>
<PARAM>
<PARAM_INDENT>
   <PARAM_ITEM>
     <PARAM_NAME>im</PARAM_NAME>
     <PARAM_DESCRIPTION>
       An image/matrix which will be filterd. The image can be INT8, UINT8, INT16, UINT16, INT32, DOUBLE.
     </PARAM_DESCRIPTION>
   </PARAM_ITEM>
   <PARAM_ITEM>
     <PARAM_NAME>F</PARAM_NAME>
     <PARAM_DESCRIPTION>
       A double 2D filter.
     </PARAM_DESCRIPTION>
   </PARAM_ITEM>
   <PARAM_ITEM>
     <PARAM_NAME>imf</PARAM_NAME>
     <PARAM_DESCRIPTION>
       The filtered image which has the same size with <TT>imf</TT> and the class double.
     </PARAM_DESCRIPTION>
   </PARAM_ITEM>
</PARAM_INDENT>
</PARAM>

<DESCRIPTION>
<P><TT>filter2</TT> filters an image <TT>im</TT> with filter <TT>F</TT>. 
When <TT>im</TT> is a mult-channel image, each channel can be filtered with <TT>F</TT> seperately.
Input image pixel values outside the bounds of the image are assumed to 
equal the nearest array border value.
</P>
<P>
The only diffence of <TT>filter2</TT> with <TT>imfilter</TT> is 
the output of <TT>filter2</TT> is double matrix,
and the output of <TT>imfilter</TT> has the same type as input 
and the elements in the output matrix that 
exceed the range of the integer type will be truncated.
</P>
</DESCRIPTION>


<EXAMPLE><![CDATA[

    im = imread('lena.png');
    filter = fspecial('sobel');
    imf = filter2(filter,im);

]]></EXAMPLE>
<!-- ================================= -->

<AUTHORS>
   <AUTHORS_ITEM name="Shiqi"> Shiqi Yu &lt;shiqi.yu[at]gmail.com&gt; </AUTHORS_ITEM>
</AUTHORS>
<!-- ================================= -->
<SECTION label="Availability">
The latest version of SIVP can be found at
<P><A href="http://sivp.sourceforge.net">http://sivp.sourceforge.net</A></P>
</SECTION>
<!-- ================================= -->
   <SEE_ALSO>
      <SEE_ALSO_ITEM> <LINK>fspecial</LINK> </SEE_ALSO_ITEM>
      <SEE_ALSO_ITEM> <LINK>imfilter</LINK> </SEE_ALSO_ITEM>
   </SEE_ALSO>
</MAN>