Agroeye  1.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
agroeye::operations::GeneralSegmentation Class Reference

Object encapsulating general segmentation. More...

#include <SegmentationGeneral.h>

Inheritance diagram for agroeye::operations::GeneralSegmentation:
Collaboration diagram for agroeye::operations::GeneralSegmentation:

Public Member Functions

void setDestination (Spatialite db)
 Sets the output location of segementation. More...
 
virtual ~GeneralSegmentation ()
 

Protected Member Functions

 GeneralSegmentation (Raster aRaster, Parameters aParameters, CallbackFunction aCallbackFunc)
 
void save (RasterDataGroup &rasterData, size_t idNo)
 Saves one iteration of segmentation into database. More...
 

Protected Attributes

Raster raster
 
Parameters parameters
 
CallbackFunction callbackFunction
 
Spatialite db
 
PreparedStatement insertStmt
 
SpatialitePolygon spatiaPolygon
 

Detailed Description

Object encapsulating general segmentation.

Constructor & Destructor Documentation

§ ~GeneralSegmentation()

virtual agroeye::operations::GeneralSegmentation::~GeneralSegmentation ( )
inlinevirtual

§ GeneralSegmentation()

agroeye::operations::GeneralSegmentation::GeneralSegmentation ( Raster  aRaster,
Parameters  aParameters,
CallbackFunction  aCallbackFunc 
)
inlineprotected

Member Function Documentation

§ save()

void agroeye::operations::GeneralSegmentation::save ( RasterDataGroup rasterData,
size_t  idNo 
)
protected

Saves one iteration of segmentation into database.

Inside this method values of statistic are computed !!

Parameters
rasterData
idNoNumber of saving segment
Here is the call graph for this function:
Here is the caller graph for this function:

§ setDestination()

void agroeye::operations::GeneralSegmentation::setDestination ( Spatialite  db)

Sets the output location of segementation.

Parameters
dbSpatialite database with segmentation results
Here is the call graph for this function:

Member Data Documentation

§ callbackFunction

CallbackFunction agroeye::operations::GeneralSegmentation::callbackFunction
protected

§ db

Spatialite agroeye::operations::GeneralSegmentation::db
protected

Callback function reporting progress Destination database with results

§ insertStmt

PreparedStatement agroeye::operations::GeneralSegmentation::insertStmt
protected

Statement for batch insert into database

§ parameters

Parameters agroeye::operations::GeneralSegmentation::parameters
protected

Segmentation parameters

§ raster

Raster agroeye::operations::GeneralSegmentation::raster
protected

Segmented raster

§ spatiaPolygon

SpatialitePolygon agroeye::operations::GeneralSegmentation::spatiaPolygon
protected

Convertions from pixel coordinates into spatial polygon


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