#include "ltwrappr.h"
virtual L_INT LBitmap::EnhanceStentImage()
Performs a digital stent enhancement on a sequence of X-Ray frames.
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This command enhances the visibility of the stent device by motion compensation and integrating the frames of the X-Ray sequence.
The output of the command is a referenced image containing an updated region with the motion compensation and integrated frames.
This command does not support camera motion (C-Arm motion).
To get the best result, the sequence should contain more than 40 frame.
This command supports 8, 12, 16-bit grayscale images.
Required DLLs and Libraries
LTDIS LTFIL LTIMGCOR For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
Topics: | Raster Image Functions: Filtering Images |
Removing Noise | |
Raster Image Functions: Removing Noise |
L_INT LBitmap__EnhanceStentImageExample()
{
L_INT nRet;
LBitmap LeadBitmap; /* Bitmap handle for the image */
nRet = LeadBitmap.Load(MAKE_IMAGE_PATH(TEXT("IMAGE1.dcm")), 0, ORDER_BGR);
if(nRet !=SUCCESS)
return nRet;
//Apply enhance stent to LeadBitmap
nRet = LeadBitmap.EnhanceStentImage();
if(nRet !=SUCCESS)
return nRet;
pBITMAPHANDLE pBitmapHandle = LeadBitmap.GetHandle();
//free bitmap
if(pBitmapHandle->Flags.Allocated)
L_FreeBitmap(pBitmapHandle);
return SUCCESS;
}
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