Slice method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short Slice(ILEADRaster * pRaster, long lMaxDeskewAngle, OLE_COLOR crFill, long lFlags, VARIANT_BOOL bEnableSliceEvent);

Overview

Refer to Examining and Altering Bitmaps.

Remarks

(Raster Pro and above toolkits) This method extracts individual slices from a radiographic scanned film.

The figures below show examples of radiographic images before and after applying the Slice method where the output data was used to draw a white line around each separate slice.

image\BeforeSliceBitmap.gif

Film Before Function Is Called

image\AfterSliceBitmap.gif

Film After Function Is Called

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.

See Also

Elements:

OnSliceBitmap Event, SliceDeskewAngle property, ContinueSlicing property.

Topics:

Raster Images: Creating and Maintaining Lists of Images.

 

Raster Images: Creating and Using a Region.