|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjjil.core.PipelineStage
jjil.algorithm.SumG82G32
public class SumG82G32
Forms integral image by summing pixels in a
Gray8[Sub]Image to form a Gray32[Sub]Image.
The computation is O(i,j) = Sum for k<=i,l<=j of I(k,l)
Note output type is 32 bit because otherwise we'd get
truncation. With 32-bit output we can go up to
65,536 = 256x256 pixels in the input image.
Constructor Summary | |
---|---|
SumG82G32()
Creates a new instance of SumG82G32 |
Method Summary | |
---|---|
void |
push(Image image)
Form the cumulative sum |
Methods inherited from class jjil.core.PipelineStage |
---|
getFront, isEmpty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SumG82G32()
Method Detail |
---|
public void push(Image image) throws Error
Output(i,j) = Sum(k≤i,j≤j)[Input(k,l)]
push
in class PipelineStage
image
- input image.
Error
- if the input is not a Gray8Image.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |