| org.geotools.arcsde.gce.ArcSDEImageIOReaderOutputFormatsTest
ArcSDEImageIOReaderOutputFormatsTest | public class ArcSDEImageIOReaderOutputFormatsTest extends TestCase (Code) | | Tests the functionality of the ArcSDE raster-display package to read rasters
from an ArcSDE database
author: Saul Farber, (based on ArcSDEPoolTest by Gabriel Roldan) version: $Id: ArcSDEImageIOReaderOutputFormatsTest.java 27863 2007-11-12 20:34:34Z desruisseaux $ |
Method Summary | |
protected void | setUp() | protected void | tearDown() | public void | testRead3BandIntoTYPE_3BYTE_BGRImage() Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_ARGB image. | public void | testRead3BandIntoTYPE_INT_ARGBImage() Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_ARGB image. | public void | testRead3BandIntoTYPE_INT_RGBImage() Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_ARGB image. | public void | testRead4BandIntoTYPE_3BYTE_BGRImage() Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_ARGB image. | public void | testRead4BandIntoTYPE_INT_ARGBImage() Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_ARGB image. | public void | testRead4BandIntoTYPE_INT_RGBImage() Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_RGB image. |
ArcSDEImageIOReaderOutputFormatsTest | public ArcSDEImageIOReaderOutputFormatsTest(String name) throws Exception(Code) | | Creates a new ArcSDEConnectionPoolTest object.
|
setUp | protected void setUp() throws Exception(Code) | | loads
test-data/testparams.properties to get connection
parameters and sets up an ArcSDEConnectionPool
throws: Exception - DOCUMENT ME! throws: IllegalStateException - DOCUMENT ME! |
tearDown | protected void tearDown() throws Exception(Code) | | closes the connection pool if it's still open
throws: Exception - DOCUMENT ME! |
testRead3BandIntoTYPE_3BYTE_BGRImage | public void testRead3BandIntoTYPE_3BYTE_BGRImage() throws Exception(Code) | | Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_ARGB image.
Bands are mapped as follows: rasterband 1 => image band 1 (red,
hopefully!) rasterband 2 => image band 2 (green, hopefully!) rasterband 3 =>
image band 3 (blue, hopefully!)
Question: what do we do about image band 0 (the alpha band?) Ignoring it
for now.
|
testRead3BandIntoTYPE_INT_ARGBImage | public void testRead3BandIntoTYPE_INT_ARGBImage() throws Exception(Code) | | Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_ARGB image.
Bands are mapped as follows: rasterband 1 => image band 1 (red,
hopefully!) rasterband 2 => image band 2 (green, hopefully!) rasterband 3 =>
image band 3 (blue, hopefully!)
Question: what do we do about image band 0 (the alpha band?) Ignoring it
for now.
|
testRead3BandIntoTYPE_INT_RGBImage | public void testRead3BandIntoTYPE_INT_RGBImage() throws Exception(Code) | | Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_ARGB image.
Bands are mapped as follows: rasterband 1 => image band 1 (red,
hopefully!) rasterband 2 => image band 2 (green, hopefully!) rasterband 3 =>
image band 3 (blue, hopefully!)
Question: what do we do about image band 0 (the alpha band?) Ignoring it
for now.
|
testRead4BandIntoTYPE_3BYTE_BGRImage | public void testRead4BandIntoTYPE_3BYTE_BGRImage() throws Exception(Code) | | Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_ARGB image.
Bands are mapped as follows: rasterband 1 => image band 1 (red,
hopefully!) rasterband 2 => image band 2 (green, hopefully!) rasterband 3 =>
image band 3 (blue, hopefully!)
Question: what do we do about image band 0 (the alpha band?) Ignoring it
for now.
|
testRead4BandIntoTYPE_INT_ARGBImage | public void testRead4BandIntoTYPE_INT_ARGBImage() throws Exception(Code) | | Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_ARGB image.
Bands are mapped as follows: rasterband 1 => image band 1 (red,
hopefully!) rasterband 2 => image band 2 (green, hopefully!) rasterband 3 =>
image band 3 (blue, hopefully!)
Question: what do we do about image band 0 (the alpha band?) Ignoring it
for now.
|
testRead4BandIntoTYPE_INT_RGBImage | public void testRead4BandIntoTYPE_INT_RGBImage() throws Exception(Code) | | Tests reading the first three bands of a 4-band image (1 = RED, 2 =
GREEN, 3 = BLUE, 4 = NEAR_INFRARED) into a TYPE_INT_RGB image.
Bands are mapped as follows: rasterband 1 => image band 0 rasterband 2 =>
image band 1 rasterband 3 => image band 2
|
|
|