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

Code to process raw dataset to simplified dataset #33

Open
michaelhuang74 opened this issue Jun 4, 2019 · 6 comments
Open

Code to process raw dataset to simplified dataset #33

michaelhuang74 opened this issue Jun 4, 2019 · 6 comments

Comments

@michaelhuang74
Copy link

The simplification process is discussed as follows.

  1. Align the drawing to the top-left corner, to have minimum values of 0.
  2. Uniformly scale the drawing, to have a maximum value of 255.
  3. Resample all strokes with a 1 pixel spacing.
  4. Simplify all strokes using the Ramer–Douglas–Peucker algorithm with an epsilon value of 2.0.

Where can I find the source code that implements the above steps for simplifying the raw dataset? Thanks.

@hardmaru
Copy link
Contributor

hardmaru commented Jun 4, 2019 via email

@michaelhuang74
Copy link
Author

@hardmaru Thank you very much for sharing your implementation of RDP algorithm.

@PengBoXiangShang
Copy link
Contributor

@michaelhuang74 Hello, have you got the source code that implements the four preprocessing steps? Thanks.

@michaelhuang74
Copy link
Author

@PengBoXiangShang No, I didn't. It was almost one year ago. I had moved to other things. Sorry.

@PengBoXiangShang
Copy link
Contributor

@michaelhuang74 Thanks for your reply.

@PengBoXiangShang
Copy link
Contributor

@HalfdanJ Hello dear Jonas, could you please release the code to covert the raw data to simplified data? Thank you very much.

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

4 participants
@hardmaru @PengBoXiangShang @michaelhuang74 and others