File: node117.html

package info (click to toggle)
gmt-doc 3.4-1.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,756 kB
  • ctags: 1,800
  • sloc: makefile: 30
file content (128 lines) | stat: -rw-r--r-- 3,769 bytes parent folder | download | duplicates (2)
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
<!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.2 Pixel registration</TITLE>
<META NAME="description" CONTENT="B.2.2.2 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="previous" HREF="node116.html">
<LINK REL="up" HREF="node115.html">
<LINK REL="next" HREF="node118.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html2692"
  HREF="node118.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html2686"
  HREF="node115.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html2682"
  HREF="node116.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html2688"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html2690"
  HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html2693"
  HREF="node118.html">B.2.3 Boundary Conditions for</A>
<B> Up:</B> <A NAME="tex2html2687"
  HREF="node115.html">B.2.2 Grid line and</A>
<B> Previous:</B> <A NAME="tex2html2683"
  HREF="node116.html">B.2.2.1 Grid line registration</A>
 &nbsp <B>  <A NAME="tex2html2689"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html2691"
  HREF="node149.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H3><A NAME="SECTION001722200000000000000"></A>
<A NAME="13280"></A>
<BR>
B.2.2.2 Pixel registration
</H3>

<P>
Here, the nodes are centered in the grid cells, i.e., the areas
between grid lines, and the data points represent the average
values within each cell (Figure&nbsp;<A HREF="node117.html#fig:GMT_pixelreg">B.2</A>.
In the case of pixel registration the number of nodes are related
to region and grid spacing by 
<BR>
<P>
<BR><P></P>
<DIV ALIGN="CENTER">
<!-- MATH
 \begin{displaymath}
\begin{array}{ccl} 
nx & =	&	(x_{max} - x_{min}) / x_{inc}	\\
ny & =	&	(y_{max} - y_{min}) / y_{inc}
\end{array}
\end{displaymath}
 -->

<IMG
 WIDTH="171" HEIGHT="45" BORDER="0"
 SRC="img146.gif"
 ALT="\begin{displaymath}\begin{array}{ccl}
nx &amp; = &amp; (x_{max} - x_{min}) / x_{inc} \\
ny &amp; = &amp; (y_{max} - y_{min}) / y_{inc}
\end{array} \end{displaymath}">
</DIV>
<BR CLEAR="ALL">
<P></P>

<P>
Thus, given the same region (<B>-R</B>), the pixel registered grids have one less
column and one less row than the grid line registered grids; here we
find <IMG
 WIDTH="81" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
 SRC="img147.gif"
 ALT="$nx = ny = 3$">.

<P>

<P></P>
<DIV ALIGN="CENTER"><A NAME="fig:GMT_pixelreg"></A><A NAME="13529"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure B.2:</STRONG>
Pixel registration of data nodes</CAPTION>
<TR><TD><IMG
 WIDTH="305" HEIGHT="162" BORDER="0"
 SRC="img148.gif"
 ALT="\begin{figure}\centering\epsfig{figure=eps/GMT_pixelreg.eps}\end{figure}"></TD></TR>
</TABLE>
</DIV><P></P>

<P>
<A NAME="13294"></A>
<A NAME="13295"></A>

<P>
<BR><HR>
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>