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 : Wednesday, August 5, 2009 5:13:28 AM(UTC)
dkrijnen

Groups: Registered
Posts: 22


Currently the viewer of v15 and v16 can only create a angle based on 3 points. Specifically for medical images, sometimes the angle between two bones (not connected to eachother) are measured.
To do so, 4 points need to be set. The two first to draw a line trough the first part, and the next two through the next part. The angle difference between the two lines descibes the measurement.

The attached image is just an example.
dkrijnen attached the following image(s):
4point_measurement.JPG
 

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 : Thursday, August 6, 2009 5:03:16 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

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

This can be done but not directly. You can draw 2 annotation line objects then calculate the slope difference between them. Here are the steps to do that:
1. Obtain the end points of each line and calculate the slope. To do that, use this formula:
slope = (y2 - y1) / (x2 - x1)
Of course you should consider the special case of a vertical line where x1 = x2 and use a modified approach.

2. Calculate the inclination angle for each line, which is the arctangent of the slope.

3. Subtract the inclination angle of one line from the other and you will get the angle between them.

If you want, you can do these calculations in a custom annotation object that has 4 points.

If you want to request a feature for this, please send a ticket to support@leadtools.com and describe what you need exactly. If you do that, please mention this forum post.
 
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.055 seconds.