javax.media.jai.operator
Class TransposeDescriptor
java.lang.Object
|
+--javax.media.jai.OperationDescriptorImpl
|
+--javax.media.jai.operator.TransposeDescriptor
- All Implemented Interfaces:
- OperationDescriptor, RegistryElementDescriptor, Serializable
- public class TransposeDescriptor
- extends OperationDescriptorImpl
An OperationDescriptor
describing the "Transpose" operation.
The "Transpose" operation performs the following operations:
- Flip an image across an imaginary horizontal line that runs
through the center of the image (FLIP_VERTICAL).
- Flip an image across an imaginary vertical line that runs
through the center of the image (FLIP_HORIZONTAL).
- Flip an image across its main diagonal that runs from the upper
left to the lower right corner (FLIP_DIAGONAL).
- Flip an image across its main antidiagonal that runs from the
upper right to the lower left corner(FLIP_ANTIDIAGONAL).
- Rotate an image clockwise by 90, 180, or 270 degrees
(ROTATE_90, ROTATE_180, ROTATE_270).
In all cases, the resulting image will have the same origin (as
defined by the return values of its getMinX()
and
getMinY()
methods) as the source image.
"Transpose" defines a PropertyGenerator that
performs an identical transformation on the "ROI" property of the
source image, which can be retrieved by calling the
getProperty
method with "ROI" as the property name.
Resource List
Name | Value |
GlobalName | transpose |
LocalName | transpose |
Vendor | com.sun.media.jai |
Description | Reflects an image in a specified direction
or rotates an image in multiples of 90
degrees. |
DocURL | http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/TransposeDescriptor.html |
Version | 1.0 |
arg0Desc | The type of flip operation
to be performed. |
Parameter List
Name | Class Type |
Default Value |
type | javax.media.jai.operator.TransposeType |
NO_PARAMETER_DEFAULT |
- See Also:
OperationDescriptor
,
TransposeType
, Serialized Form
Methods inherited from class javax.media.jai.OperationDescriptorImpl |
arePropertiesSupported,
getDefaultSourceClass,
getDestClass,
getDestClass,
getInvalidRegion,
getName,
getNumParameters,
getNumSources,
getParamClasses,
getParamDefaults,
getParamDefaultValue,
getParameterListDescriptor,
getParamMaxValue,
getParamMinValue,
getParamNames,
getPropertyGenerators,
getRenderableDestClass,
getRenderableSourceClasses,
getResourceBundle,
getResources,
getSourceClasses,
getSourceClasses,
getSourceNames,
getSupportedModes,
isImmediate,
isModeSupported,
isRenderedSupported,
makeDefaultSourceClassList,
validateArguments,
validateArguments,
validateParameters,
validateParameters,
validateRenderableArguments,
validateRenderableSources,
validateSources,
validateSources |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
FLIP_VERTICAL
public static final TransposeType FLIP_VERTICAL
FLIP_HORIZONTAL
public static final TransposeType FLIP_HORIZONTAL
FLIP_DIAGONAL
public static final TransposeType FLIP_DIAGONAL
FLIP_ANTIDIAGONAL
public static final TransposeType FLIP_ANTIDIAGONAL
ROTATE_90
public static final TransposeType ROTATE_90
ROTATE_180
public static final TransposeType ROTATE_180
ROTATE_270
public static final TransposeType ROTATE_270
TransposeDescriptor
public TransposeDescriptor()
- Constructor.
isRenderableSupported
public boolean isRenderableSupported()
- Returns
true
since renderable operation is supported.
- Overrides:
- isRenderableSupported in class OperationDescriptorImpl
- Tags copied from class: OperationDescriptorImpl
- See Also:
OperationDescriptorImpl.isModeSupported(java.lang.String)
getPropertyGenerators
public PropertyGenerator[] getPropertyGenerators()
- Returns an array of
PropertyGenerators
implementing
property inheritance for the "Transpose" operation.
- Overrides:
- getPropertyGenerators in class OperationDescriptorImpl
- Returns:
- An array of property generators.