Home > bioelectromagnetism > CreateObjectMap.m

CreateObjectMap

PURPOSE ^

objectmap = CreateObjectMap ( height, width, depth )

SYNOPSIS ^

function objectmap = CreateObjectMap ( height, width, depth )

DESCRIPTION ^

 objectmap = CreateObjectMap ( height, width, depth )
 Create an empty objectmap.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function objectmap = CreateObjectMap ( height, width, depth )
0002 % objectmap = CreateObjectMap ( height, width, depth )
0003 % Create an empty objectmap.
0004 
0005 objectmap = struct ( 'Version', 910926 );
0006 objectmap.Width = width;
0007 objectmap.Height = height;
0008 objectmap.Depth = depth;
0009 objectmap.NumberOfObjects = 1;
0010 
0011 objectmap.Objects = DefaultObject ( 'Original' );
0012 objectmap.Image = ones ( objectmap.Height, objectmap.Width, objectmap.Depth );

Generated on Mon 15-Aug-2005 15:36:19 by m2html © 2003