endrov.flowImageStats
Class EvOpEntropyRect
java.lang.Object
endrov.flow.EvOpGeneral
endrov.flow.EvOpSlice1
endrov.flowImageStats.EvOpEntropyRect
public class EvOpEntropyRect
- extends EvOpSlice1
Moving entropy. Entropy is taken over an area of size (2pw+1)x(2ph+1).
Entropy is defined as S=-sum_i P[i] log(i), where i is intensity
Complexity O(w*h*pw*ph), could be made faster with a method similar to huangs median calculator
Constructor Summary |
EvOpEntropyRect(java.lang.Number pw,
java.lang.Number ph)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvOpEntropyRect
public EvOpEntropyRect(java.lang.Number pw,
java.lang.Number ph)
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
apply
public static EvPixels apply(ProgressHandle progh,
EvPixels in,
int pw,
int ph)