typedef struct _SLICEBITMAPOPTIONS
{
L_UINT uStructSize;
L_UINT uMaxDeskewAngle;
L_INT crFill;
L_INT uFlags;
} SLICEBITMAPOPTIONS, *pSLICEBITMAPOPTIONS;
The SLICEBITMAPOPTIONS structure provides information for the L_SliceBitmap function, which is used to extract individual slices from radiographic scanned film.
Size of the structure. Should be set to sizeof(SLICEBITMAPOPTIONS).
Maximum angle of deskew, in hundredths of a degree. Possible values range from 0 to 1000. (The value in degrees is uMaxDeskewAngle divided by 100). This parameter is used only if the SLC_DESKEW flag is set.
Color used to fill the background following rotation. This parameter is used only if the SLC_DESKEW flag is set.
Flags that indicate whether to deskew the sliced bitmap, which type of interpolation to use when roating, and whether to cut the slice from the original image. You can use a bitwise OR (|) to specify one flag from each group.
The following flags specify whether to deskew the image:
Value | Meaning |
---|---|
SLC_WITHOUTDESKEW | [0x0000] Do not Deskew. |
SLC_DESKEW | [0x0001] Deskew the sliced bitmap. |
Value | Meaning |
---|---|
SLC_DSKW_LINEAR | [0x00000000] Do not perform any interpolation methods when rotating. |
SLC_DSKW_RESAMPLE | [0x00000010] Perform bilinear interpolation when rotating. |
SLC_DSKW_BICUBIC | [0x00000020] Perform bicubic interpolation when rotating. |
Value | Meaning |
---|---|
SLC_WITHOUTCUT | [0x00000000] Do not cut the slice from its original image. Send the NULL value to the callback pBitmap parameter. |
SLC_CUTSLICES | [0x00000100] Cut the slice from its original image. Send a pointer to the created bitmap to the callback pBitmap parameter. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document