5.4 Declare Objects
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

5.1 Create a Project 
5.2 Create Menus 
5.3 Link to Class 
5.4 Declare Objects 
[Home][5 Interface][5.4 Declare Objects]

 

5.4   Declare Objects

Each Library has one main class, which has the same name as the Library-name:

      Attrasoft.transapplet70.Batch70.Batch70

      Attrasoft.transapplet70.BioFilter70.BioFilter70

The advantage of naming the class-name as the library-name is that you will know what to use, i.e.

  •    if you go to Library, �Attrasoft.transapplet70.Batch70�, use Batch70 class;
  •    if you go to Library, �Attrasoft.transapplet70.BioFilter70�, use BioFilter70 class, �

There is no guessing which class you should choose if the Library has more than one class.

The disadvantage is the compiler will not be able to distinguish between the class-name and the Library-name unless you use the full name.

 

To make a long story short, declare all TransApplet objects using the full class-name like this:

    public Attrasoft.TransApplet70.Test70.ImageProcessing70 ip70

        = new Attrasoft.TransApplet70.Test70.ImageProcessing70 ();

    public Attrasoft.TransApplet70.Test70.BioFilter70 bf70

        = new Attrasoft.TransApplet70.Test70.BioFilter70 ();

 

[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