"Fossies" - the Fresh Open Source Software Archive

Member "sip-0.12.1/man/dewarp.xml" (26 Jun 2012, 2667 Bytes) of package /linux/privat/sip-0.12.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
    3 <!DOCTYPE MAN SYSTEM "mansip.dtd">
    4 <!-- $Revision: 1.1 $ $Date: 2012-06-09 01:33:33 $ -->
    5 <MAN>
    6    <LANGUAGE>eng</LANGUAGE>
    7    <TITLE>dewarp</TITLE>
    8    <TYPE>SIP Toolbox</TYPE>
    9    <DATE>MAY 2012</DATE>
   10    <SHORT_DESCRIPTION name="dewarp">Dewarp  a given image</SHORT_DESCRIPTION>
   11    <CALLING_SEQUENCE>
   12       <CALLING_SEQUENCE_ITEM>Image = dewarp(filename)</CALLING_SEQUENCE_ITEM>
   13       <CALLING_SEQUENCE_ITEM>[d,pageno,sampling,minlines,applyhoriz] = dewarp ('image')</CALLING_SEQUENCE_ITEM>
   14    </CALLING_SEQUENCE>
   15    <PARAM target="in">
   16    <PARAM_INDENT>
   17       <PARAM_ITEM>
   18       <PARAM_NAME>image</PARAM_NAME>
   19       <PARAM_DESCRIPTION>
   20        M x N x 3 true color image in the 0-1 range
   21       </PARAM_DESCRIPTION>
   22       </PARAM_ITEM>
   23    </PARAM_INDENT>
   24    </PARAM>
   25    <PARAM target="out">
   26    <PARAM_INDENT>
   27       <PARAM_ITEM>
   28       <PARAM_NAME>d</PARAM_NAME>
   29       <PARAM_DESCRIPTION>
   30         M x 3 color map
   31       </PARAM_DESCRIPTION>
   32       </PARAM_ITEM>
   33       <PARAM_ITEM>
   34       <PARAM_NAME>pageno</PARAM_NAME>
   35       <PARAM_DESCRIPTION>
   36        Refers to the pageno to be warped
   37       </PARAM_DESCRIPTION>
   38       </PARAM_ITEM>
   39       <PARAM_ITEM>
   40       <PARAM_NAME>minlines</PARAM_NAME>
   41       <PARAM_DESCRIPTION>
   42       Minimum lines to be warped
   43       </PARAM_DESCRIPTION>
   44       </PARAM_ITEM>
   45 
   46    </PARAM_INDENT>
   47    </PARAM>
   48    <DESCRIPTION>
   49    <P>
   50  Function <TT>dewarp</TT> Dewarp scanned book pages by generating a vertical disparity array based on textlines. </P>
   51    </DESCRIPTION>
   52    <EXAMPLE><![CDATA[
   53        initial_dir = PWD;
   54        chdir (SIPDIR + 'images');
   55        Img = imread('tru.jpg');
   56        [d,pageno,sampling,minlines,applyhoriz] = dewarp (Img);
   57        clf;
   58        imshow(d,image);
   59        chdir(initial_dir);
   60    ]]></EXAMPLE>
   61    <AUTHORS>
   62       <AUTHORS_ITEM name="Ricardo"> Ricardo Fabbri &lt;ricardofabbri (AT) users DOT sf DOT net&gt; </AUTHORS_ITEM>
   63    </AUTHORS>
   64 <!-- ================================= -->
   65 <SECTION label="Availability">
   66 The latest version of the Scilab Image Processing toolbox can be found at
   67 <P><A href="http://siptoolbox.sourceforge.net">http://siptoolbox.sourceforge.net</A></P>
   68 </SECTION>
   69 <!-- ================================= -->
   70    <SEE_ALSO>
   71       <SEE_ALSO_ITEM> <LINK>dewarp</LINK> </SEE_ALSO_ITEM>
   72       <SEE_ALSO_ITEM> <LINK>im2gray</LINK> </SEE_ALSO_ITEM>
   73    </SEE_ALSO>
   74 </MAN>
   75 <!-- =================================================== 
   76            SIP - Scilab Image Processing toolbox
   77            Copyright (C) 2002-2012  Ricardo Fabbri
   78 
   79        See the file COPYING for license-related issues
   80      =================================================== -->