ImageGear for .NET
GetPlaneSize(Int32,Int32,Int32,Int32,ImGearMprViewType,Boolean) Method
See Also  Send Feedback
ImageGear21.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearMprProcessor Class > GetPlaneSize Method : GetPlaneSize(Int32,Int32,Int32,Int32,ImGearMprViewType,Boolean) Method




x1
Start X coordinate of the plane.
y1
Start Y coordinate of the plane.
x2
End X coordinate of the plane.
y2
End Y coordinate of the plane.
viewType
Specifies on which view to perform calculation.
rotateAxes
Indicates whether to rotate axes, so vertical axis becomes horizontal and vise versa. Should be true when reconstructing sagittal view from coronal view, or axial and coronal views from saggital view; false otherwise.

Glossary Item Box

Returns expected size of the reconstructed view in the provided plane.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

x1
Start X coordinate of the plane.
y1
Start Y coordinate of the plane.
x2
End X coordinate of the plane.
y2
End Y coordinate of the plane.
viewType
Specifies on which view to perform calculation.
rotateAxes
Indicates whether to rotate axes, so vertical axis becomes horizontal and vise versa. Should be true when reconstructing sagittal view from coronal view, or axial and coronal views from saggital view; false otherwise.

Return Value

Expected size of the reconstructed view.

Remarks

X and Y represent starting and ending coordinates of the line used to specify the plane for reconstructing the view.

E.g. if original stack of images represents axial view, then:

To get coronal view, y1 and y2 should be equal to each other.

To get sagittal view, x1 and x2 should be equal to each other.

Any other set of X and Y coordinates will produce oblique view.

The x1 and x2 values range from 0 to the original image's width.

The y1 and y2 values range from 0 to the original image's height.

See Also

©2013. Accusoft Corporation. All Rights Reserved.