public class EarthImagePlugIn.ImageTranslator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
hor_dpp
Horizontal degrees/pixel in the source BufferedImage.
|
int |
horOrigin
The horizontal origin pixel location in the source image for the
coordinate system origin (0 degrees longitude).
|
int |
iheight
Image Icon height,
|
int |
iwidth
Image Icon width,
|
protected int[] |
pixels |
float |
ver_dpp
Vertical degrees/pixel in the source BufferedImage.
|
int |
verOrigin
The vertical origin pixel location in the source image for the
coordinate system origin (0 degrees latitude).
|
Constructor and Description |
---|
EarthImagePlugIn.ImageTranslator(java.awt.image.BufferedImage bi)
Create an image translator for an image assumed to be world wide
coverage, with the top at 90 degrees, the bottom at -90, the left side
at -180 and the right side at 180.
|
Modifier and Type | Method and Description |
---|---|
OMRaster |
getImage(Projection p)
Given a projection, create an OMRaster that reflects the image warped
to that projection.
|
protected int[] |
getPixels(java.awt.Image img,
int x,
int y,
int w,
int h)
Get the pixels from the BufferedImage.
|
protected int[] pixels
public int iwidth
public int iheight
public float hor_dpp
public float ver_dpp
public int verOrigin
public int horOrigin
public EarthImagePlugIn.ImageTranslator(java.awt.image.BufferedImage bi)
public OMRaster getImage(Projection p)
protected int[] getPixels(java.awt.Image img, int x, int y, int w, int h)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details