Navigation:  C/C++ Scripting Engine > Classes >

dbImportImage

Previous pageReturn to chapter overviewNext page

Contains all information required for Image (BMP, TIFF, JPEG) Import.

bar_dot

 

Member Functions:

==============

 

void        setFileName( char *value )

THIS FUNCTION IS REQUIRED

Set the image file name to import.

 

void        setCellName( char *value )

THIS FUNCTION IS REQUIRED

Sets the cell name inside the workspace library to use.

 

void        setUnits( int value )

THIS FUNCTION IS REQUIRED

Assigns the pixel units to use during the import of this Image file.

 

Note: Image files are unit-less, and a pixel can theoretically represent any physical size. It is important that you specify the proposed units and scale for a pixels physical size. Choose from dbcMicron, dbcMillimeter, dbcCentimeter, dbcMeter, dbcMil, dbcInch, dbcNanometer. For more info on units see: Units

 

void        setColor( char *value )

OPTIONAL: DEFAULT VALUE = "White"

Select the image's transparent color, that will be ignored during importing. Choose either "Black" or "White".

 

void        setPixelSize( float value )

OPTIONAL: DEFAULT VALUE = 1.0

Set the scale to use for 1 Pixel.  Note: The logical pixel size defined by Pixel Units * Image Scale

 

void        setBackgroundRecognitionFactor( int value )

OPTIONAL: DEFAULT VALUE = 0

Black and White Images (such as JPEG's from a microscope) incorporate a "grey blending" which leads to very few background pixels actually being black or white. This setting is a ratio which was developed (by Numerical Innovations) to allow pixels with a "grey-scale" similar to that of the background color to be treated as such. This setting helps with "automatic recognition" of features, and has proved very useful for Failure Analysts(FA) who need photos taken from microscopic devices, converted back to GDSII or Gerber for comparison purposes against the CAD data.