endrov.flowMisc
Class EvOpConvolve2D

java.lang.Object
  extended by endrov.flow.EvOpGeneral
      extended by endrov.flow.EvOpSlice1
          extended by endrov.flowMisc.EvOpConvolve2D

public class EvOpConvolve2D
extends EvOpSlice1

Convolve: in (*) kernel kernel and in assumed 0 outside area Complexity O(w*h*kw*kh) TODO test LEARNED need to specialize over multiple input formats LEARNED when calling functions to be inlined, these need specialized versions too with tests already done by caller


Constructor Summary
EvOpConvolve2D(EvPixels kernel, java.lang.Number kcx, java.lang.Number kcy)
           
 
Method Summary
static EvPixels convolve(ProgressHandle ph, EvPixels in, EvPixels kernel, int kcx, int kcy)
           
 EvPixels exec1(ProgressHandle ph, EvPixels... p)
          Apply given several image planes, returns only the first image plane
 
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

EvOpConvolve2D

public EvOpConvolve2D(EvPixels kernel,
                      java.lang.Number kcx,
                      java.lang.Number kcy)
Method Detail

exec1

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

Specified by:
exec1 in class EvOpGeneral

convolve

public static EvPixels convolve(ProgressHandle ph,
                                EvPixels in,
                                EvPixels kernel,
                                int kcx,
                                int kcy)