Package | Description |
---|---|
it.geosolutions.jaiext.jiffle |
Jiffle is a scripting language for creating and analysing raster images.
|
it.geosolutions.jaiext.jiffle.runtime |
Jiffle runtime classes.
|
it.geosolutions.jaiext.jiffleop |
Jiffle as an image operator.
|
Modifier and Type | Method and Description |
---|---|
JiffleBuilder |
JiffleBuilder.defaultTransform(CoordinateTransform transform)
Sets a default
CoordinateTransform instance to use with all
images that are passed to the builder without an explicit transform
of their own. |
JiffleBuilder |
JiffleBuilder.dest(String varName,
int width,
int height,
CoordinateTransform transform)
Creates a new destination image and associates it with a variable name
in the script.
|
JiffleBuilder |
JiffleBuilder.dest(String varName,
int minx,
int miny,
int width,
int height,
CoordinateTransform transform)
Creates a new destination image and associates it with a variable name
in the script.
|
JiffleBuilder |
JiffleBuilder.dest(String varName,
Rectangle destBounds,
CoordinateTransform transform)
Creates a new destination image and associates it with a variable name
in the script.
|
JiffleBuilder |
JiffleBuilder.dest(String varName,
WritableRenderedImage destImage,
CoordinateTransform transform)
Sets a destination image associated with a variable name in the script.
|
JiffleBuilder |
JiffleBuilder.source(String varName,
RenderedImage sourceImage,
CoordinateTransform transform)
Associates a variable name with a source image and coordinate transform.
|
Modifier and Type | Class and Description |
---|---|
class |
AffineCoordinateTransform
Wraps an AffineTransform object for use as a Jiffle
CoordinateTransform . |
class |
IdentityCoordinateTransform
An implementation of
CoordinateTransform which simple converts
input coordinates to integers by rounding. |
Modifier and Type | Field and Description |
---|---|
protected CoordinateTransform |
AbstractJiffleRuntime._defaultTransform |
static CoordinateTransform |
IdentityCoordinateTransform.INSTANCE |
Modifier and Type | Method and Description |
---|---|
static CoordinateTransform |
CoordinateTransforms.getTransform(Rectangle2D worldBounds,
Rectangle imageBounds)
Gets the transform which converts from
worldBounds to imageBounds . |
static CoordinateTransform |
CoordinateTransforms.getTransform(Rectangle2D worldBounds,
Rectangle imageBounds,
boolean reverseX,
boolean reverseY)
Gets the transform which converts from
worldBounds to imageBounds . |
protected CoordinateTransform |
AbstractJiffleRuntime.getTransform(String imageVarName)
Gets the coordinate transform to use with the image represented by
imageVarName . |
static CoordinateTransform |
CoordinateTransforms.identity()
Creates an identity transform.
|
static CoordinateTransform |
CoordinateTransforms.scale(double xscale,
double yscale)
Creates a scaling transform.
|
static CoordinateTransform |
CoordinateTransforms.translation(double dx,
double dy)
Creates a translation transform.
|
static CoordinateTransform |
CoordinateTransforms.unitBounds(Rectangle imageBounds)
Creates a transform for working in the unit rectangle, ie. proportional
image coordinates where both X and Y ordinates vary from 0 to 1.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDirectRuntime.setDefaultTransform(CoordinateTransform tr) |
void |
JiffleRuntime.setDefaultTransform(CoordinateTransform tr)
Sets a coordinate transform to be used by any source and destination images
submitted to the runtime object without their own transforms.
|
void |
AbstractJiffleRuntime.setDefaultTransform(CoordinateTransform tr)
Sets a coordinate transform to be used by any source and destination images
submitted to the runtime object without their own transforms.
|
void |
JiffleIndirectRuntime.setDestinationImage(String varName,
CoordinateTransform tr)
Specifies the name of the script variable which represents the destination
image and defines the coordinate transform.
|
void |
AbstractIndirectRuntime.setDestinationImage(String varName,
CoordinateTransform tr) |
void |
AbstractDirectRuntime.setDestinationImage(String varName,
WritableRenderedImage image,
CoordinateTransform tr)
Associates a variable name with a destination image and coordinate transform.
|
void |
JiffleDirectRuntime.setDestinationImage(String varName,
WritableRenderedImage image,
CoordinateTransform tr)
Associates a variable name with a destination image and coordinate transform.
|
void |
JiffleRuntime.setSourceImage(String varName,
RenderedImage image,
CoordinateTransform tr)
Associates a variable name with a source image and coordinate transform.
|
void |
AbstractJiffleRuntime.setSourceImage(String varName,
RenderedImage image,
CoordinateTransform tr)
Associates a variable name with a source image and coordinate transform.
|
void |
JiffleRuntime.setSourceImageCoordinateTransform(String varName,
CoordinateTransform tr)
Associates a given source image with a CoordinateTransform
|
void |
AbstractJiffleRuntime.setSourceImageCoordinateTransform(String varName,
CoordinateTransform tr) |
void |
AbstractDirectRuntime.DestinationImage.setTransform(CoordinateTransform transform,
boolean defaultTransform) |
void |
AbstractJiffleRuntime.SourceImage.setTransform(CoordinateTransform transform,
boolean defaultTransform) |
Modifier and Type | Method and Description |
---|---|
static RenderedOp |
JiffleDescriptor.create(RenderedImage[] sources,
String[] sourceImageNames,
String destName,
String script,
Rectangle destBounds,
Integer destType,
CoordinateTransform[] sourceCoordinateTransforms,
BandTransform[] sourceBandTransforms,
RenderingHints renderingHints)
RenderedOp creation method that takes all the parameters, passes them to the
ParameterBlockJAI and then call the JAI create method for the mosaic
operation with no data support.
|
Copyright © 2006–2018 GeoSolutions. All rights reserved.