Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HighOrder Distortions #12

Open
Oliver-Loeffler opened this issue Feb 2, 2020 · 1 comment
Open

HighOrder Distortions #12

Oliver-Loeffler opened this issue Feb 2, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Oliver-Loeffler
Copy link
Owner

Oliver-Loeffler commented Feb 2, 2020

Add support for image distortions of higher (polynomial) order.

Requirements:

  • support for 2nd order including cross-terms kn*X*Y, 2nd order means up to km*X^2*Y^2
  • model shall be parametrical, so that each coefficient can be toggled independently (e.g. equation such as t + a*X + b*Y + c*X^2 + d*X*Y + e*X^2*Y + f * X*Y^2 + g*X^2 * Y^2 etc.). Each coefficient in {a,b,c,d,e,f,g} should be independently configured to be enabled/disabled.
  • Ideally a builder is there to create the configuration.
  • The model should determine best fit conditions independently depending on data Orientation (Dimension) and SpatialDistribution.
  • Ideally, model should be expandable to higher orders beyond 2nd order - but right now I have no good idea how to do that.
@Oliver-Loeffler Oliver-Loeffler added the enhancement New feature or request label Feb 2, 2020
@Oliver-Loeffler Oliver-Loeffler self-assigned this Feb 2, 2020
@Oliver-Loeffler
Copy link
Owner Author

Idea:

  • Either create an enum type for coefficients so that each coefficient can have a name etc. OR just number the coefficients, so coefficients will be int. If coefficients are int, then lets say that all odd int values denote coefficients for x-axis and all even int values will be used as y-axis coefficient indices.

  • Or, do not distinguish between X/Y axis in coefficient names actually its not needed.

  • Create a HigherOrderEquation, one for X, one for Y, pass the selected coefficients into the equation and if queried, the equation will provide coefficients with their values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant