org.jplot2d.data
Class SingleBandImageData
- java.lang.Object
-
- org.jplot2d.data.ImageData
-
- org.jplot2d.data.SingleBandImageData
-
-
Constructor Summary
Constructors Constructor and Description SingleBandImageData(ImageDataBuffer dataBuffer, int w, int h)SingleBandImageData(ImageDataBuffer dataBuffer, int w, int h, ImageCoordinateReference cr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description SingleBandImageDataapplyBoundary(Range xboundary, Range yboundary)Apply the new boundary on x/y direction.SingleBandImageDataapplyCoordinateReference(ImageCoordinateReference cr)ImageDataBuffergetDataBuffer()-
Methods inherited from class org.jplot2d.data.ImageData
getCoordinateReference, getHeight, getWidth, getXcdelt, getXcrpix, getXcrval, getXRange, getYcdelt, getYcrpix, getYcrval, getYRange, hasPointOutsideXBounds, hasPointOutsideYBounds
-
-
-
-
Constructor Detail
-
SingleBandImageData
public SingleBandImageData(ImageDataBuffer dataBuffer, int w, int h)
-
SingleBandImageData
public SingleBandImageData(ImageDataBuffer dataBuffer, int w, int h, ImageCoordinateReference cr)
-
-
Method Detail
-
getDataBuffer
public ImageDataBuffer getDataBuffer()
-
applyCoordinateReference
public SingleBandImageData applyCoordinateReference(ImageCoordinateReference cr)
- Specified by:
applyCoordinateReferencein classImageData
-
applyBoundary
public SingleBandImageData applyBoundary(Range xboundary, Range yboundary)
Description copied from interface:GraphDataApply the new boundary on x/y direction. Data outside the boundary are ignored.- Parameters:
xboundary- the new boundary to applyyboundary- the new boundary to apply- Returns:
- a new GraphData instance
-
-
DMelt 3.0 © DataMelt by jWork.ORG