<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tmackinnon.com &#187; PCI</title>
	<atom:link href="http://tmackinnon.com/xx/pci/feed" rel="self" type="application/rss+xml" />
	<link>http://tmackinnon.com</link>
	<description>Geomatics helps you discover our world</description>
	<lastBuildDate>Mon, 30 Apr 2012 23:28:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Seamless Aerial Photograph Mosaic</title>
		<link>http://tmackinnon.com/mosaic.php</link>
		<comments>http://tmackinnon.com/mosaic.php#comments</comments>
		<pubDate>Sun, 03 Feb 2008 20:29:16 +0000</pubDate>
		<dc:creator>tmackinnon</dc:creator>
				<category><![CDATA[photogrammetry]]></category>
		<category><![CDATA[air photo]]></category>
		<category><![CDATA[COGS]]></category>
		<category><![CDATA[Halifax]]></category>
		<category><![CDATA[mosaic]]></category>
		<category><![CDATA[Nova Scotia]]></category>
		<category><![CDATA[ortho photos]]></category>
		<category><![CDATA[OrthoEngine]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[Remote sensing]]></category>
		<category><![CDATA[seamless]]></category>

		<guid isPermaLink="false">http://tmackinnon.com/?p=405</guid>
		<description><![CDATA[Sample of an seamless 1:10000 scale color aerial photograph mosaic of Halifax, Nova Scotia that I  generated using PCI OrthoEngine software to seamlessly combine seven individual ortho photos into 1 image.]]></description>
			<content:encoded><![CDATA[<p>This is a sample of an seamless 1:10000 scale color <a href="http://tmackinnon.com/rs/photogrammetry/aerial-photograph.php">aerial photograph</a>mosaic of Halifax, Nova Scotia. The actual image was plotted out on a 4 foot by 4 foot poster. The mosaic image was generated using PCI OrthoEngine software to seamlessly combine seven individual ortho photos.</p>
<p><img style="border-style: initial; border-color: initial; border-image: initial; border-width: 0px;" title="Seamless aerial photograph mosaic of Halifax, Nova Scotia" src="http://tmackinnon.com/2005/rs/halifax.jpg" alt="halifax Seamless Aerial Photograph Mosaic" width="600" height="600" border="0" /></p>
<p>For more information on mosaicking ortho photos with PCI Orthoengine software refer to the following document that I created for a class at COGS:</p>
<ul>
<li>MacKinnon E (2003) <a href="/2005/rs/photogrammetry/orthorectification.pdf" target="_blank">Orthorectification of Aerial Photos with PCI OrthoEngine</a> Middleton, NS: Applied Geomatics Research Group, Centre of Geographic Sciences, 33 pages</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tmackinnon.com/mosaic.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Sensing</title>
		<link>http://tmackinnon.com/remote-sensing.php</link>
		<comments>http://tmackinnon.com/remote-sensing.php#comments</comments>
		<pubDate>Wed, 16 Jan 2008 23:11:28 +0000</pubDate>
		<dc:creator>tmackinnon</dc:creator>
				<category><![CDATA[Remote Sensing]]></category>
		<category><![CDATA[Aerial Photograph]]></category>
		<category><![CDATA[digita]]></category>
		<category><![CDATA[ESRI]]></category>
		<category><![CDATA[Geomatics]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[OrthoEngine]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[Remote sensing]]></category>

		<guid isPermaLink="false">http://tmackinnon.com/?p=415</guid>
		<description><![CDATA[Remote sensing involves the use of technical instruments or sensors to record reflected or emitted energy and then processing, analyzing, and applying that information to determine the spectral and spatial relations of distance objects and materials. ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Remote sensing is merely the science of acquiring information about a surface without physically being in contact with it. It involves the use of technical instruments or sensors to record reflected or emitted energy and then processing, analyzing, and applying that information to determine the spectral and spatial relations of distance objects and materials.</p>
<p style="text-align: justify;"><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  class="alignleft" title="RADARSAT" src="http://tmackinnon.com/2005/rs/satellites/RS2_Image2.jpg" alt="RS2 Image2 Remote Sensing" width="263" height="206" />This is possible due to the fact that the examined objects (such as vegetation, buildings, water, air masses etc.) reflect or emit radiation in different wavelengths and intensities according to their current condition. Modern remote sensing typically involves digital processes but can also be done with non-digital methods.</p>
<p style="text-align: justify;">Probably the most common example of remote sensing is an <a href="http://tmackinnon.com/2005/rs/photogrammetry/aerial-photograph.php">aerial photograph</a> but there are probably hundreds of  applications related to remote sensing ranging from space-borne satellites to under-ground geophysical systems. It has become a major component in the evolving Geomatics industry. In order to generate maps for GIS, most remote sensing systems expect to convert a photograph or other data item to actual measurable distance on the surface. However, this almost always depends on the precision of the instrument that is being used to capture the data. For example, distortion in an aerial photographic lens can cause severe distortions when photographs are used to measure ground distances. Using sophisticated software like PCI OrthoEngine can convert the photograph into an ortho photo which can be used to measure ground distances.</p>
<p style="text-align: justify;">In order to coordinate a series of observations, most sensing systems need to know where they are, what time it is, and the rotation and orientation of the instrument. High-end instruments now often use positional information from satellite navigation systems. The rotation and orientation is often provided within a degree or two with electronic compasses.</p>
<p style="text-align: justify;">The resolution determines how many pixels are available in measurement, but more importantly, higher resolutions are more informative, giving more data about more points. However, large amounts of high resolution data can clog a storage or transmission system with useless data, when a few low resolution images might be a better use of the system.</p>
<p style="text-align: justify;">Like I mentioned earlier examples of remote sensing are very numerous. I have over the past decade and have used the many projects that I have been involved with along with actual examples of my work to help illustrate the principals of the various topics covered on the web site. I have included basic overviews for each along with images, presentations, papers and links to other related resources.</p>
<h3><span>Examples of Remote Sensing</span></h3>
<h3>Remote Sensing Links</h3>
<ul>
<li><a href="http://www.ccrs.nrcan.gc.ca/ccrs/learn/tutorials/fundam/chapter1/chapter1_1_e.html" target="_blank">Fundamentals of Remote Sensing (CCRS tutorial)</a></li>
<li><a href="http://rst.gsfc.nasa.gov/Front/tofc.html" target="_blank">Online Remote Sensing tutorial (NASA)</a></li>
<li><a href="http://www.pcigeomatics.com/" target="_blank">PCI Geomatics &#8211; Remote Sensing Software Solutions</a></li>
<li><a href="http://www.tmackinnon.com/2005/links/links.php">More Remote Sensing links</a></li>
<li><a href="http://tmackinnon.com/2005/publications.php">Remote Sensing Publications</a></li>
<li><a href="http://www.tmackinnon.com/2005/dir/odp.php?browse=/Science/Earth_Sciences/Geomatics/Remote_Sensing/">Remote Sensing Web Directory</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tmackinnon.com/remote-sensing.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple File Subset Script &#8211; PCI EASI Script</title>
		<link>http://tmackinnon.com/mul_subset.php</link>
		<comments>http://tmackinnon.com/mul_subset.php#comments</comments>
		<pubDate>Sat, 05 Jan 2008 01:55:24 +0000</pubDate>
		<dc:creator>tmackinnon</dc:creator>
				<category><![CDATA[EASI Scripts]]></category>
		<category><![CDATA[air photos]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[EASI]]></category>
		<category><![CDATA[fiducial marks]]></category>
		<category><![CDATA[output directory]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[scipts]]></category>
		<category><![CDATA[subset]]></category>

		<guid isPermaLink="false">http://tmackinnon.com/?p=475</guid>
		<description><![CDATA[This EASI script in PCI will batch subset a directory of input files based on a defined input window.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><!--                                           - -->This simple EASI script used with the MODEL command in PCI will batch subset a directory of input files based on a defined input window. It assumes that all the input files will all be located within the same specified directory, all the files will be of the same format with three channels and that the output directory does not already contain any files.</p>
<p style="text-align: justify;">This was originally created for PCI Geomatica v9.1 but was last tested and working with no problems in PCI Geomatica v10.0 – Just copy the code below into a blank text file and edit as needed.</p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! Multiple File Subset Script [mul_subset.eas] </span><br />
<span style="color: #888888;"> !</span><br />
<span style="color: #888888;"> ! This script was originally written for a user who wanted</span><br />
<span style="color: #888888;"> ! to have all of the fiducial marks and details removed from</span><br />
<span style="color: #888888;"> ! their air photos.</span><br />
<span style="color: #888888;"> !</span><br />
<span style="color: #888888;"> !</span><span style="color: #888888;"> This script assumes that all the input files will all be located</span><br />
<span style="color: #888888;"> ! within a given directory, all the files will be of the same format</span><br />
<span style="color: #888888;"> ! with three channels and that the output directory does not contain</span><br />
<span style="color: #888888;"> ! any files.</span><br />
<span style="color: #888888;"> !</span><br />
<span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;"> ! Define variables</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!for input and output directory local string in_files, out_files</span><br />
<span style="color: #888888;"> !for directory listing of the input directories</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">local mstring dirlist</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!for the file format and extension types</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">local string type, ext</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!file names</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">local string bn, fn</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!Parameters for the subset window</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">local integer x, y, width, height</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">local integer i</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">local $Z</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">local string confirm</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! Clear the EASI window and then show the header information</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">PRINT @(1 ,1,CLREOS)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print @reverse,&#8221; Multiple Subset &#8220;,@alloff</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;This script assumes that all the input files will all be located&#8221;</span><br />
<span style="color: #888888;"> print &#8220;within a given directory, the files will be of the same format,&#8221;</span><br />
<span style="color: #888888;"> print &#8220;have three image channels, will be clipped to the same extents and&#8221;</span><br />
<span style="color: #888888;"> print &#8220;that the output directory will not contain any files.&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! Collect input from user</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;Enter the directory that contains the input files:&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">input &#8220;&gt;&#8221; in_files</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;Enter the directory for the output files:&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">input &#8220;&gt;&#8221; out_files</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;Enter the file format of the files (3-letter file extension) : &#8220;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">input &#8220;&gt;&#8221; type</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;Enter the X coordinate for the dbiw parameter : &#8220;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">input &#8220;&gt;&#8221; x</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;Enter the Y coordinate for the dbiw parameter : &#8220;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">input &#8220;&gt;&#8221; y</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;Enter the width for the dbiw parameter : &#8220;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">input &#8220;&gt;&#8221; width</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;Enter the height for the dbiw parameter : &#8220;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">input &#8220;&gt;&#8221; height</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">PRINT @(1 ,1,CLREOS)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! Confirm with user to ensure that the parameters are correct</span><br />
<span style="color: #888888;"> ! If they are correct then continue with the script and if they are not</span><br />
<span style="color: #888888;"> ! then run the script over again.</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;The input directory you specified was:&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8221; &#8220;, in_files</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;The output directory you specified was:&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8221; &#8220;, out_files</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;The file format you specified was:&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8221; &#8220;, type</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;The initial coordinate of the clip you specified was:&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8221; &#8220;, x, &#8221; &#8220;, y</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;Your image size you specified was:&#8221;</span><br />
<span style="color: #888888;"> print &#8221; &#8220;, width, &#8221; &#8220;, height</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;Are these parameters correct? (Y/N)&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">input &#8220;&gt;&#8221; confirm</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">if (confirm ~= &#8220;y&#8221; or confirm ~= &#8220;Y&#8221; ) then</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! Get the contents of the directory</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">dirlist = getdirectory(in_files)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">let $Z = &#8220;\</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">for i = 1 to f$len(dirlist)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! Extract parts of the filenames</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">fn = in_files + $Z + dirlist[i]</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">ext = getfileextension(fn)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">bn = getfilebasename(fn)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">if (ext ~= type) then</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;Clipping:&#8221;, bn, &#8220;.&#8221;, ext</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! Set up the parameters and execute the FEXPORT command</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">fili = in_files + $Z + dirlist[i]</span><br />
<span style="color: #888888;"> filo = out_files + $Z + bn +&#8221;_clipped&#8221;</span><br />
<span style="color: #888888;"> dbiw = x, y, width, height</span><br />
<span style="color: #888888;"> dbic = 1,2,3</span><br />
<span style="color: #888888;"> dbib =</span><br />
<span style="color: #888888;"> dbvs =</span><br />
<span style="color: #888888;"> dblut =</span><br />
<span style="color: #888888;"> dbpct =</span><br />
<span style="color: #888888;"> ftype = type</span><br />
<span style="color: #888888;"> foptions =</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">R Fexport</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">PRINT @(1 ,1,CLREOS)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">endif</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">endfor</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">else</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">run &#8220;mul_subset.eas</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">endif</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">PRINT @(1 ,1,CLREOS)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;The clipped files are stored in the following directory:&#8221;</span><br />
<span style="color: #888888;"> print &#8221; &#8220;, out_files</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print @reverse,&#8221; Multiple Subset EASI Script Finished &#8220;,@alloff</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">return</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://tmackinnon.com/mul_subset.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to generate a PIX file large enough to contain all input DEM files</title>
		<link>http://tmackinnon.com/mul_dem_mosaic.php</link>
		<comments>http://tmackinnon.com/mul_dem_mosaic.php#comments</comments>
		<pubDate>Fri, 04 Jan 2008 01:41:12 +0000</pubDate>
		<dc:creator>tmackinnon</dc:creator>
				<category><![CDATA[EASI Scripts]]></category>
		<category><![CDATA[DEM]]></category>
		<category><![CDATA[EASI]]></category>
		<category><![CDATA[EASI script]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[Geomatica]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[MODEL]]></category>
		<category><![CDATA[mosaic]]></category>
		<category><![CDATA[output]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[PIX]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://tmackinnon.com/?p=470</guid>
		<description><![CDATA[This simple EASI script used with the MODEL command in PCI will generate an output PIX file with extents large enough to contain all of the files and then mosaic each of the input files into the output DEM file.]]></description>
			<content:encoded><![CDATA[<p>Below is a simple EASI script used with the MODEL command in PCI will generate an output PIX file with extents large enough to contain all of the input files PIX files and then mosaic each of the input files into the output pix file. It was designed to mosaic several DEM files into one large DEM file.</p>
<p>This was originally created for PCI Geomatica v9.1 but was last tested and working with no problems in PCI Geomatica v10.0 – Just copy the code below into a blank text file and edit as needed.</p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;"> ! Multiple DEM Mosaic Script</span><br />
<span style="color: #888888;"> ! [mul_DEM_mosaic.eas]</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">! Ted MacKinnon – tmackinnon.com</span><br />
<span style="color: #888888;"> !</span><br />
<span style="color: #888888;"> ! This script will generate an output PIX file with extents large enough</span><br />
<span style="color: #888888;"> ! to contain all of the input files and then mosaic each of the input</span><br />
<span style="color: #888888;"> ! files into the new output pix file.</span><br />
<span style="color: #888888;"> !</span><br />
<span style="color: #888888;"> ! This script was designed to mosaic several DEM files into one large</span><br />
<span style="color: #888888;"> ! DEM file. Each input DEM file must have the same projection,</span><br />
<span style="color: #888888;"> ! resolution and at each DEM should have at least 150m overlap.</span><br />
<span style="color: #888888;"> !</span><br />
<span style="color: #888888;"> ! The user is expected that the user will enter (or verify) the parameters</span><br />
<span style="color: #888888;"> ! of &#8216;CIMPRO&#8217; at the bottom of this script prior to running the script.</span><br />
<span style="color: #888888;"> ! Parmaters such as BXPXSZ and DBIC have been hard coded.</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #888888;"> ! Define variables</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!for input &amp; output pix files and pixel size</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">local string inputFile, outputFile</span><br />
<span style="color: #888888;"> local string pixel</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!to obtain list of input files</span><br />
<span style="color: #888888;"> local mstring inputList</span><br />
<span style="color: #888888;"> local integer inputIndex</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!for extracting georeferencing information</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">local GeoInfo geoInfo</span><br />
<span style="color: #888888;"> local integer geoFile</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!to contain bounding rectangle of all input files</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">local double boundULX, boundULY, boundLRX, boundLRY</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! Clear the EASI window and then show the header information</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">PRINT @(1 ,1,CLREOS)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #888888;"> &#8220;</span><br />
<span style="color: #888888;"> print @reverse,&#8221; &#8216;Mosaic multiple DEM files&#8217; EASI Script &#8220;,@alloff</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8221; This script will generate an new output PIX file with extents large &#8220;</span><br />
<span style="color: #888888;"> print &#8221; enough to contain all of the PIX files in this directory and then &#8220;</span><br />
<span style="color: #888888;"> print &#8221; mosaic each of the PIX files into the new output file.&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8221; The output file will contain the following projection: &#8220;</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">! The projection will be printed to the screen as a general reminder</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8221; UTM 11 S E000&#8243;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! Collect input from user</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;Enter the Output file name:&#8221;</span><br />
<span style="color: #888888;"> input &#8220;&gt;&#8221; outputFile</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;Enter the pixel size for: &#8220;,outputfile</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">input &#8220;&gt;&#8221; pixel</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">PRINT @(1 ,1,CLREOS)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! Create list of input files</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">sys &#8220;dir *.pix /b &gt; pixlist.txt&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">inputList = Text$Import(&#8220;pixlist.txt&#8221;)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #888888;"> ! Read georeferencing of each input file</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">for inputIndex = 1 to F$LEN(inputList)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print inputList(inputIndex)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">geoFile = DBOpen(inputList(inputIndex), &#8220;r&#8221;)</span><br />
<span style="color: #888888;"> call DBReadGeoInfo(geoFile, geoInfo)</span><br />
<span style="color: #888888;"> call DBClose(geoFile)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;Georeferencing: &#8220;, geoInfo.Units</span><br />
<span style="color: #888888;"> print &#8220;Image extents: &#8220;,geoInfo.ULX, &#8220;, &#8220;, geoInfo.ULY, &#8221; &#8220;, geoInfo.LRX, &#8220;, &#8220;, geoInfo.LRY</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">PRINT @(1 ,1,CLREOS)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! initialize bounds using first file</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">if inputIndex = 1 then</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">boundULX = geoInfo.ULX</span><br />
<span style="color: #888888;"> boundULY = geoInfo.ULY</span><br />
<span style="color: #888888;"> boundLRX = geoInfo.LRX</span><br />
<span style="color: #888888;"> boundLRY = geoInfo.LRY</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">else</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #888888;"> ! assumes UTM projection (ULY &gt; LRY)</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">if geoInfo.ULX &lt; boundULX then</span><br />
<span style="color: #888888;"> boundULX = geoInfo.ULX</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">endif</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">if geoInfo.ULY &gt; boundULY then</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">boundULY = geoInfo.ULY</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">endif</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">if geoInfo.LRX &gt; boundLRX then</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">boundLRX = geoInfo.LRX</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">endif</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">if geoInfo.LRY &lt; boundLRY then</span><br />
<span style="color: #888888;"> boundLRY = geoInfo.LRY</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">endif</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">endif</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">endfor</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print outputFile, &#8221; file extents: &#8220;, boundULX, &#8221; &#8220;, boundULY, &#8221; &#8220;, boundLRX, &#8221; &#8220;, boundLRY</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! create the output PIX file containing bounds</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">FILE = outputFile</span><br />
<span style="color: #888888;"> TEX1 =</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!Specify the # of channels here</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">DBNC = 1,0,0,0</span><br />
<span style="color: #888888;"> DBLAYOUT = &#8220;PIXEL&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!Specify the projection info here</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">PROJECT = &#8220;UTM&#8221;</span><br />
<span style="color: #888888;"> ZONE = 11</span><br />
<span style="color: #888888;"> ROW = &#8220;S&#8221;</span><br />
<span style="color: #888888;"> ELLIPS = &#8220;0&#8243;</span><br />
<span style="color: #888888;"> LLBOUND = &#8220;N&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">ULX = F$STRING(boundULX)</span><br />
<span style="color: #888888;"> ULY = F$STRING(boundULY)</span><br />
<span style="color: #888888;"> LRX = F$STRING(boundLRX)</span><br />
<span style="color: #888888;"> LRY = F$STRING(boundLRY)</span><br />
<span style="color: #888888;"> BXPXSZ = pixel</span><br />
<span style="color: #888888;"> BYPXSZ = pixel</span><br />
<span style="color: #888888;"> REPORT = &#8220;TERM&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">run CIMPRO</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> ! Mosaic each PIX file from the listing into the outputfile</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">inputList = Text$Import(&#8220;pixlist.txt&#8221;)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">for inputIndex = 1 to F$LEN(inputList)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">inputFile = inputList(inputIndex)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #888888;"> ! Clear the EASI window and show progress</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">PRINT @(1 ,1,CLREOS)</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">print &#8220;&#8221;</span><br />
<span style="color: #888888;"> print &#8220;Mosaicking &#8220;, inputFile, &#8221; into &#8220;, outputFile</span><br />
<span style="color: #888888;"> print &#8220;&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">FILI = inputFile</span><br />
<span style="color: #888888;"> DBIC = 1</span><br />
<span style="color: #888888;"> DBVS =</span><br />
<span style="color: #888888;"> DBLUT =</span><br />
<span style="color: #888888;"> FILO = outputFile</span><br />
<span style="color: #888888;"> DBOC = 1</span><br />
<span style="color: #888888;"> BLEND =</span><br />
<span style="color: #888888;"> BACKVAL = 0</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">run MOSAIC</span></p>
<p style="padding-left: 30px;"><span style="color: #888888;">endfor</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #888888;"> !&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p style="padding-left: 30px;">
]]></content:encoded>
			<wfw:commentRss>http://tmackinnon.com/mul_dem_mosaic.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

