projects
/
goodguy
/
history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27f1d9c
)
fix to histogram_bezier polynomial
author
Good Guy
<
[email protected]
>
Mon, 29 Feb 2016 23:37:57 +0000
(16:37 -0700)
committer
Good Guy
<
[email protected]
>
Mon, 29 Feb 2016 23:37:57 +0000
(16:37 -0700)
cinelerra-5.0/plugins/histogram_bezier/bistogram.C
patch
|
blob
|
history
diff --git
a/cinelerra-5.0/plugins/histogram_bezier/bistogram.C
b/cinelerra-5.0/plugins/histogram_bezier/bistogram.C
index 6799e316e8ea0f2f1f2a3eb82573aa0b15e75ebc..9e34e016ddca680cde72e400dab9bf5225f9a83a 100644
(file)
--- a/
cinelerra-5.0/plugins/histogram_bezier/bistogram.C
+++ b/
cinelerra-5.0/plugins/histogram_bezier/bistogram.C
@@
-342,7
+342,7
@@
float HistogramMain::calculate_linear(float input,
float dy = y2 - y1;
float delx = input - x1;
output = (grad2 * dx + grad1 * dx - 2*dy) / (dx * dx * dx) * delx * delx * delx +
- (
dx * dx) * (
3*dy - 2* grad1*dx - grad2*dx) / (dx * dx) * delx * delx + grad1*delx + y1;
+ (3*dy - 2* grad1*dx - grad2*dx) / (dx * dx) * delx * delx + grad1*delx + y1;
}
else if (config.smoothMode == HISTOGRAM_BEZIER)
{