Agroeye  1.0
Public Member Functions | List of all members
agroeye::operations::QuadtreeSegmentation Class Reference

Segmentation Quadtree. More...

#include <SegmentationQuadtree.h>

Inheritance diagram for agroeye::operations::QuadtreeSegmentation:
Collaboration diagram for agroeye::operations::QuadtreeSegmentation:

Public Member Functions

 QuadtreeSegmentation (Raster raster, Parameters parameters)
 Constructor. More...
 
 QuadtreeSegmentation (Raster raster, Parameters parameters, CallbackFunction callbackFunc)
 Creates object segmenting the image. More...
 
int start ()
 Starts segmentation. More...
 
- Public Member Functions inherited from agroeye::operations::ChessboardSegmentation
 ChessboardSegmentation (Raster raster, Parameters parameters)
 Creates object segmenting the image. More...
 
 ChessboardSegmentation (Raster raster, Parameters parameters, CallbackFunction callbackFunc)
 Creates object segmenting the image. More...
 
virtual ~ChessboardSegmentation ()
 
int start ()
 Starts the operation of segmenting image. More...
 
- Public Member Functions inherited from agroeye::operations::GeneralSegmentation
void setDestination (Spatialite db)
 Sets the output location of segementation. More...
 
virtual ~GeneralSegmentation ()
 

Additional Inherited Members

- Static Public Attributes inherited from agroeye::operations::ChessboardSegmentation
static const size_t MAX_SIDE {256}
 
- Protected Member Functions inherited from agroeye::operations::ChessboardSegmentation
RasterDataGroup getInitialSegment ()
 Get first segment of image. More...
 
RasterDataGroup getNextSegment (RasterDataGroup &rasterData)
 Gets the next segment after given. More...
 
size_t approximateSegments () const
 
- Protected Member Functions inherited from agroeye::operations::GeneralSegmentation
 GeneralSegmentation (Raster aRaster, Parameters aParameters, CallbackFunction aCallbackFunc)
 
void save (RasterDataGroup &rasterData, size_t idNo)
 Saves one iteration of segmentation into database. More...
 
- Protected Attributes inherited from agroeye::operations::GeneralSegmentation
Raster raster
 
Parameters parameters
 
CallbackFunction callbackFunction
 
Spatialite db
 
PreparedStatement insertStmt
 
SpatialitePolygon spatiaPolygon
 

Detailed Description

Segmentation Quadtree.

Constructor & Destructor Documentation

§ QuadtreeSegmentation() [1/2]

agroeye::operations::QuadtreeSegmentation::QuadtreeSegmentation ( Raster  raster,
Parameters  parameters 
)
inline

Constructor.

Parameters
rasterInput, segmented raster
parametersSegmentation parameters

§ QuadtreeSegmentation() [2/2]

agroeye::operations::QuadtreeSegmentation::QuadtreeSegmentation ( Raster  raster,
Parameters  parameters,
CallbackFunction  callbackFunc 
)
inline

Creates object segmenting the image.

Parameters
rasterSegmented image
parametersParameters of segmentation
callbackFuncCallback function reporting progress
Here is the call graph for this function:

Member Function Documentation

§ start()

int agroeye::operations::QuadtreeSegmentation::start ( )

Starts segmentation.

Returns
If zero it means the whole process finishes without error
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: