This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, November 3, 2010 1:41:33 AM(UTC)
Groups: Registered
Posts: 6
Using imaging toolkit version 16.5 Pro, have a number of areas of interest that are defined as rectangles (x,y,height,width). Simply want to build a simple overlay bitmap that shows these rectangles superimposed on the main image and moves with the main image in the image viewer. Do I need a Medical or Document licence to achieve this?
#2
Posted
:
Wednesday, November 3, 2010 7:46:32 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
If I understand the requirements correctly, you want to display parts of one image (overlay) on top of another image (main).
One way to do that is using annotations, which is a LEADTOOLS Document Imaging feature, as follows:
1. Copy the overlay image to a temporary RasterImage and define all areas of interest as parts of the image's region (the region can consist of multiple parts).
2. Invert the region and fill the unneeded parts with a uniform color that's not part of the overlay image (to be used for transparency).
3. Create a Stamp annotation object on the viewer containing the main image and assign the temp (modified overlay) image as the Stamp object image.
4. Define the Stamp object transparent color as the color you used to fill the unneeded areas.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.