Ignore:
Timestamp:
07/23/09 11:18:49 (15 years ago)
Author:
smasson
Message:

update documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Interpolation/square2quadrilateral.html

    r363 r402  
    9090 warm (or map) a unit square onto an arbitrary quadrilateral 
    9191 according to the 4-point correspondences: 
    92        (0,0) -> (x0,y0) 
    93        (1,0) -> (x1,y1) 
    94        (1,1) -> (x2,y2) 
    95        (0,1) -> (x3,y3) 
     92  - (0,0) -> (x0,y0) 
     93  - (1,0) -> (x1,y1) 
     94  - (1,1) -> (x2,y2) 
     95  - (0,1) -> (x3,y3) 
     96 
    9697 The mapping is done using perspective transformation which preserve 
    9798 lines in all orientations and permit quadrilateral to quadrilateral 
     
    300301          <h3>Examples</h3><div class="preformat"> 
    301302 
    302  IDL> splot,[0,5],[0,3],/nodata,xstyle=1,ystyle=1 
    303  IDL> tracegrille, findgen(11)*.1, findgen(11)*.1,color=indgen(12)*20 
    304  IDL> xin = (findgen(11)*.1)#replicate(1, 11) 
    305  IDL> yin = replicate(1, 11)#(findgen(11)*.1) 
    306  IDL> out = square2quadrilateral(2,1,3,0,5,1,2,3, xin, yin) 
    307  IDL> tracegrille, reform(out[0,*],11,11), reform(out[1,*],11,11),color=indgen(12)*20 
     303   IDL> splot,[0,5],[0,3],/nodata,xstyle=1,ystyle=1 
     304   IDL> tracegrille, findgen(11)*.1, findgen(11)*.1,color=indgen(12)*20 
     305   IDL> xin = (findgen(11)*.1)#replicate(1, 11) 
     306   IDL> yin = replicate(1, 11)#(findgen(11)*.1) 
     307   IDL> out = square2quadrilateral(2,1,3,0,5,1,2,3, xin, yin) 
     308   IDL> tracegrille, reform(out[0,*],11,11), reform(out[1,*],11,11),color=indgen(12)*20 
    308309</div> 
    309310          <h3>Version history</h3> 
    310311           
    311312          <h4>Version</h4><div class="preformat"> 
    312  $Id: square2quadrilateral.pro 358 2008-04-28 09:41:14Z pinsard $ 
     313 $Id: square2quadrilateral.pro 372 2008-08-08 12:31:53Z pinsard $ 
    313314</div> 
    314315          <h4>History</h4><div class="preformat"> 
    315       Sebastien Masson (smasson@lodyc.jussieu.fr) 
    316       August 2003 
    317       Based on "Digital Image Warping" by G. Wolberg 
    318       IEEE Computer Society Press, Los Alamitos, California 
    319       Chapter 3, see p 52-56 
    320  
     316 Sebastien Masson (smasson@lodyc.jussieu.fr) 
     317  - August 2003 
     318    Based on "Digital Image Warping" by G. Wolberg 
     319    IEEE Computer Society Press, Los Alamitos, California 
     320    Chapter 3, see p 52-56 
    321321</div> 
    322322           
Note: See TracChangeset for help on using the changeset viewer.