Revision 10965 trunk/libraries/libRaster/src/org/gvsig/raster/dataaccess/buffer/RasterBuffer.java
RasterBuffer.java | ||
---|---|---|
381 | 381 |
return null; |
382 | 382 |
Histogram hist = new Histogram(getBandCount(), 256); |
383 | 383 |
for (int iBand = 0; iBand < getBandCount(); iBand++) |
384 |
for (int col = 0; col < getHeight(); col++)
|
|
385 |
for (int row = 0; row < getWidth(); row++)
|
|
384 |
for (int row = 0; row < getHeight(); row++)
|
|
385 |
for (int col = 0; col < getWidth(); col++)
|
|
386 | 386 |
hist.incrementPxValue(iBand, (getElemByte(row, col, iBand) & 0xff)); |
387 | 387 |
percent = 100; |
388 | 388 |
return hist; |
Also available in: Unified diff