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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>B.2.2 Grid line and Pixel registration</TITLE>
<META NAME="description" CONTENT="B.2.2 Grid line and Pixel registration">
<META NAME="keywords" CONTENT="GMT_Docs">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="GMT_Docs.css">
<LINK REL="next" HREF="node118.html">
<LINK REL="previous" HREF="node114.html">
<LINK REL="up" HREF="node113.html">
<LINK REL="next" HREF="node116.html">
</HEAD>
<BODY bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html2664"
HREF="node116.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A>
<A NAME="tex2html2658"
HREF="node113.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A>
<A NAME="tex2html2652"
HREF="node114.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A>
<A NAME="tex2html2660"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A>
<A NAME="tex2html2662"
HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html2665"
HREF="node116.html">B.2.2.1 Grid line registration</A>
<B> Up:</B> <A NAME="tex2html2659"
HREF="node113.html">B.2 2-D grdfiles</A>
<B> Previous:</B> <A NAME="tex2html2653"
HREF="node114.html">B.2.1 File contents</A>
  <B> <A NAME="tex2html2661"
HREF="node1.html">Contents</A></B>
  <B> <A NAME="tex2html2663"
HREF="node149.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION001722000000000000000"></A>
<A NAME="13237"></A>
<BR>
B.2.2 Grid line and Pixel registration
</H2>
<P>
Scanline format means that the data are stored in rows (<I>y</I> = constant)
going from the ``top'' (<IMG
WIDTH="58" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img136.gif"
ALT="$y = y_{max}$"> (north)) to the ``bottom''
(<IMG
WIDTH="56" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img137.gif"
ALT="$y = y_{min}$"> (south)). Data within each row are ordered from
``left'' (<IMG
WIDTH="56" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img138.gif"
ALT="$x = x_{min}$"> (west)) to ``right'' (<IMG
WIDTH="58" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img139.gif"
ALT="$x = x_{max}$">
(east)). The <I>node_offset</I> signals how the nodes are laid out.
The grid is always defined as the intersections of all <I>x</I>
( <!-- MATH
$x = x_{min}, x_{min} + x_{inc}, x_{min} + 2 \cdot x_{inc}, \ldots, x_{max}$
-->
<IMG
WIDTH="273" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img140.gif"
ALT="\( x = x_{min}, x_{min} + x_{inc}, x_{min} + 2 \cdot x_{inc}, \ldots, x_{max} \)"> )
and <I>y</I> ( <!-- MATH
$y = y_{min}, y_{min} + y_{inc}, y_{min} + 2 \cdot y_{inc}, \ldots, y_{max}$
-->
<IMG
WIDTH="273" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img141.gif"
ALT="\( y = y_{min}, y_{min} + y_{inc}, y_{min} + 2 \cdot y_{inc}, \ldots, y_{max} \)"> )
lines. The two scenarios differ in which area each data point
represents.
The default registration in <A NAME="tex2html582"
HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> is grid line registration. Most
programs can handle both types, and for some programs like <A NAME="tex2html583"
HREF="../grdimage.html"><I><B>grdimage</B></I></A><A NAME="13496"></A>
a pixel registered file makes more sense. Utility programs like
<A NAME="tex2html584"
HREF="../grdsample.html"><I><B>grdsample</B></I></A><A NAME="13505"></A> and <A NAME="tex2html585"
HREF="../grdproject.html"><I><B>grdproject</B></I></A><A NAME="13514"></A> will allow you to convert
from one format to the other.
<P>
<BR><HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
<UL>
<LI><A NAME="tex2html2666"
HREF="node116.html">B.2.2.1 Grid line registration</A>
<LI><A NAME="tex2html2667"
HREF="node117.html">B.2.2.2 Pixel registration</A>
</UL>
<!--End of Table of Child-Links-->
<BR><HR>
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>
|