|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grelf.image.Threshold
public class Threshold
Record to hold an array of threshold ranges plus a boolean to say whether tests against the thresholds are to be ANDed for all channels (as opposed to ORing them). ANDing is the default.
| Field Summary | |
|---|---|
boolean |
anding
Whether results of comparing channels against threshold are to be AND-ed or OR-ed together. |
RangeInt[] |
th
The threshold ranges, one per channel. |
| Constructor Summary | |
|---|---|
Threshold(int nBands)
As initially constructed the threshold ranges are all 0..0 and anding is true. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Get a String representation of the Threshold |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public RangeInt[] th
public boolean anding
| Constructor Detail |
|---|
public Threshold(int nBands)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||