Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#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?

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, November 3, 2010 7:46:32 AM(UTC)
Maen Hasan

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.

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.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.039 seconds.