File: imdivide.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 (81 lines) | stat: -rw-r--r-- 2,670 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
74
75
76
77
78
79
80
81
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "mansivp.dtd">
<MAN>
<LANGUAGE>eng</LANGUAGE>
<TITLE>imdivie</TITLE>
<TYPE>SIVP Toolbox</TYPE>
<DATE>July, 2006</DATE>
<SHORT_DESCRIPTION name="imdivide">Divide two images or divide an image by an constant.</SHORT_DESCRIPTION>
<CALLING_SEQUENCE>
   <CALLING_SEQUENCE_ITEM>imout = imdivide(im1, im2)</CALLING_SEQUENCE_ITEM>
</CALLING_SEQUENCE>
<PARAM>
<PARAM_INDENT>
   <PARAM_ITEM>
     <PARAM_NAME>im1</PARAM_NAME>
     <PARAM_DESCRIPTION>
       Input image.
     </PARAM_DESCRIPTION>
   </PARAM_ITEM>
   <PARAM_ITEM>
     <PARAM_NAME>im2</PARAM_NAME>
     <PARAM_DESCRIPTION>
       Input image with the same size and same class with <TT>im1</TT>, or a double scalar.
     </PARAM_DESCRIPTION>
   </PARAM_ITEM>
   <PARAM_ITEM>
     <PARAM_NAME>imout</PARAM_NAME>
     <PARAM_DESCRIPTION>
       The result of dividing <TT>im1</TT> by <TT>im2</TT>.
     </PARAM_DESCRIPTION>
   </PARAM_ITEM>
</PARAM_INDENT>
</PARAM>
<DESCRIPTION>
<P>
If <TT>im1</TT> and <TT>im2</TT> are images with the same size and same class, 
<TT>imdivide</TT> divides each element in <TT>im1</TT> 
by the corresponding one in <TT>im2</TT>. 
If <TT>im2</TT> is a double scalar, the element in <TT>imout</TT> 
is the result of dividing the corresponding one in <TT>im1</TT> by the double scalar.
<TT>imout</TT> has the same size and class with <TT>im1</TT>.
</P>
<P>
If <TT>im1</TT> is an integer matrix, 
the elements in the output matrix <TT>imout</TT> that 
exceed the range of the integer type will be truncated.
</P>
<P>
  Supported classes: INT8, UINT8, INT16, UINT16, INT32, DOUBLE.
</P>
</DESCRIPTION>

<!-- ================================= -->
<EXAMPLE><![CDATA[

    im1 = imread('lena.png');
    im2 = imread('peppers.png');
    ims1 = imdivide(im1, im2);
    ims2 = imdivide(im1, 0.6);

]]></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>imabsdiff</LINK> </SEE_ALSO_ITEM>
      <SEE_ALSO_ITEM><LINK>imadd</LINK> </SEE_ALSO_ITEM>
      <SEE_ALSO_ITEM><LINK>imsubtract</LINK> </SEE_ALSO_ITEM>
      <SEE_ALSO_ITEM><LINK>immultiply</LINK> </SEE_ALSO_ITEM>
      <SEE_ALSO_ITEM><LINK>imcomplement</LINK> </SEE_ALSO_ITEM>
      <SEE_ALSO_ITEM><LINK>imlincomb</LINK> </SEE_ALSO_ITEM>
   </SEE_ALSO>
</MAN>