9.2 API
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

9.1 Good & Bad 
9.2 API 
9.3 Set Filters 
9.4 First 2 Settings 
9.5 Chapter Projects 

 

[Home][9 Processing][9.2 API]

 

9.2   Processing API

The Image Processing interface is:

      public interface I_ImageProcessing70

          {

              string [] getEdgeFilterNames();

              int getEdgeFilterDefaultIndex();

              string [] getThresholdFilterNames();

              int getThresholdFilterDefaultIndex();

              string [] getCleanUpFilterNames();

              int getCleanUpFilterDefaultIndex();

       

              int getDoubleImageProcessing ();

              void setDoubleImageProcessing (int x);

       

              bool setImage (Bitmap sImageName );

       

              bool imageProcess();

       

              void setEdgeFilter(int x);

              int getEdgeFilter();

              bool getEdgeFiltersStatus();

       

              void setThresholdFilter (int x);

              int getThresholdFilter ();

              bool getThresholdFiltersStatus();

       

              void setCleanUpFilter (int x);

              int getCleanUpFilter ();

              bool getCleanUpFilterStatus();

       

              void setR1(int x);

              int getR1();

              void setR2(int x);

              int getR2();

              void setR3(int x);

              int getR3();

              void setG1(int x);

              int getG1();

              void setG2(int x);

              int getG2();

              void setG3(int x);

              int getG3();

              void setB1(int x);

              int getB1();

              void setB2(int x);

              int getB2();

              void setB3(int x);

              int getB3();

          }//image processing

The following table lists the functions.

Functions   

Description

string [] getEdgeFilterNames();

int getEdgeFilterDefaultIndex();

string [] getThresholdFilterNames();

int getThresholdFilterDefaultIndex();

string [] getCleanUpFilterNames();

int getCleanUpFilterDefaultIndex();   

Gets the basic info about Edge filter, Threshold filter, and Clean-Up filter.

int getDoubleImageProcessing ();

void setDoubleImageProcessing (int x);  

Sets and gets the �Double Processing� parameter.

bool setImage (Bitmap sImageName ); 

Sets the input image for the Image Processing filters, which is also the output image; i.e. the image processing is applied to the image directly.

void setEdgeFilter(int x);

int getEdgeFilter();

bool getEdgeFiltersStatus();

void setThresholdFilter (int x);

int getThresholdFilter ();

bool getThresholdFiltersStatus();

void setCleanUpFilter (int x);

int getCleanUpFilter ();

bool getCleanUpFilterStatus();   

Sets and gets Image Processing filters.

bool imageProcess();    

Apply the image-processing filter to the input image. The input image is also the output image, because the filter is applied to the image directly.

void setR1(int x);int getR1();

void setR2(int x);

int getR2();void setR3(int x);

int getR3();void setG1(int x);

int getG1();void setG2(int x);

int getG2();

void setG3(int x);

int getG3();

void setB1(int x);

int getB1();

void setB2(int x);

int getB2();

void setB3(int x);

int getB3();  

Sets and gets Threshold Filter parameters.

   

To add an image-processing object, add:

      Attrasoft.TransApplet70.ImageProcessing70.ImageProcessing70 ip70;

      private void Form1_Load(object sender, System.EventArgs e)

          {

          ipre70 = new Attrasoft.TransApplet70.ImagePreProcessing70 .

          ImagePreProcessing70 (richTextBox1);

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

          richTextBox1.Clear ();

          }

 

[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