<?xml version="1.0" encoding="ISO-8859-1"?>
<refentry version="5.0-subset Scilab" xml:id="im2uint16" xml:lang="en"
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:svg="http://www.w3.org/2000/svg"
          xmlns:ns5="http://www.w3.org/1999/xhtml"
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
          xmlns:db="http://docbook.org/ns/docbook">
  <info>
    <pubdate>April, 2006</pubdate>
  </info>

  <refnamediv>
    <refname>im2uint16</refname>

    <refpurpose>Convert image to 16-bit unsigned integers</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <title>Calling Sequence</title>

    <synopsis>im2 = im2uint16(im)</synopsis>
  </refsynopsisdiv>

  <refsection>
    <title>Parameters</title>

    <variablelist>
      <varlistentry>
        <term>im</term>

        <listitem>
           An matrix/image, which can be ANY image supported by SIVP. 
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>im2</term>

        <listitem>
           Output image, a 16-bit unsigned integer matrix.
        </listitem>
      </varlistentry>
    </variablelist>
  </refsection>

  <refsection>
    <title>Description</title>

    <para><literal>im2uint16</literal> convert intensity or RGB images to
    16-bit unsigned integers. If the input is of class
    <literal>uint16</literal>, the output image is identical to it. Otherwise,
    <literal>im2uint16</literal> rescales or offsets the data, and returns the
    equivalent image of class <literal>uint16</literal>.</para>
  </refsection>

  <refsection>
    <title>Authors</title>

    <simplelist type="vert">
      <member>Shiqi Yu &lt;shiqi.yu[at]gmail.com&gt;</member>
    </simplelist>
  </refsection>

  <refsection>
    <title>Availability</title>

     The latest version of SIVP can be found at 

    <para>http://sivp.sf.net</para>

     
  </refsection>

  <refsection>
    <title>See Also</title>

    <simplelist type="inline">
      <member><link linkend="im2bw">im2bw</link></member>

      <member><link linkend="im2uint8">im2uint8</link></member>

      <member><link linkend="im2int8">im2int8</link></member>

      <member><link linkend="im2int16">im2int16</link></member>

      <member><link linkend="im2int32">im2int32</link></member>

      <member><link linkend="im2double">im2double</link></member>

      <member><link linkend="mat2gray">mat2gray</link></member>
    </simplelist>
  </refsection>
</refentry>
