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

8.1 Filter 
8.2 API 
8.3 Parameters 
8.4 Border Areas 
8.5 Mask 
8.6 Speed Up 
8.7 Skip Empty Border 

 

[Home][8 Preprocessing][8.2 API]

 

8.2   PreProcessing API

The Image Preprocessing interface is:

      public interface I_ImagePreProcessing70

          {

              int getMaskX();

              void setMaskX(int x);

              int getMaskY();

              void setMaskY(int x);

              int getMaskW();

              void setMaskW(int x);

              int getMaskH();

              void setMaskH(int x);

              int getMaskType();

              void setMaskType(int x);

       

              int getBorderCut();

              void setBorderCut(int x);

       

              int getStickShift();

              void setStickShift(int x);

       

              void setSkipEmptySpaceType(int x);

              int getSkipEmptySpaceType();

       

              void setSkipEmptySpacePercentage(int x);

              int getSkipEmptySpacePercentage();

              

              void setSkipEmptySpaceThresholdFilter(int x);

              int getSkipEmptySpaceThresholdFilter();

       

              void setSkipEmptySpaceEdgeFilter(int x);

              int getSkipEmptySpaceEdgeFilter();

       

              Bitmap getPreProcessingImageBW (Bitmap bImg);

              Bitmap getPreProcessingImageColor (Bitmap bImg);

              

          }

The following table lists the functions.

Functions   

Description

int getMaskX();

void setMaskX(int x);

int getMaskY();

void setMaskY(int x);

int getMaskW();

void setMaskW(int x);

int getMaskH();

void setMaskH(int x);

int getMaskType();

void setMaskType(int x);  

Sets and gets mask (x, y, w, h) and mask type.

int getBorderCut();

void setBorderCut(int x);    

Sets and gets Border Cut.

int getStickShift();

void setStickShift(int x);  

Sets and gets Stick Shift.

void setSkipEmptySpaceType(int x);

int getSkipEmptySpaceType();

void setSkipEmptySpacePercentage(int x);

int getSkipEmptySpacePercentage();        

void setSkipEmptySpaceThresholdFilter(int x);

int getSkipEmptySpaceThresholdFilter();

void setSkipEmptySpaceEdgeFilter(int x);

int getSkipEmptySpaceEdgeFilter();  

Sets and gets parameters for Skip Empty Space.

Bitmap getPreProcessingImageBW (Bitmap bImg);

Bitmap getPreProcessingImageColor (Bitmap bImg);   

Get preprocessed image from an input image, bImg.

   

 

 

To add an image preprocessing object, add:

      Attrasoft.TransApplet70.ImagePreProcessing70.ImagePreProcessing70 ipre70;

       

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

          {

      ipre70 = new Attrasoft.TransApplet70.ImagePreProcessing70

       .ImagePreProcessing70 (richTextBox1);

          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