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 : Sunday, June 14, 2015 9:46:15 PM(UTC)
anilsharma150

Groups: Registered
Posts: 16


Dear i'm using leadtools v18 Trial, I need to get Statistical Analysis (Mean,Max,Min,Pixel Count & SD) in (Axial,Sagittal & Coronal) when we use Eclipse or Rectangle Annotation.
 

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 : Tuesday, June 16, 2015 6:43:02 AM(UTC)

Daoud  
Daoud

Groups: Registered
Posts: 256


Anil,
You should not be using v18 eval. If you still haven't purchased our toolkit, make sure to download the free evaluation of v19 and test with it.

You can use the StatisticsInformationCommand of Leadtools.ImageProcessing.Effects Namespace to get mean, median, standard deviation, min value , max value and pixel
count etc.

This function works with regions so can do this as follows:
1- Get the Axial,Sagittal or Coronal frames using GetMPRInformation()
2- Then using RasterImage.AddRectangleToRegion() or RasterImage.AddElipseToRegion() specify the area you want to get the statistical information.
3- Apply StatisticsInformationCommand on the image.
The following code shows how to get the first image for the axial frame:
======================
Medical3DControl control3D = (Medical3DControl)_viewer.Cells[0];
Medical3DMPRInfo axialInfo = control3D.ObjectsContainer.Objects[0].GetMPRInformation(Medical3DMPRPlaneType.Axial, 0);
axialInfo.Image.AddRectangleToRegion(null, new LeadRect(10, 10, 30, 30), RasterRegionCombineMode.And);
StatisticsInformationCommand cmd = new StatisticsInformationCommand();
cmd.Channel = RasterColorChannel.Master;
cmd.Start = 0;
cmd.End = 255;
cmd.Run(axialInfo.Image);
======================

 
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-2019, Yet Another Forum.NET
This page was generated in 0.087 seconds.