LEADTOOLS Support
General
General Questions
Obtaining Statisical Information from rectangular annotations in the MedicalViewer
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, October 25, 2013 12:45:40 PM(UTC)
Groups: Registered, Tech Support
Posts: 207
Was thanked: 3 time(s) in 3 post(s)
Attached is a project in both version 17.5 and version 18
Version 17.5 uses Visual Studio 2008 with the .NET 2.0 framework
Version 18 uses Visual Studio 2010 with the .NET 4.0 framework.
The project allows you to load an image into the
MedicalViewer by simply creating a
MedicalViewerMultiCell class and adding it to the MedicalViewer's
Cells collection, or by using the
MedicalViewerLoader class with the
DicomDirRetrieveClient class to load images from a DICOMDir file into the MedicalViewer.
Once the images are loaded, you can then draw a rectangle annotation on the images. Once drawn, and selected, press the "Get Statistical Data" button to use the
StatisticalInformationCommand class to obtain information about the area within the rectangle annotation.
This is done by using the
MedicalViewerMultiCell.ConvertAnnotationToRegion function to convert the rectangle annotation to a region. Once the region is created the image is passed to the command class where only the image data in the region is considered. Following the command's execution the region is then removed from the image using the
MedicalViewerMultiCell.RemoveRegion function.
You can scroll through each of the images drawing annotations on multiple areas of the image on multiple images. To obtain the statistical information for any of them you simply select the annotation and press the "Get Statistical Data" button.
Travis Montgomery
Senior Sales Engineer
LEADTOOLS Support
General
General Questions
Obtaining Statisical Information from rectangular annotations in the 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.