Performs a digital stent enhancement on a sequence of X-Ray frames.


#include "ltwrappr.h"

virtual L_INT LBitmap::EnhanceStentImage()


Value Meaning
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.

Stent Enhancement Function - Before

Stent Enhancement Function - Before

Stent Enhancement Function - After

Stent Enhancement Function - After

View additional platform support for this Stent Enhancement function.

Required DLLs and Libraries


Win32, x64.

See Also


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  
   return SUCCESS; 
Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help