Package com.bc.ceres.glayer.tools
Class Tools
- java.lang.Object
-
- com.bc.ceres.glayer.tools.Tools
-
public class Tools extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Tools.MouseHandler
-
Constructor Summary
Constructors Constructor Description Tools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
configureJAI()
static javax.media.jai.RenderedOp
createMosaic(RenderedImage[] images)
static javax.media.jai.RenderedOp
createTiledImage(RenderedImage image, int tileWidth, int tileHeight)
static void
displayImage(File location, String extension, AffineTransform imageToModelTransform, int levelCount)
static void
displayImage(String title, RenderedImage image, AffineTransform imageToModelTransform, int levelCount)
static void
displayImages(String title, RenderedImage[] images, AffineTransform[] imageToModelTransforms, int levelCount)
static void
dumpImageInfo(RenderedImage image)
static void
installLayerCanvasNavigation(LayerCanvas layerCanvas)
static javax.media.jai.RenderedOp
loadImage(String filePath)
static AffineTransform
loadWorldFile(String filename)
static javax.media.jai.RenderedOp
scaleImage(RenderedImage image, float scale)
static void
storeTiffPyramid(RenderedImage sourceImage, String targetBaseName, int maxLevel)
static void
storeTiledTiff(RenderedImage image, String filePath)
static javax.media.jai.RenderedOp
transformImage(RenderedImage image, double x0, double y0, double theta, double scale)
static javax.media.jai.RenderedOp
transformImage(RenderedImage image, AffineTransform transform)
-
-
-
Method Detail
-
configureJAI
public static void configureJAI()
-
loadWorldFile
public static AffineTransform loadWorldFile(String filename) throws IOException
- Throws:
IOException
-
createMosaic
public static javax.media.jai.RenderedOp createMosaic(RenderedImage[] images)
-
storeTiledTiff
public static void storeTiledTiff(RenderedImage image, String filePath)
-
scaleImage
public static javax.media.jai.RenderedOp scaleImage(RenderedImage image, float scale)
-
transformImage
public static javax.media.jai.RenderedOp transformImage(RenderedImage image, double x0, double y0, double theta, double scale)
-
transformImage
public static javax.media.jai.RenderedOp transformImage(RenderedImage image, AffineTransform transform)
-
createTiledImage
public static javax.media.jai.RenderedOp createTiledImage(RenderedImage image, int tileWidth, int tileHeight)
-
loadImage
public static javax.media.jai.RenderedOp loadImage(String filePath)
-
displayImage
public static void displayImage(File location, String extension, AffineTransform imageToModelTransform, int levelCount)
-
displayImage
public static void displayImage(String title, RenderedImage image, AffineTransform imageToModelTransform, int levelCount)
-
displayImages
public static void displayImages(String title, RenderedImage[] images, AffineTransform[] imageToModelTransforms, int levelCount)
-
dumpImageInfo
public static void dumpImageInfo(RenderedImage image)
-
storeTiffPyramid
public static void storeTiffPyramid(RenderedImage sourceImage, String targetBaseName, int maxLevel)
-
installLayerCanvasNavigation
public static void installLayerCanvasNavigation(LayerCanvas layerCanvas)
-
-