#include <brip_watershed_params.h>
Public Member Functions | |
brip_watershed_params (float sigma=1.0, float thresh=10.0, bool eight_connected=true, bool verbose=false) | |
brip_watershed_params (const brip_watershed_params &old_params) | |
bool | SanityCheck () |
Checks that parameters are within acceptable bounds. | |
Public Attributes | |
float | sigma_ |
Standard deviation of the smoothing kernel. | |
float | thresh_ |
Threshold (min grad difference for a seed) | |
bool | eight_connected_ |
Neighborhood connectivity (8 vs 4) | |
bool | verbose_ |
output debug messages | |
Protected Member Functions | |
void | InitParams (float sigma, float thresh, bool eight_connected, bool verbose) |
Friends | |
vcl_ostream & | operator<< (vcl_ostream &, const brip_watershed_params &wp) |
Definition at line 16 of file brip_watershed_params.h.
brip_watershed_params::brip_watershed_params | ( | float | sigma = 1.0 , |
float | thresh = 10.0 , |
||
bool | eight_connected = true , |
||
bool | verbose = false |
||
) |
Definition at line 17 of file brip_watershed_params.cxx.
brip_watershed_params::brip_watershed_params | ( | const brip_watershed_params & | old_params | ) |
Definition at line 11 of file brip_watershed_params.cxx.
void brip_watershed_params::InitParams | ( | float | sigma, |
float | thresh, | ||
bool | eight_connected, | ||
bool | verbose | ||
) | [protected] |
Definition at line 24 of file brip_watershed_params.cxx.
bool brip_watershed_params::SanityCheck | ( | ) |
Checks that parameters are within acceptable bounds.
Definition at line 37 of file brip_watershed_params.cxx.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
const brip_watershed_params & | wp | ||
) | [friend] |
Definition at line 59 of file brip_watershed_params.cxx.
Neighborhood connectivity (8 vs 4)
Definition at line 38 of file brip_watershed_params.h.
Standard deviation of the smoothing kernel.
Definition at line 36 of file brip_watershed_params.h.
Threshold (min grad difference for a seed)
Definition at line 37 of file brip_watershed_params.h.
output debug messages
Definition at line 39 of file brip_watershed_params.h.