20.2  Input Class
About1 Introduction2 Image Recognition3 TransApplet4 API5 Interface6 Input7 Image Display8 Preprocessing9 Processing10 Normalization11 Parameter Class12 Image Signatures13 Unsupervised Filters14 BioFilters15 NeuralFilters16 Dynamic Library17 NeuralNet Filter18 Parameters19 Input Options20 Database Input21 Video Input22  Live Video Input23  Counting & Tracking24  Counting 25  Batch Job26 ImageFinder for DOS27 ImageHunt 28 Support Packages

20.1  Access Class 
20.2  Input Class 
20.3 Input Selection 
20.4 Parameter Input 
20.5 Input Implementation 
20.6 Testing 

 

[Home][20 Database Input][20.2 Input Class]

 

20.2    Input Class

An alternation is to use Input70 class introduced earlier.

The class library is:

            Attrasoft.TransApplet70.Input70.

The main class in this library will be:

            Attrasoft.TransApplet70.Input70.Input70.

The Input70 interface is:

        public interface I_Input

            {

                string [] getDirList ( string sInput);

                

                string [] getSubDirList ( string sInput);

         

                string [] getFileList ( string sInput);

                string []  getFileSegmentList ( string sInput);

                

                string [] getAccessList ( string sInput, string sSQL);

                string []  getAccessSegmentList ( string sInput, string sSQL);

         

                string [] getID ( );

                string [] getName ( );

                string [] getPath ( );

                string [] getAbsolutePath ( );

                string [] getX ();

                string [] getY ();

                string [] getW ();

                string [] getH ();

            }

The functions in Input70 class are listed in the following table.

Function    

Description

string [] getDirList ( string sInput)   

Gets a string list of the absolute paths of all images in directory, sInput.

string [] getSubDirList ( string sInput)    

Gets a string list of the absolute paths of all images in all sub-directories of sInput.

string [] getFileList ( string sInput)  

Gets a string list of the absolute paths of all images in file, sInput.

string []  getFileSegmentList ( string sInput)  

Gets a string lists of the absolute paths of all images in file, sInput. This command will also populate other arrays so they can be obtained through the following functions: 

 string [] getID ( );    

string [] getName ( );  

string [] getPath ( );  

string [] getAbsolutePath ( );  

string [] getX ();  

string [] getY ();  

string [] getW ();  

string [] getH ().

string [] getAccessList ( string sInput, string sSQL)   

Gets a string list of the absolute paths of all images in access file, sInput, specified by a SQL statement, sSQL.

string []  getAccessSegmentList ( string sInput, string sSQL)   

Gets a string list of the absolute paths of all images in access file, sInput, specified by a SQL statement, sSQL. This command will also populate other arrays so they can be obtained through the following functions:    

string [] getID ( );    

string [] getName ( );  

string [] getPath ( );  

string [] getAbsolutePath ( );  

string [] getX ();  

string [] getY ();  

string [] getW ();  

string [] getH ().

string [] getID ( )

string [] getName ( )

string [] getPath ( )

string [] getAbsolutePath ( )

string [] getX ()

string [] getY ()

string [] getW ()

string [] getH ()  

Gets a string list of the ID, Name, Path, Absolute Path, X, Y, W, and H of all images in a search source.

   

 

 

 

[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.

gina@attrasoft.com