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

Class encapsulating different segmentation parameters. More...

#include <SegmentationParameters.h>

Collaboration diagram for agroeye::operations::Parameters:

Public Member Functions

 Parameters ()
 
 Parameters (BandsList bands)
 All given band will take part in segmentation and calucation statistics. More...
 
 Parameters (const Parameters &other)=default
 
Parametersoperator= (const Parameters &other)=default
 
 Parameters (Parameters &&other)=default
 
Parametersoperator= (Parameters &&other)=default
 
virtual ~Parameters ()
 
void setSquareSide (size_t side)
 Sets square side in Chessboard segmentation. More...
 
size_t getSquareSide () const
 
void setThreshold (double value)
 Sets threshold value for quadtree segmentation. More...
 
double getThreshold () const
 
BandsList getReadBands () const
 
BandsList getSegmentationBands () const
 
BandsList getStatisticsBands () const
 
StatisticsList getStatsTypes () const
 
StatisticsList getStatsToBand (size_t band) const
 Get statisics that have to be computed for given band. More...
 
BandsList getBandsToStat (StatisticsTypes type) const
 Get all bands for which given type of statistic is computed. More...
 

Static Public Member Functions

static std::string statisticEnumToName (const StatisticsTypes type)
 Convert statistic enum to string value. More...
 

Detailed Description

Class encapsulating different segmentation parameters.

Constructor & Destructor Documentation

§ Parameters() [1/4]

agroeye::operations::Parameters::Parameters ( )
inline

§ Parameters() [2/4]

agroeye::operations::Parameters::Parameters ( BandsList  bands)

All given band will take part in segmentation and calucation statistics.

Parameters
bandsBands values

§ Parameters() [3/4]

agroeye::operations::Parameters::Parameters ( const Parameters other)
default

§ Parameters() [4/4]

agroeye::operations::Parameters::Parameters ( Parameters &&  other)
default

§ ~Parameters()

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

Member Function Documentation

§ getBandsToStat()

BandsList agroeye::operations::Parameters::getBandsToStat ( StatisticsTypes  type) const

Get all bands for which given type of statistic is computed.

Parameters
typeGiven statistic type
Here is the caller graph for this function:

§ getReadBands()

BandsList agroeye::operations::Parameters::getReadBands ( ) const

Get all bands that have to be read

Here is the caller graph for this function:

§ getSegmentationBands()

BandsList agroeye::operations::Parameters::getSegmentationBands ( ) const

Get all bands pariticapting in segmentation

Here is the caller graph for this function:

§ getSquareSide()

size_t agroeye::operations::Parameters::getSquareSide ( ) const

Returns the side of square

Here is the caller graph for this function:

§ getStatisticsBands()

BandsList agroeye::operations::Parameters::getStatisticsBands ( ) const

Get all bands that require counting statistics

§ getStatsToBand()

StatisticsList agroeye::operations::Parameters::getStatsToBand ( size_t  band) const

Get statisics that have to be computed for given band.

Parameters
bandGive band

§ getStatsTypes()

StatisticsList agroeye::operations::Parameters::getStatsTypes ( ) const

Get all type of statistic that have to be computed

Here is the caller graph for this function:

§ getThreshold()

double agroeye::operations::Parameters::getThreshold ( ) const
inline
Here is the caller graph for this function:

§ operator=() [1/2]

Parameters& agroeye::operations::Parameters::operator= ( const Parameters other)
default

§ operator=() [2/2]

Parameters& agroeye::operations::Parameters::operator= ( Parameters &&  other)
default

§ setSquareSide()

void agroeye::operations::Parameters::setSquareSide ( size_t  side)

Sets square side in Chessboard segmentation.

Parameters
sideSquare side
Here is the caller graph for this function:

§ setThreshold()

void agroeye::operations::Parameters::setThreshold ( double  value)
inline

Sets threshold value for quadtree segmentation.

Parameters
valueThreshold value

§ statisticEnumToName()

std::string agroeye::operations::Parameters::statisticEnumToName ( const StatisticsTypes  type)
static

Convert statistic enum to string value.

Parameters
typeType of statistic
Returns
Corresponding text name
Here is the caller graph for this function:

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