LEADTOOLS Support
Medical
Medical SDK Examples
How To: Use DICOM annotations in the .NET MedicalViewer
#1
Posted
:
Thursday, March 1, 2018 4:27:55 PM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
Attached is a small C# 2017 project built with LEADTOOLS v20 that illustrates the following:
- How to load a multiframe dataset
- Use the Stack Action to scroll through frames
- Add annotations to frames using annotation actions
- Save the annotations out to a stream.
The original v19 project can be found
here.
This demo illustrates the use of a FileStream to save to disk or a MemoryStream, depending on the options set in the demo. If you're saving to file, it would be easier to use the
SaveAnnotation(string) overload. If you're saving to a Database though, it would be necessary to save the annotations out to a memory stream.
This demo can be used as a simple example on how to implement
Stack,
AnnotationAngle,
AnnotationArrow,
AnnotationEllipse,
AnnotationHilite,
AnnotationRectangle,
AnnotationRuler, and
AnnotationText actions.
Before running this project, please extract it to the following location:
C:\LEADTOOLS 20\Examples\posts\t12477
Edited by user Friday, March 2, 2018 8:39:39 AM(UTC)
| Reason: Not specified
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Medical
Medical SDK Examples
How To: Use DICOM annotations in the .NET MedicalViewer
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.