![]() |
Agroeye
1.0
|
Class encapsulating different segmentation parameters. More...
#include <SegmentationParameters.h>
Public Member Functions | |
Parameters () | |
Parameters (BandsList bands) | |
All given band will take part in segmentation and calucation statistics. More... | |
Parameters (const Parameters &other)=default | |
Parameters & | operator= (const Parameters &other)=default |
Parameters (Parameters &&other)=default | |
Parameters & | operator= (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... | |
Class encapsulating different segmentation parameters.
|
inline |
agroeye::operations::Parameters::Parameters | ( | BandsList | bands | ) |
All given band will take part in segmentation and calucation statistics.
bands | Bands values |
|
default |
|
default |
|
inlinevirtual |
BandsList agroeye::operations::Parameters::getBandsToStat | ( | StatisticsTypes | type | ) | const |
Get all bands for which given type of statistic is computed.
type | Given statistic type |
BandsList agroeye::operations::Parameters::getReadBands | ( | ) | const |
Get all bands that have to be read
BandsList agroeye::operations::Parameters::getSegmentationBands | ( | ) | const |
Get all bands pariticapting in segmentation
size_t agroeye::operations::Parameters::getSquareSide | ( | ) | const |
Returns the side of square
BandsList agroeye::operations::Parameters::getStatisticsBands | ( | ) | const |
Get all bands that require counting statistics
StatisticsList agroeye::operations::Parameters::getStatsToBand | ( | size_t | band | ) | const |
Get statisics that have to be computed for given band.
band | Give band |
StatisticsList agroeye::operations::Parameters::getStatsTypes | ( | ) | const |
Get all type of statistic that have to be computed
|
inline |
|
default |
|
default |
void agroeye::operations::Parameters::setSquareSide | ( | size_t | side | ) |
Sets square side in Chessboard segmentation.
side | Square side |
|
inline |
Sets threshold value for quadtree segmentation.
value | Threshold value |
|
static |
Convert statistic enum to string value.
type | Type of statistic |