aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline.h
diff options
context:
space:
mode:
authorYousef Jan <yousefjan24000@gmail.com>2026-09-16 14:11:01 +0300
committerYousef Jan <yousefjan24000@gmail.com>2026-09-16 14:12:06 +0300
commitc65f2ab3a75e93037e3c21bb40fe8d360f23c0fd (patch)
tree91212ef574f93749bcb36d6ee9b9c57b14d6c085 /src/pipeline.h
parent15bb2f12fd1b3a47ae0a790cfbd71f8837a3badc (diff)
Add filter per pyramid levelHEADmain
Diffstat (limited to 'src/pipeline.h')
-rw-r--r--src/pipeline.h5
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);