⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 howto.standalone

📁 Please read your package and describe it at least 40 bytes. System will automatically delete the di
💻 STANDALONE
字号:
How to use Dexter outside of the ADS====================================Dexter was primarily written to support extraction of data from scansat ADS.  However, with a little fiddling you can make it work onyour local site.  Rather than doing this -- in particular if you'venever built a Java application before --, I suggest you check outhttp://vo.uni-hd.de/dexter/ui/ui/custom.  This is a version of dexteryou can upload your own data to.The instructions below only cover Unix-like systems.  You should make sure that you have fairly recent versions ofSun jdk (version 1.5 or higher), GNU make, and that both javac and java are on your path.  As far as windows is concerned, you may be able to run Debuxter if youhave a local version of the JRE installed, but the rest of thescripts in this distribution will be useless to you (some may actually work if you have ghostscript and cygwin installed).What should work under windows is opening a command line prompt andthen typing:          start Debuxter example.gifDebuxter========With debuxter, you can extract data from bitmap images of (preferably)pre-cropped graphs.  Note: Indexed images (GIFs, some PNGs) shouldnot have more than 128 colours, since otherwise the recognizerswon't work due to a bug (or my stupidity) in AWT's IndexedColorModel.For the usual graphs, 128 colours are more than enough, though.Trymake debugin the directory you unpacked the Dexter sources to.  When the machineis done building, you should see Dexter's extraction window.If that doesn't happen, your Java Runtime probably is too old.  Ifyou send me bug reports, please include the entire output of "makedebug".To process own images (but see above),java -mx30000000 -jar Debuxter.jar <name-of-image>(the -mx option just sets the heap size of the program to somethingreasonable for handling images).  You should now see Dexter's mainextraction window with your image in it.On windows, you'd put both Debuxter.jar and your image into a commondirectory, open the command prompt, go into that directory and saystart Debuxter.jar <name-of-image>You may have to increase the heap size here as well.Note again that Debuxter doesn't support saving the results.  You can,however, "Show data" and cut'n'paste the results.  See the followingparagraph for a somewhat more streamlined stand-alone operation.Gaucho======Gaucho gets its images from a shell script, and thus you can potentiallyextract from anything you can get images from.  Due to the dependenceon shell scripts, this won't work on Windows unless you get yourselfsomething like Cygwin (which is quite recommendable anyway).Probably the most common application is extraction from postscript files.The script dexter_getImage that is shipped with the distribution usesghostscript and netpbm for this conversion -- you need to have bothpackages installed for Gaucho to work.Go to the directory you unpacked Dexter to and saymake testAfter a while (possibly quite a long while) you should see a selectionwindow pop up.  Mark the part you want to run the extraction on withthe mouse, wait a little more[1], and you'll see the selection window.If this doesn't work, it may be that you're missing tools -- checkif there's a convert.log file and check its contents.  Also, trydexter_getImage -s8 sample.ps-- this may help to see why the image aquistion failed.To extract from your own postscript or pdf, say./runGaucho /path/to/your/ps.This extracts from the first page.  If you want to extract from laterpages, just prepend a <pageno>@, e.g../runGaucho 4@/path/to/your/psextracts from the fourth page.If you know a bit Bourne shell, you can check out dexter_getImage andfiddle around.System-wide installation========================I've made no provisions for system-wide installation yet, but if youask me, I'll probably have motivation to do so.---[1] This can actually take quite a while if your machine is slowishand your extraction resolution is high (you can probably speed it upup a bit by reducing the AlphaBits in dexter_getImage:procVector at the expense of antialiasing).  This could be made much fasterif ghostscript could be told to output a cropped image.  Any hintsin that direction are welcome.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -