diff options
Diffstat (limited to 'src/pipeline.h')
| -rw-r--r-- | src/pipeline.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pipeline.h b/src/pipeline.h index 93a7ea9..d533b73 100644 --- a/src/pipeline.h +++ b/src/pipeline.h @@ -31,6 +31,7 @@ struct Pyramid { struct Params { float radius = 5.0f; + float rho = 2.0f; // structure tensor smoothing float alpha = 1.0f; // eccentricity tuning int num_sectors = 8; float q = 8.0f; @@ -47,6 +48,6 @@ Pyramid make_pyramid(int base_width, int base_height, int num_levels); void destroy_pyramid(Pyramid& pyr); void build_pyramid (Pyramid& pyr); -void compute_tensor(Pyramid& pyr, const Params& p); -void smooth_tensor (Pyramid& pyr, const Params& p); +void compute_tensor(PyramidLevel& lvl); +void smooth_tensor (PyramidLevel& lvl, const Params& p); void run_pipeline (Pyramid& pyr, const Params& p); |