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

Global transformation #5

Open
leoschwarz opened this issue Jun 2, 2024 · 1 comment
Open

Global transformation #5

leoschwarz opened this issue Jun 2, 2024 · 1 comment

Comments

@leoschwarz
Copy link

Hi

I'm interested in this OpenTabletDriver plugin, but for my use case the grid-based approach didn't work out nicely because of the artifacts it introduces. I have seen you opened #3 which would potentially alleviate my problem, but I wonder if you or others really have tablets that require different scaling factors in different areas of the tablet?

Because a simpler but less general approach is to use the point pairs to fit a single transform for the whole tablet. It's less general, because I'm assuming translation and scaling is enough. I've made a very quick test and put it on https://github.com/leoschwarz/BetterCalibrator/tree/feat-global-transform . For me it's working out fine, but I haven't tried all display modes etc. If you are interested I would port the model fitting to C# at a later time, so it could be integrated into the plugin more easily. In case you want to try it, it's essentially as before, but there's also a Python script that fits the offsets.json point pairs and creates a model.json which should be put in the same folder.

@TheBlueOompaLoompa
Copy link
Owner

I need gradient for my tablet. It has this weird thing where it drifts near the edges but is fine near the center.

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

2 participants