Input From a File

Main Help Desk    Table of Contents


Description:

Allows you to import your own bmp or mat files.

Specifying a Mask (Step 1) :

spacer.gif (825 bytes) The Add A Piece wizard supports the importation of 256 color BITMAP's and Matlab "MAT" files.  BITMAPS can be created by a BITMAP drawing program, such as Paint Brush.  **Note: 24-bit BTIMAP's do NOT work. MAT files can be generated in MATLAB using the save command.  Figure (B) shows a sample input mask that is stored in a BITMAP file.

addpiece_wizard.specify_input.gif (19201 bytes)

addpiece_wizard.sample.input.gif (990 bytes)
(A) (B)

If a matrix is choosen, the Add A Piece Wizard will ask which matrix it should use:

addpiece_wizard.select_matrix.gif (25661 bytes)

Specifying The Pieces Size (Step 2) :

spacer.gif (825 bytes) The Piece Size window is where the size and location of the input mask is specified.

The input mask will be re-interpolated based on the sampling of the mask it is being placed into.

If the Full Window Button is clicked, then the input mask will replace the old mask entirely.

addpiece_wizard.piece_window.gif (27760 bytes)

Scaling The Mask (Step 3) :

spacer.gif (825 bytes) The Bitmap Scaling scaling parameters specify the dynamic range of the mask.

addpiece_wizard.scaling.gif (15462 bytes)

One purpose of Bitmap Scaling is the addition of a phase factor to the input mask.

Saving The Updated Mask (Step 4):

spacer.gif (825 bytes) The Bitmap Scaling scaling parameters specify the dynamic range of the mask.

addpiece_wizard.specify_output.gif (29341 bytes)

The target file, for example, contains two masks:

spacer.gif (825 bytes) tar_br - Bulk Reflection
tar_yy - Kerr Component

If the Add Piece Wizard was used to modify the "Bulk Reflection" component, and then this modified mask is saved to a new file, then the Add Piece Wizard will copy the the missing mask (tar_yy) into the new file.   Most mask files, however, just contain one mask.

Sample Output :

spacer.gif (825 bytes)
This is the mark inserted into the target's "Bulk Reflection" mask':addpiece_wizard.sample.output.gif (10499 bytes)