org.marvinproject.image.transform.rotate
Class Rotate
java.lang.Object
marvin.plugin.MarvinAbstractImagePlugin
org.marvinproject.image.transform.rotate.Rotate
- All Implemented Interfaces:
- marvin.plugin.MarvinImagePlugin, marvin.plugin.MarvinPlugin
public class Rotate
- extends marvin.plugin.MarvinAbstractImagePlugin
Rotate the image by a user-defined angle.
|
Method Summary |
void |
initialiseLookUpArray(int[][][] a_LookUpArray,
int[] dimensions,
int a_InitialisationValue)
Create a LookUpArray to see if pixels have been assigned a value |
void |
load()
|
void |
process(marvin.image.MarvinImage a_imageIn,
marvin.image.MarvinImage a_imageOut,
marvin.util.MarvinAttributes a_attributesOut,
marvin.image.MarvinImageMask a_mask,
boolean a_previewMode)
Initiate the rotate process and determine the angle of rotation |
void |
show()
|
| Methods inherited from class marvin.plugin.MarvinAbstractImagePlugin |
getAttribute, getAttributes, getImagePanel, setAttribute, setImagePanel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rotate
public Rotate()
load
public void load()
show
public void show()
process
public void process(marvin.image.MarvinImage a_imageIn,
marvin.image.MarvinImage a_imageOut,
marvin.util.MarvinAttributes a_attributesOut,
marvin.image.MarvinImageMask a_mask,
boolean a_previewMode)
- Initiate the rotate process and determine the angle of rotation
- Parameters:
MarvinImage - - the image to be rotatedboolean - - to display a preview
initialiseLookUpArray
public void initialiseLookUpArray(int[][][] a_LookUpArray,
int[] dimensions,
int a_InitialisationValue)
- Create a LookUpArray to see if pixels have been assigned a value
- Parameters:
a_LookUpArray - - the values to be filled indimensions - - the size of the arraya_InitialisationValue - - what value to assign.