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 : Tuesday, September 18, 2007 8:25:10 AM(UTC)
bsardinha

Groups: Registered
Posts: 5


I was wondering if you have any information as to when it is (or is not) appropriate to measure on an image based on it's format and compression?  For example, can I know based on whether the image is a DICOM lossy image that it is inappropriate to measure on that image using the annotations ruler?  Is is true that just the fact that an image is lossy makes it inelligible for accurate measuring? 

What about a JPEG file with a quality of 2?  Is it true to that a JPG image with a FILE_JPEG_411 format and a quality of 2 (perfect) is lossy while a quality of zero is lossless?

Is there any way to know for sure if an image's aspect ratio has been altered in either direction which would make measuring inaccurate?

In my application, we have sonogram images which contain a scale from top to bottom usually along the right side of the image.  I can use that scale to "calibrate" to determine the exact DPI in the vertical direction which appears to provide accurate measurements (at least to the scale shown on the image).  However, if the image were to be stretched somehow in either direction, it would make sense that the measurements may not be accurate.

Do you know of any way to determine the appropriateness (or not) of measuring based on the images properties?

Hope you can help!

Barbara

 

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 : Wednesday, September 19, 2007 9:00:40 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 766


Yes it is true that a JPEG 411 with a QFactor  of 2 is lossy while QFactor of 0 is lossless.

The quality factor and compression used shoudn't have any affect on your measurements, only on image quality.  The measurements of a ruler are based on the DPI of the image, which doesn't change when saving an image.  As long as your image dimensions and DPI don't change, your measurements will always be accurate.  However, if you repeatedly load and save an image with a lossy compression, you will lose some image quality and eventually your color information will be lost and/or blurred, but the ruler measurements themselves will still be accurate.

If you change the bitmap's dimensions, make sure that you change the DPI by the same ratio to ensure your measurements are accurate.  However, loading and saving alone will not stretch or shrink an image's dimensions.
 
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-2020, Yet Another Forum.NET
This page was generated in 0.154 seconds.