|
|
|
|
[Home][27 ImageHunt ][27.9 DOS Class]
|
|
27.9 Dos ClassWe will briefly review the Dos70 library introduced in the last chapter. We will use the “Attrasoft.Transapplet70.Dos70” library; please read the last chapter to become familiar with this library. The main class in this library will be: Attrasoft.TransApplet70.Dos70.Dos70. The interface, which is implemented by Dos70, is: public interface I_Dos70 { //Parameters string getFilePath (); void setFilePath (string s);
// Command bool save (int i); bool open (int i ); bool load (); bool run(); bool ImageFinderForDos (int i); } To set the batch file, use: string getFilePath (); void setFilePath (string s). There is only one command: bool ImageFinderForDos (int x). which is the same as: bool open (int i ); bool run(); The parameter, x, can have the following values: 1, 2, 3, 4, 5.
To include the class library in the project,
To declare an object, add: Attrasoft.TransApplet70.Dos70.Dos70 d70 = new Attrasoft.TransApplet70.Dos70.Dos70 ();
[Home][About][1 Introduction][2 Image Recognition][3 TransApplet][4 API][5 Interface][6 Input][7 Image Display][8 Preprocessing][9 Processing][10 Normalization][11 Parameter Class][12 Image Signatures][13 Unsupervised Filters][14 BioFilters][15 NeuralFilters][16 Dynamic Library][17 NeuralNet Filter][18 Parameters][19 Input Options][20 Database Input][21 Video Input][22 Live Video Input][23 Counting & Tracking][24 Counting ][25 Batch Job][26 ImageFinder for DOS][27 ImageHunt ][28 Support Packages]
Copyright (c) 2006 - 2007 Attrasoft. All rights reserved. |