Edit

_ClearColor, ClearAllOverlays, ClearAnnotations, ClearColor, ClearColorND

ClearAllOverlays

This function runs the Clear All Objects and ROIs command.

Description 

 ClearAllOverlays();

This function will erase all vector overlay layers of the current image i.e. annotations, measurement objects, ROIs.

ClearAnnotations

This function runs the Image > Clear > Clear Annotations command.

Description 

 ClearAnnotations();

This function clears the current annotation layer and sets all pixels to the transparent color (RGB(1,1,1)).

See Also 
RGB

ClearColor

Interactive command to this function: Image > Clear > Clear Color

Description 

 ClearColor();

This function clears the current color image and sets all pixels to zero intensity.

See Also 
ClearBinary

ClearColorND

Description 

 ClearColorND(
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function clears the current color layers of an ND2 document and sets all pixels to zero intensity.

Parameters

int NDTLoop

0

apply to the current loop only

1

apply to the whole Time dimension

int NDMPLoop

Apply to Multi Point dimension.

0

apply to the current loop only

1

apply to the whole Multi Point dimension

int NDZLoop

Apply to Z dimension

0

apply to the current loop only

1

apply to the whole Z Series dimension

_ClearColor

This function runs the Image > Clear > Clear Color command.

Description 

 _ClearColor();