TERASCAN Brought to you by Courtney Farmer Created by Courtney Farmer and Kalyx McDonald.
Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images
description
Transcript of Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images
![Page 1: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/1.jpg)
Redesign of the CERSER Cataloguing System for
TeraScan® Processed Images
2010-2011 Multimedia Team
![Page 2: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/2.jpg)
Team MembersPatrina BlySenior - Mathematics
Autumn LukeFreshman – Computer Science
Mentor: Jeff WoodCERSER Education Program Manager
![Page 3: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/3.jpg)
AbstractThe Center of Excellence in Remote Sensing Education and Research (CERSER) on the campus of Elizabeth City State University is currently tasked with the responsibility of receiving remotely sensed Advanced Very High Resolution Radiometer (AVHRR) data from orbiting National Oceanic and Atmospheric Administration (NOAA) satellites. This data is collected by the SeaSpace TeraScan® system installed in the CERSER labs in Dixon-Patterson Hall.
When this system was initially installed in 2005, the data was collected, processed, annotated, and transformed into images in the Tagged Image File Format (TIFF) on a Windows® based server. These TIFF images were then uploaded to the CERSER archive library server located at http://cerser.ecsu.edu. Once uploaded, they were converted into various resolutions and their information was added to a tracking database maintained with Microsoft Access software. This database provided a searchable means for retrieving satellite image data through various parameters.
Since that time the CERSER server has been replaced with a Macintosh based server which cannot interact with the Microsoft based database and the Javascript scripting language. The goal of this project was to redesign the database and the code required to process the images. PHP, My Structured Query Language, and Command Line instructions to the software package ImageMagick® were utilized to complete these tasks.
![Page 4: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/4.jpg)
Introduction
Windows to Macintosh TeraScan System PHP Script
![Page 5: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/5.jpg)
ImageMagick
What does ImageMagick do?
Why was ImageMagick chosen?
![Page 6: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/6.jpg)
PHP
PHP Hypertext Preprocessor Cross-Platform Convert.exe
![Page 7: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/7.jpg)
MySQL
My Structured Query Language mysql_query() INSERT INTO Table, Fields, Values
![Page 8: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/8.jpg)
Dreamweaver
Dreamweaver WYSIWYG Coding colors and hints
![Page 9: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/9.jpg)
Macintosh Scheduler
Scheduler for Macintosh auto_img_2011.php 3:00 am
![Page 10: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/10.jpg)
The Code
![Page 11: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/11.jpg)
Disassembling the 2006 Code
Pseudocode PHP Syntax
PSEUDOCODEPlace the values for the table into the variable “query”Insert the variables into the tableRetrieve the “id” number of the last record inserted and put it into “lastID”
PHP
![Page 12: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/12.jpg)
Connecting to the Database
Connecting to the Database Create the Recordsets
Image Table CUpdate
![Page 13: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/13.jpg)
Checks
Paths Directory Validation
![Page 14: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/14.jpg)
Beginning the Loop
readdir( ) $satName
![Page 15: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/15.jpg)
File Name Deconstruction
110824.1424.n18.tiff $cnvrtDate $cnvrtTime Satellite Name
![Page 16: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/16.jpg)
Database Insertion
Query mysql_query( ) mysql_insert_id( )
Values
![Page 17: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/17.jpg)
Copy
copy( ) echo
![Page 18: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/18.jpg)
Convert
exec( ) Medium Directory
TIFF
JPEG
![Page 19: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/19.jpg)
Convert Resize
Low Directory Thumbnail Directory
TIFFJPEG
![Page 20: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/20.jpg)
Finishing the Loop
unlink( ) closedir( )
![Page 21: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/21.jpg)
Update Time
date( ) CUpdate
![Page 22: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/22.jpg)
Results
Multiple sets of images Permissions Final Execution
![Page 23: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/23.jpg)
Conclusion
Goals Achieved Daily Conversion Easier Implementation
![Page 24: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/24.jpg)
Future Work
Email notification Image Presentation @
![Page 25: Redesign of the CERSER Cataloguing System for TeraScan ® Processed Images](https://reader034.fdocuments.us/reader034/viewer/2022051402/56816276550346895dd2e62e/html5/thumbnails/25.jpg)
Questions