|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
|
Constructor Summary | |
---|---|
LoadParticleStreams()
|
Method Summary | |
---|---|
static 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. |
static void |
loadColorStreams(NumberedStream<IColorAndVariance> particles,
SLImage image)
Load all the required streams for the letter matcher to work. |
static void |
loadStreamsRequiredForParticleMatch(NumberedStream<IColorAndVariance> particles,
SLImage image)
Load all the required streams for the letter matcher to work. |
static void |
loadStreamsRequiredForParticleMatch(SLImage image)
|
static 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 static final java.lang.String[] EXAMPLE_PARTICLE_ARRAY
Constructor Detail |
---|
public LoadParticleStreams()
Method Detail |
---|
public static 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 static void loadColorStreams(NumberedStream<IColorAndVariance> particles, SLImage image)
public static void loadStreamsRequiredForParticleMatch(NumberedStream<IColorAndVariance> particles, SLImage image)
public static void loadStreamsRequiredForParticleMatch(SLImage image)
public static void exampleMakeParticleStream()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |