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

Gradient finders should be encapsulated in a polymorphic class #4

Open
geronm opened this issue Jul 7, 2016 · 0 comments
Open

Gradient finders should be encapsulated in a polymorphic class #4

geronm opened this issue Jul 7, 2016 · 0 comments

Comments

@geronm
Copy link
Collaborator

geronm commented Jul 7, 2016

We will soon have several different methods for inverting from GelSight RGB to gradients. These different methods have different initializations and invocations, and so it would be nice to have them encapsulated in classes where the constructors would handle initialization (and paramaterization, if there is any) and the class would have a method convertRGBToGradients for the inversion.

Inversion methods we have so far:

  • convolution filter applied to BGSub'd image
  • spatially-varying lookup table applied throughout the RGB image
  • octree-based XY->RGB inversion
  • lookup bin RGB->XY mapping

EDIT: added last two inversion methods

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

No branches or pull requests

1 participant