endrov.flowImageStats
Class EvOpSumRect

java.lang.Object
  extended by endrov.flow.EvOpGeneral
      extended by endrov.flow.EvOpSlice1
          extended by endrov.flowImageStats.EvOpSumRect

public class EvOpSumRect
extends EvOpSlice1

Moving sum. Sum is taken over an area of size (2pw+1)x(2ph+1). r=0 hence corresponds to the identity operation. Complexity O(w*h)


Constructor Summary
EvOpSumRect(java.lang.Number pw, java.lang.Number ph)
           
 
Method Summary
 EvPixels exec1(ProgressHandle progh, EvPixels... p)
          Apply given several image planes, returns only the first image plane
static EvPixels movingSumRect(ProgressHandle progh, EvPixels in, int pw, int ph)
          Moving sum.
 
Methods inherited from class endrov.flow.EvOpSlice1
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

EvOpSumRect

public EvOpSumRect(java.lang.Number pw,
                   java.lang.Number ph)
Method Detail

exec1

public EvPixels exec1(ProgressHandle progh,
                      EvPixels... p)
Description copied from class: EvOpGeneral
Apply given several image planes, returns only the first image plane

Specified by:
exec1 in class EvOpGeneral

movingSumRect

public static EvPixels movingSumRect(ProgressHandle progh,
                                     EvPixels in,
                                     int pw,
                                     int ph)
Moving sum. Sum is taken over an area of size (2pw+1)x(2ph+1). pw=ph=0 hence corresponds to the identity operation. Pixels outside assumed 0. Complexity O(w*h)