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, May 30, 2008 2:02:00 AM(UTC)
Gunasekaran

Groups: Registered
Posts: 53


Hello dude

      I am
using lead tools version 15.0, working in VB.Net environment using Medical Viewer control. How can i convert Pixel to centimeter in medical viewer control?

Thanks in Advance
Guna
 

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 : Sunday, June 1, 2008 7:01:58 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

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


Guna,


You can convert using this formula:


LengthCM = LenghtPixels * 2.54 / DPI


Where DPI is the resolution in dots per inch.

 
#3 Posted : Wednesday, June 18, 2008 9:09:20 PM(UTC)
Gunasekaran

Groups: Registered
Posts: 53


thanks for sending formula ....
Actually  I would like to have the  measurement in cm  while drawing Rectangle.
I have assumed the following things....

1.LengthPixel which u have mentioned in ur formula is the total no. of  pixel between the  two points(x1,y1) and (x2,y2).
I am using the following formula for calculating the total pixel count for rectangle.

2.Dpi which u have mentioned is Image Dpi or Screen dpi...

Please correct me if Iam wrong....
 
#4 Posted : Thursday, June 19, 2008 6:26:21 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

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

Guna,

What is the formula that you are referring to?

The DPI in the formula below is the Image Horizontal and vertical resolution (DPI)

LengthCM = LenghtPixels * 2.54 / DPI
 
#5 Posted : Thursday, June 19, 2008 10:08:06 PM(UTC)
Gunasekaran

Groups: Registered
Posts: 53


Thanks dude...
 
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.056 seconds.