|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.geosolutions.jaiext.zonal.ZoneGeometry
public class ZoneGeometry
This class is used for storing the statistics associated to a specific geometry. All the statistics are organized inside Map objects. The "statsContainer" object contains a number of items, each one for every band. Every item object contains the statistics array for every Class, if the classifier is present, or only for the Class 0 if not. The statistics object are created at the initialization time if the classifier is not present, otherwise they are created when a new Class is founded.
Method Summary | |
---|---|
void |
add(double sample,
int band,
int classId,
Range dataRange)
|
void |
clear()
Simple method for clearing all the image statistics |
Set<Integer> |
getClasses()
Utility method indicating the index of all the classes |
int |
getNumClass()
Utility method indicating the number of classes |
List<Range> |
getRanges()
|
javax.media.jai.ROI |
getROI()
Utility method for finding the zone associated geometry. |
Map<Integer,Map<Range,Statistics[]>> |
getStatsPerBand(int band)
Utility method for having all the zone-class statistics for a selected band. |
Statistics[] |
getStatsPerBandNoClassifier(int band,
Range range)
Utility method for having the Statistics of a specific band if no classifier is used |
Statistics[] |
getStatsPerBandNoClassifierNoRange(int band)
Utility method for having the Statistics of a specific band if no classifier and no Range are used |
Statistics[] |
getStatsPerBandNoRange(int band,
int classId)
Utility method for having the Statistics of a specific band if classifier is used but no range is present |
Map<Range,Statistics[]> |
getStatsPerBandPerClass(int band,
int classId)
Utility method for having all the zone-class statistics for a selected band. |
Statistics[] |
getStatsPerBandPerClassPerRange(int band,
int classId,
Range range)
Utility method for having the Statistics of a specific band inside a specific zone class and a specific Range |
Map<Integer,Map<Integer,Map<Range,Statistics[]>>> |
getTotalStats()
Utility method for having all ZoneGeometry statistics. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void add(double sample, int band, int classId, Range dataRange)
public Statistics[] getStatsPerBandPerClassPerRange(int band, int classId, Range range)
public Statistics[] getStatsPerBandNoClassifier(int band, Range range)
public Statistics[] getStatsPerBandNoClassifierNoRange(int band)
public Statistics[] getStatsPerBandNoRange(int band, int classId)
public Map<Integer,Map<Range,Statistics[]>> getStatsPerBand(int band)
public Map<Range,Statistics[]> getStatsPerBandPerClass(int band, int classId)
public int getNumClass()
public List<Range> getRanges()
public Set<Integer> getClasses()
public Map<Integer,Map<Integer,Map<Range,Statistics[]>>> getTotalStats()
public javax.media.jai.ROI getROI()
public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |