ij.process

Class DownsizeTable

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      int[] indices
      For each source point between srcStart and srcEnd, indices of destination points where the data should be added.
      int kernelSize
      Number of kernel points per source data point
      int srcEnd
      index of the last point of the source data that should be accessed
      int srcStart
      index of the first point of the source data that should be accessed
      float[] weights
      For each source point, weights for adding it to the destination point given in the corresponding element of 'indices'
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      protected float kernel(double x) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • kernelSize

        public final int kernelSize
        Number of kernel points per source data point
      • srcStart

        public final int srcStart
        index of the first point of the source data that should be accessed
      • srcEnd

        public final int srcEnd
        index of the last point of the source data that should be accessed
      • indices

        public final int[] indices
        For each source point between srcStart and srcEnd, indices of destination points where the data should be added. Arranged in blocks of 'kernelSize' points. E.g. for kernelSize=2, array elements 0,1 are for point srcStart, 2,3 for point srcStart+1, etc.
      • weights

        public final float[] weights
        For each source point, weights for adding it to the destination point given in the corresponding element of 'indices'
    • Method Detail

      • kernel

        protected float kernel(double x)