ui.recognizer
Class PostScriptConverter
java.lang.Object
ui.recognizer.PostScriptConverter
public class PostScriptConverter
- extends Object
Convert the spectra line plot data extracted from a PostScript file extract to
wavelength versus intensity plot using reference coordinates from tics on xy axes.
This text-based class is designed to convert non-bitmapped ADS publications
into spectra data.
- INPUT: A file containing the PostScript file extract and reference
coordinates from tics on x-y axes
- OUTPUT: A spectra file containing wavelength vs. intensity plot
The input file format :
< directives >
initialLowerLeft.x initialLowerLeft.y finalLowerLeft.x finalLowerLeft.y
initialUpperRight.x initialUpperRight.y finalUpperRight.x finalUpperRight.y
initial starting point (optinal for relative coordinates)
x1 y1
x2 y2
...
The directives include : noskip, skip, landscape, relative, z 1.234
- Author:
- by John Talbot
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostScriptConverter
public PostScriptConverter()
main
public static void main(String[] args)