This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, February 13, 2009 2:29:56 AM(UTC)
Groups: Registered
Posts: 6
Hi,
I need to measure the lenght, perimeter and surface area of the AnnObjects and of the region. I just referenced image in the right AnnUnit, but I don't try method or class for my purpose.
I'm using C DLL with LT 16 Document toolkit.
Thanks
#2
Posted
:
Sunday, February 15, 2009 7:21:24 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
For closed objects that have an area, such as ellipse or rectangle, you can use the L_AnnGetArea function to obtain the area.
Other than that, there are no general-purpose functions that work with object types. If the object has a ruler in it (Ruler, Protractor, Crossproduct and Polyruler), you can use the L_AnnGetDistance2 function.
About perimeter, there are no function to calculate it directly. You can only get the bounding rectangle using L_AnnGetBoundingRect.
#3
Posted
:
Thursday, March 5, 2009 3:21:41 AM(UTC)
Groups: Registered
Posts: 6
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.