Revision 1141 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.api/src/main/java/org/gvsig/fmap/dal/coverage/util/RasterUtils.java
RasterUtils.java | ||
---|---|---|
29 | 29 |
import java.io.IOException; |
30 | 30 |
import java.util.ArrayList; |
31 | 31 |
|
32 |
import org.gvsig.fmap.dal.coverage.dataset.Buffer; |
|
32 | 33 |
import org.gvsig.fmap.dal.coverage.datastruct.BufferHistogram; |
33 | 34 |
import org.gvsig.fmap.dal.coverage.datastruct.Extent; |
34 | 35 |
import org.gvsig.fmap.dal.coverage.grid.ROI; |
... | ... | |
336 | 337 |
* @param histogram |
337 | 338 |
*/ |
338 | 339 |
public BufferHistogram convertHistogramToRGB(BufferHistogram histogram); |
340 |
|
|
341 |
/** |
|
342 |
* Copies a piece of image into another taking into account the different size and proportion |
|
343 |
* @param bufResult |
|
344 |
* output buffer |
|
345 |
* @param tileExtent |
|
346 |
* bounding box of the output buffer |
|
347 |
* @param buf |
|
348 |
* input buffer |
|
349 |
* @param ex |
|
350 |
* bounding box of the input buffer |
|
351 |
* @param rel |
|
352 |
* ratio between both pixel sizes |
|
353 |
* @param hasAlphaBand |
|
354 |
* true if the last band is a alpha band |
|
355 |
*/ |
|
356 |
public void copyToBuffer(Buffer bufResult, Extent tileExtent, |
|
357 |
Buffer buf, Extent ex, double rel, boolean hasAlphaBand); |
|
339 | 358 |
} |
Also available in: Unified diff