Creates a reference line label
Visual Basic |
---|
Public Function ReferenceLine( _ ByVal Image As DicomImage, _ ByVal Intersection As Boolean _ ) As DicomLabel |
This method is used which you wish to show the relative positions of one image on another. It is typically used in CT and MRI to indicate the position of main imaging sections relative to a previously obtained localiser or “scout” image.
The method is called on the “localiser” image, and the first parameter is the main section who’s position is to be shown. The result is a new DicomLabel object which is designed to be added to the localiser image’s Labels collection. E.g. if “localiser” and “main_image” are defined as DicomObjects, then the following code will add an appropriate reference line to the localiser image:
Set NewLabel = localiser.ReferenceLine(main_image, false) Localiser.Labels.Add NewLabel