endrov.flowAveraging
Class EvOpDownsampleIntegral

java.lang.Object
  extended by endrov.flow.EvOpGeneral
      extended by endrov.flow.EvOpStack1
          extended by endrov.flowAveraging.EvOpDownsampleIntegral

public class EvOpDownsampleIntegral
extends EvOpStack1

Downsample image. This will change the number of pixels but not the size of the total image. Complexity O(w*h) Alternative way would be: http://pacific.mpi-cbg.de/wiki/index.php/Downsample


Constructor Summary
EvOpDownsampleIntegral(java.lang.Integer scaleX, java.lang.Integer scaleY)
           
 
Method Summary
static EvStack apply(EvStack in, int scaleX, int scaleY)
           
static EvPixels downSample(EvPixels in, int scaleX, int scaleY)
           
 EvStack exec1(ProgressHandle ph, EvStack... p)
          Apply given several stacks, returns only the first stack
 
Methods inherited from class endrov.flow.EvOpStack1
exec, exec, exec, exec1, exec1, getNumberChannels
 
Methods inherited from class endrov.flow.EvOpGeneral
exec11, exec11, exec1Untyped, execUntyped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvOpDownsampleIntegral

public EvOpDownsampleIntegral(java.lang.Integer scaleX,
                              java.lang.Integer scaleY)
Method Detail

exec1

public EvStack exec1(ProgressHandle ph,
                     EvStack... p)
Description copied from class: EvOpGeneral
Apply given several stacks, returns only the first stack

Specified by:
exec1 in class EvOpStack1

apply

public static EvStack apply(EvStack in,
                            int scaleX,
                            int scaleY)

downSample

public static EvPixels downSample(EvPixels in,
                                  int scaleX,
                                  int scaleY)