objectmap = CreateObjectMap ( height, width, depth ) Create an empty objectmap.
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 );