Class ImageReorientation
java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.ProstateFramework.ImageReorientation
- All Implemented Interfaces:
AlgorithmInterface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AlgorithmRotatestatic final intstatic final int(package private) FileInfoBase(package private) FileInfoNIFTIprivate ModelImageprivate int[]private int[]private ModelImagestatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidalgorithmPerformed(AlgorithmBase algorithm) This method is required if the AlgorithmPerformed interface is implemented.voidprotected voidprotected voidprotected voidprivate booleanUse the GUI results to set up the variables needed to run the algorithm.
-
Field Details
-
algoRotate
-
image
-
resultImage
-
AXIAL_INDEX
public static final int AXIAL_INDEX- See Also:
-
CORONAL_INDEX
public static final int CORONAL_INDEX- See Also:
-
SAGITTAL_INDEX
public static final int SAGITTAL_INDEX- See Also:
-
USER_INDEX
public static final int USER_INDEX- See Also:
-
fileInfo
FileInfoBase fileInfo -
fileInfoNIFTI
FileInfoNIFTI fileInfoNIFTI -
or
private int[] or -
newOr
private int[] newOr
-
-
Constructor Details
-
ImageReorientation
-
-
Method Details
-
preformOrientation
public void preformOrientation() -
algorithmPerformed
This method is required if the AlgorithmPerformed interface is implemented. It is called by the algorithm when it has completed or failed to to complete, so that the dialog can be display the result image and/or clean up.- Specified by:
algorithmPerformedin interfaceAlgorithmInterface- Parameters:
algorithm- Algorithm that caused the event.
-
set_axial_orientation
protected void set_axial_orientation() -
set_sagittal_orientation
protected void set_sagittal_orientation() -
set_coronal_orientation
protected void set_coronal_orientation() -
setVariables
private boolean setVariables()Use the GUI results to set up the variables needed to run the algorithm.- Returns:
trueif parameters set successfully,falseotherwise.
-
getResultImage
-