com.metsci.glimpse.charts.raster
Class BsbRasterData

java.lang.Object
  extended by com.metsci.glimpse.charts.raster.BsbRasterData

public final class BsbRasterData
extends java.lang.Object

Data structures and data IO utilities for displaying Electronic Navigation Chart raster images available in the BSB Raster format.

Author:
osborn
See Also:
RasterNavigationChartExample

Method Summary
 LatLonGeo estimateCenterLatLon()
           
 java.awt.image.BufferedImage generateBufferedImage()
           
 java.awt.image.IndexColorModel getColorModel()
           
 ColorTexture1D getColorTexture()
           
 ByteTextureProjected2D getDataTexture()
           
 java.lang.String getHeader()
           
 java.lang.String getName()
           
 Projection getProjection(GeoProjection plane, MercatorProjection projection, int resolution)
           
 FlatProjection getProjection(MercatorProjection projection)
           
 java.util.Set<Pair<IntPoint2d,LatLonGeo>> getRegistrationPoints()
           
static BsbRasterData readImage(java.io.InputStream in)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readImage

public static BsbRasterData readImage(java.io.InputStream in)
                               throws java.io.IOException
Throws:
java.io.IOException

getColorModel

public java.awt.image.IndexColorModel getColorModel()

getProjection

public Projection getProjection(GeoProjection plane,
                                MercatorProjection projection,
                                int resolution)

estimateCenterLatLon

public LatLonGeo estimateCenterLatLon()

getProjection

public FlatProjection getProjection(MercatorProjection projection)

generateBufferedImage

public final java.awt.image.BufferedImage generateBufferedImage()

getName

public final java.lang.String getName()

getHeader

public final java.lang.String getHeader()

getRegistrationPoints

public final java.util.Set<Pair<IntPoint2d,LatLonGeo>> getRegistrationPoints()

getColorTexture

public final ColorTexture1D getColorTexture()

getDataTexture

public final ByteTextureProjected2D getDataTexture()


Copyright © 2012 Metron, Inc.. All Rights Reserved.