|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.streamlogic.LoadParticleStreams
public class LoadParticleStreams
Create particles streams.
Definition of colors is still not developed properly.
This class contains ways of defining color streams, but they might be
supplemented with more efficient ones.
Field Summary | |
---|---|
static java.lang.String[] |
EXAMPLE_PARTICLE_ARRAY
|
RecursiveContext |
recursiveContext
|
Constructor Summary | |
---|---|
LoadParticleStreams(RecursiveContext recursiveContext)
|
Method Summary | |
---|---|
void |
exampleMakeParticleStream()
This shows what to do to define rules for the color particle analyzer. This is not useful. Light and dark is turned around if inverted LUT is used. |
void |
loadColorStreams(NumberedStream<IColorAndVariance> particles,
SLImage image)
Load all the required streams for the letter matcher to work. |
void |
loadStreamsRequiredForParticleMatch(NumberedStream<IColorAndVariance> particles,
SLImage image)
Load all the required streams for the letter matcher to work. |
void |
loadStreamsRequiredForParticleMatch(SLImage image)
|
void |
rule(java.lang.String letter,
java.lang.String streamName,
int value,
java.lang.String letterFilter)
Helper method to create one rule in one letter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public RecursiveContext recursiveContext
public static final java.lang.String[] EXAMPLE_PARTICLE_ARRAY
Constructor Detail |
---|
public LoadParticleStreams(RecursiveContext recursiveContext)
Method Detail |
---|
public void rule(java.lang.String letter, java.lang.String streamName, int value, java.lang.String letterFilter)
letter
- to define rule forstreamName
- what the required stream for this rule is called in RootMapvalue
- constraint valueletterFilter
- if only one rule should be generated this should be set to a letterpublic void loadColorStreams(NumberedStream<IColorAndVariance> particles, SLImage image)
public void loadStreamsRequiredForParticleMatch(NumberedStream<IColorAndVariance> particles, SLImage image)
public void loadStreamsRequiredForParticleMatch(SLImage image)
public void exampleMakeParticleStream()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |