OTB  9.0.0
Orfeo Toolbox
Public Member Functions | Public Attributes | List of all members
otb::PatternSampler::Parameter Struct Reference

#include <otbPatternSampler.h>

+ Collaboration diagram for otb::PatternSampler::Parameter:

Public Member Functions

bool operator!= (const struct Parameter &param) const
 

Public Attributes

unsigned long MaxPatternSize = 0
 
std::vector< bool > Pattern1
 
std::vector< bool > Pattern2
 
unsigned int Seed = 0
 

Detailed Description

Internal parameters, only contains an offset to shift the periodic sampling

Definition at line 50 of file otbPatternSampler.h.

Member Function Documentation

◆ operator!=()

bool otb::PatternSampler::Parameter::operator!= ( const struct Parameter param) const

Member Data Documentation

◆ MaxPatternSize

unsigned long otb::PatternSampler::Parameter::MaxPatternSize = 0

Maximum size of the internal patterns

Definition at line 54 of file otbPatternSampler.h.

◆ Pattern1

std::vector<bool> otb::PatternSampler::Parameter::Pattern1

First sampling pattern

Definition at line 57 of file otbPatternSampler.h.

◆ Pattern2

std::vector<bool> otb::PatternSampler::Parameter::Pattern2

Second sampling pattern (can be empty). It is called when the first pattern returns false

Definition at line 61 of file otbPatternSampler.h.

◆ Seed

unsigned int otb::PatternSampler::Parameter::Seed = 0

Seed used to randomly generate patterns (used only if greater than 0)

Definition at line 64 of file otbPatternSampler.h.


The documentation for this struct was generated from the following file: