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



Last Go to last post Unread Go to first unread post
#1 Posted : Friday, August 4, 2017 3:01:24 PM(UTC)


Groups: Registered, Tech Support, Administrators
Posts: 163

Was thanked: 9 time(s) in 9 post(s)

How does a region affect RasterImages?
By default, LEADTOOLS RasterCommands function on a RasterImage as a whole. However, there are specific RasterCommands which only operate on a defined region of an image if such a region exists. These commands our listed in our documentation.

Also note some commands disregard the presence of a region and are applied to the entire image regardless.

How can a region be added to a RasterImage?
We offer a wide variety of methods to add a region to an image. Rectangles, polygons, ellipses, all pixels of a specific color can all be used to add a region. See our documentation for a complete list.

How can a region be defined?
There are multiple ways in which the area of a region can be manipulated. It's not necessary for a region to be a consistent shape, size, nor be in one piece or contiguous. For information on how regions can be defined see our documentation on "Creating a Region", which shows the various methods in which region boundaries can be manipulated.

Can region definitions persist in saved files?
Files saved in the TIFF file format will have their regions saved. However, it's necessary to have licensed either Document Imaging or Medical Imaging to access this functionality.

How can it be determined if a RasterImage has a region defined?
The RasterImage.HasRegion property contains a boolean value that determines if a region of any area is present in the image.

Can a region be removed?
The RasterImage.MakeRegionEmpty() method removes an existing region from an image. Note this removes the entire region regardless of area--even if there are multiple non-contiguous areas of interest in an image, these are still considered to be a single region.

Edited by moderator Wednesday, December 27, 2023 1:59:06 PM(UTC)  | Reason: Updated

Nick Crook
Developer Support Engineer
LEAD Technologies, Inc.

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.

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-2024, Yet Another Forum.NET
This page was generated in 0.053 seconds.