From c65f2ab3a75e93037e3c21bb40fe8d360f23c0fd Mon Sep 17 00:00:00 2001 From: Yousef Jan Date: Wed, 16 Sep 2026 14:11:01 +0300 Subject: Add filter per pyramid level --- src/pipeline.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/pipeline.h') 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); -- cgit v1.2.3