ImageGear .NET - Updated
GetPlane(Int32,Int32,Int32,Int32,Int32,Int32,ImGearMprViewType,Boolean,Boolean) Method




ImageGear24.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearMprProcessor Class > GetPlane Method : GetPlane(Int32,Int32,Int32,Int32,Int32,Int32,ImGearMprViewType,Boolean,Boolean) Method
Start X coordinate of the plane.
Start Y coordinate of the plane.
End X coordinate of the plane.
End Y coordinate of the plane.
Start position of the plane within the stack of images.
End position of the plane within the stack of images.
Specifies on which view to perform reconstruction.
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.
Indicates whether to update LUT for output image.
Returns image view reconstructed from pages in the provided plane.
Syntax
'Declaration
 
Public Overloads Function GetPlane( _
   ByVal x1 As Integer, _
   ByVal y1 As Integer, _
   ByVal x2 As Integer, _
   ByVal y2 As Integer, _
   ByVal startPageNumber As Integer, _
   ByVal endPageNumber As Integer, _
   ByVal viewType As ImGearMprViewType, _
   ByVal rotateAxes As Boolean, _
   ByVal updateLUT As Boolean _
) As ImGearRasterPage
'Usage
 
Dim instance As ImGearMprProcessor
Dim x1 As Integer
Dim y1 As Integer
Dim x2 As Integer
Dim y2 As Integer
Dim startPageNumber As Integer
Dim endPageNumber As Integer
Dim viewType As ImGearMprViewType
Dim rotateAxes As Boolean
Dim updateLUT As Boolean
Dim value As ImGearRasterPage
 
value = instance.GetPlane(x1, y1, x2, y2, startPageNumber, endPageNumber, viewType, rotateAxes, updateLUT)
public ImGearRasterPage GetPlane( 
   int x1,
   int y1,
   int x2,
   int y2,
   int startPageNumber,
   int endPageNumber,
   ImGearMprViewType viewType,
   bool rotateAxes,
   bool updateLUT
)
public: ImGearRasterPage* GetPlane( 
   int x1,
   int y1,
   int x2,
   int y2,
   int startPageNumber,
   int endPageNumber,
   ImGearMprViewType viewType,
   bool rotateAxes,
   bool updateLUT
) 
public:
ImGearRasterPage^ GetPlane( 
   int x1,
   int y1,
   int x2,
   int y2,
   int startPageNumber,
   int endPageNumber,
   ImGearMprViewType viewType,
   bool rotateAxes,
   bool updateLUT
) 

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.
startPageNumber
Start position of the plane within the stack of images.
endPageNumber
End position of the plane within the stack of images.
viewType
Specifies on which view to perform reconstruction.
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.
updateLUT
Indicates whether to update LUT for output image.

Return Value

Page containing 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

Reference

ImGearMprProcessor Class
ImGearMprProcessor Members
Overload List