Sets a specific ruler's calibration scale.
public void Calibrate(
LeadLengthD sourceLength,
AnnUnit sourceUnit,
LeadLengthD destinationLength,
AnnUnit destinationUnit
)
public:
void Calibrate(
LeadLengthD^ sourceLength,
AnnUnit^ sourceUnit,
LeadLengthD^ destinationLength,
AnnUnit^ destinationUnit
)
public void calibrate(LeadLengthD sourceLength, AnnUnit sourceUnit, LeadLengthD destinationLength, AnnUnit destinationUnit);
- (void)calibrate:(LTLeadLengthD)sourceLength
sourceUnit:(LTAnnUnit)sourceUnit
destinationLength:(LTLeadLengthD)destinationLength
destinationUnit:(LTAnnUnit)destinationUnit
def Calibrate(self,sourceLength,sourceUnit,destinationLength,destinationUnit):
sourceLength
Known source length value
sourceUnit
Unit of measure for the sourceLength
destinationLength
Calculated destination length
destinationUnit
Unit of measure for the destinationLength
Calibrating a ruler means assigning a specific length to it. This method will use the parameters to calculate a new value for the CalibrationScale of this ruler. This value is used afterwards only by this ruler object.
To globally calibrate all existing and new ruler objects created in this container, use AnnContainerMapper.Calibrate. For example, on a digital X-ray of a hand, you may draw an annotation ruler object along one of the fingers. You know that this distance is supposed to be exactly 6.5 cm. Using the new calibration functionality you can calibrate this ruler, all existing rulers, and all newly created rulers so that they would precisely measure this distance to be 6.5 cm. This is accomplished by first drawing a ruler on the container until it matches exactly the length of the finger - ignoring the values shown - then using Calibrate.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document