|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.imageprocessing.PixelTypeCalculator
public class PixelTypeCalculator
PixelTypeCalculator stores some values for points and calculated the type of points based on them.
Field Summary | |
---|---|
int |
pixelIndex
This is for debugging so you can see what pixel this was last run for |
Constructor Summary | |
---|---|
PixelTypeCalculator()
|
Method Summary | |
---|---|
PixelType |
getValue()
Starts a lazy calculation. |
PixelType |
invoke()
|
boolean |
isDirty()
Just look at the center point and see if different from foreground unknown I do not think this is right for the priority based version. |
void |
setup()
Currently not super well define used for 2 purposes: Reset: called from the outside if you want to reuse it init: Called from the inside when calculation start to have everything setup maybe the semantic could work for both? TODO: This should be separated better. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int pixelIndex
Constructor Detail |
---|
public PixelTypeCalculator()
Method Detail |
---|
public void setup()
LazyCalc
setup
in interface LazyCalc<PixelType>
public boolean isDirty()
isDirty
in interface LazyCalc<PixelType>
public PixelType invoke()
invoke
in interface Calc0<PixelType>
public PixelType getValue()
CalcValue
getValue
in interface CalcValue<PixelType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |