public class RasterROI extends AbstractROI
PERSISTENT_DESCRIPTION, PERSISTENT_NAME, roiExtent, statistic, xOffset, yOffset| Constructor and Description |
|---|
RasterROI(RasterDataStore store)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(int x,
int y)
Deprecated.
Añade el pixel con coordenadas
x,y (coordenadas pixel) al ROI |
void |
clear()
Deprecated.
Excluye a todos los píxeles de la ROI
|
Grid |
getMaskGrid()
Deprecated.
|
boolean |
isInside(double x,
double y,
double w,
double h)
Deprecated.
Checks if a rectangle in pixel coordinates intersects with some geometry of this ROI
|
boolean |
isInsideOfPolygon(int x,
int y)
Deprecated.
Checks if a point in pixel coordinates which is inside the grid, belongs to
a geometry
|
void |
loadFromState(PersistentState state)
Deprecated.
|
static void |
registerPersistence()
Deprecated.
|
void |
removePoint(int x,
int y)
Deprecated.
Excluye al pixel con coordenadas
x,y de su participación en la ROI. |
void |
saveToState(PersistentState state)
Deprecated.
|
add, clearBandsSubset, exclusiveOr, getBandCount, getBandsSubset, getCellSize, getColor, getID, getLayerHeight, getLayerWidth, getMaxValue, getMeanValue, getMinValue, getName, getNoDataValue, getROIExtent, getROIPxHeight, getROIPxWidth, getROIsMaximunExtent, getStatistic, getStore, getStoreExtent, getValues, getVarCovMatrix, getVariance, intersect, setBandsSubset, setColor, setID, setName, subtract, toStringpublic RasterROI(RasterDataStore store)
public boolean isInsideOfPolygon(int x,
int y)
AbstractROIisInsideOfPolygon in interface ROIisInsideOfPolygon in class AbstractROIx - X coordinatey - Y coordinatepublic Grid getMaskGrid()
public void addPoint(int x,
int y)
x,y (coordenadas pixel) al ROIx - y - public void removePoint(int x,
int y)
x,y de su participación en la ROI.x - y - public void clear()
public boolean isInside(double x,
double y,
double w,
double h)
AbstractROIisInside in interface ROIisInside in class AbstractROIx - X upper left coordinatey - Y upper left coordinatew - Width of the area in pixelsh - Height of the area in pixelspublic void loadFromState(PersistentState state) throws PersistenceException
loadFromState in class AbstractROIPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
saveToState in class AbstractROIPersistenceExceptionpublic static void registerPersistence()