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

Notification

Icon
Error

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

Nick  
Nick

Groups: Registered, Tech Support, Administrators
Posts: 43


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.
https://www.leadtools.com/help/leadtools/v19m/dh/to/regionpreempt.html

Also note some commands disregard the presence of a region and are applied to the entire image regardless.
https://www.leadtools.com/help/leadtools/v19m/dh/to/methodsthattransformtheregionandtheimage.html

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.
https://www.leadtools.com/help/leadtools/v19m/dh/to/definingandusingaregion.html

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.
https://www.leadtools.com/help/leadtools/v19m/dh/to/creatingaregion.html

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.
https://www.leadtools.com/help/leadtools/v19m/dh/to/l-topics-savingaregion.html

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.
https://www.leadtools.com/help/leadtools/v19m/dh/l/rasterimage-hasregion.html

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.
https://www.leadtools.com/help/leadtools/v19m/dh/l/rasterimage-makeregionempty.html
Nick Crook
Developer Support Engineer
LEAD Technologies, Inc.
nick@leadtools.com
www.LEADTOOLS.com
 

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