Package javax.media.jai.iterator

Examples of javax.media.jai.iterator.RectIter.startLines()


       */
      bounds.x = ix - left;
      bounds.y = iy - top;
      final RectIter iter = RectIterFactory.create(image.getExtendedData(bounds, this.borderExtender), bounds);
      for (; band<bandUp; band++) {
          iter.startLines();
          int j=0; do {
              iter.startPixels();
              final double[] row=samples[j++];
              int i=0; do {
                  row[i++] = iter.getSampleDouble(band);
View Full Code Here


       */
      bounds.x = ix - left;
      bounds.y = iy - top;
      final RectIter iter = RectIterFactory.create(image.getExtendedData(bounds, this.borderExtender), bounds);
      for (; band<bandUp; band++) {
          iter.startLines();
          int j=0; do {
              iter.startPixels();
              final float[] row=samples[j++];
              int i=0; do {
                  row[i++] = iter.getSampleFloat(band);
View Full Code Here

       */
      bounds.x = ix - left;
      bounds.y = iy - top;
      final RectIter iter = RectIterFactory.create(image.getExtendedData(bounds, this.borderExtender), bounds);
      for (; band<bandUp; band++) {
          iter.startLines();
          int j=0; do {
              iter.startPixels();
              final int[] row=samples[j++];
              int i=0; do {
                  row[i++] = iter.getSample(band);
View Full Code Here

            final double[] valuesD = new double[numBands];
            final int[] valuesI = new int[numBands];
            RectIter iterator = RectIterFactory.create(raster, PlanarImage
                    .wrapRenderedImage(raster).getBounds());

            iterator.startLines();
            while (!iterator.finishedLines()) {
                iterator.startPixels();
                while (!iterator.finishedPixels()) {
                    switch (dataType) {
                    case DataBuffer.TYPE_BYTE:
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.