LSegment::MrcLoadSegmentation
#include "ltwrappr.h"
L_INT EXT_FUNCTION LSegment::MrcLoadSegmentation(phSegment, pBitmap, pszFileNamer)
LBitmapBase * pBitmap; |
/* pointer to an LBitmapBase object */ |
/* output file name */ |
Loads segments from a file. This function is available in the (Document/Medical) toolkits.
Parameter |
Description |
pBitmap |
Pointer to the target LBitmapBase object that references the target bitmap. |
pszFileName |
Character string that contains the output file name. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function loads the segments from a file to the segmentation handle.
Call LSegment::MrcEnumSegments to enumerate the segments.
Required DLLs and Libraries
LTSGM For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Elements: |
|
Topics: |
|
|
Example
L_INT ImportSegments(LSegment Segment, L_TCHAR L_FAR* pszFileName, LBitmapBase &Bitmap)
{
return Segment.MrcLoadSegmentation(&Bitmap, pszFileName);
}