|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.usp.ime.klava.segmentit.util.HierarchyCriterion
public class HierarchyCriterion
Criterion used to build hierarchies of partitions.
| Field Summary | |
|---|---|
static HierarchyCriterion |
AREA
Criterion of synchronous flooding, used to rank regions according to their area. |
static HierarchyCriterion |
DEPTH
Criterion of synchronous flooding, used to rank regions according to their contrast. |
static HierarchyCriterion |
MEAN_VALUE
Criterion to build hierarchies merging adjacent regions by the similarity of the mean values of their pixels. |
static HierarchyCriterion |
MERGING_LEVEL
Criterion of uniform flooding. |
static HierarchyCriterion |
VOLUME
Criterion of synchronous flooding, used to rank regions according to their contrast and area. |
| Method Summary | |
|---|---|
AbstractMetric |
getMetricObject()
Returns a new instance of the AbstractMetric associated with this
HierarchyCriterion. |
java.lang.String |
getName()
Returns the name of this HierarchyCriterion. |
boolean |
isFloodingCriterion()
Returns if this HierarchyCriterion is a flooding criterion
or a generic criterion. |
static boolean |
isValid(java.lang.String criterionName)
Returns if there is a valid HierarchyCriterion for the given
criterionName. |
static HierarchyCriterion |
valueOf(java.lang.String criterionName)
Returns the HierarchyCriterion associated with the name
criterionName. |
static java.util.Collection<HierarchyCriterion> |
values()
Returns a Collection with all the existing
HierarchyCriterion. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final HierarchyCriterion MERGING_LEVEL
public static final HierarchyCriterion DEPTH
public static final HierarchyCriterion AREA
public static final HierarchyCriterion VOLUME
public static final HierarchyCriterion MEAN_VALUE
| Method Detail |
|---|
public java.lang.String getName()
HierarchyCriterion.
HierarchyCriterionpublic boolean isFloodingCriterion()
HierarchyCriterion is a flooding criterion
or a generic criterion.
true if this is a flooding criterionpublic static boolean isValid(java.lang.String criterionName)
HierarchyCriterion for the given
criterionName.
criterionName - the String representing a
HierarchyCriterion
true if criterionName represents a
valid HierarchyCriterionpublic static HierarchyCriterion valueOf(java.lang.String criterionName)
HierarchyCriterion associated with the name
criterionName.
criterionName - a name of a HierarchyCriterion
HierarchyCriterion associated with the name
criterionNamepublic static java.util.Collection<HierarchyCriterion> values()
Collection with all the existing
HierarchyCriterion.
Collection with all the existing
HierarchyCriterionpublic AbstractMetric getMetricObject()
AbstractMetric associated with this
HierarchyCriterion.
AbstractMetric associated with this
HierarchyCriterion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||