public class RasterClutterMethod extends Object
| Constructor and Description |
|---|
RasterClutterMethod(TiledImage image) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAndExportBravoFaridClutter(float k,
int minSize,
float sigma,
File output)
Compute the Bravo & Farid (2008) scale invariant clutter (see
getBravoFaridClutter()) and exports the segmented image as a file.
|
int |
getBravoFaridClutter(float k,
int minSize,
float sigma)
Compute the Bravo & Farid (2008) scale invariant clutter, based on the
segmentation technique from Felzenszwalb and Huttenlocher (2004).
|
double |
getEdgeDensityClutter()
According to (Rosenhotlz et al 2007), a simple edge density gives a good
global evaluation of an image clutter.
|
Map<Integer,Map<Integer,Double>> |
getGridEdgeDensityClutter(int nbColumns)
Compute the edge density clutter in a grid version of the image, where the
number of columns of the grid is given (the size of the cells is computed
according to the image size).
|
TiledImage |
getImage() |
void |
setImage(TiledImage image) |
public RasterClutterMethod(TiledImage image)
public TiledImage getImage()
public void setImage(TiledImage image)
public double getEdgeDensityClutter()
public Map<Integer,Map<Integer,Double>> getGridEdgeDensityClutter(int nbColumns)
nbColumns - public int getBravoFaridClutter(float k,
int minSize,
float sigma)
k - is the segmentation threshold (default 500)minSize - is the minimum component size enforced by post-processing
(default 20)sigma - Used to smooth the input image before segmenting it (default
0.5)public int getAndExportBravoFaridClutter(float k,
int minSize,
float sigma,
File output)
throws IOException
k - minSize - sigma - output - the file in which the image is written.IOExceptionCopyright © 2016 Laboratoire COGIT, IGN. All rights reserved.