Products & Services Industries Academia Support User Community Company

Learn more about Mapping Toolbox   

worldfileread - Read worldfile and return referencing matrix

Syntax

R = worldfileread(worldfilename)

Description

R = worldfileread(worldfilename) reads the worldfile data from worldfilename and constructs the referencing matrix R.

R is a 3-by-2 affine transformation matrix that is used in pix2map and map2pix to transform pixel row and column coordinates to/from map/model coordinates according to [x y] = [row col 1] * R.

Example

R = worldfileread('concord_ortho_w.tfw')

R =      1.0e+005 *
                       0  -0.000010000000000
       0.000010000000000                   0
       2.069995000000000   9.130005000000001 

See Also

getworldfilename, makerefmat, pix2map, map2pix, worldfilewrite

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS