-
Notifications
You must be signed in to change notification settings - Fork 539
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the inconsistent image coordinate conventions used in the code: t…
…he convention that (0,0) be the left top corner of the first pixel is adopted in this commit. In the previous versions, the coordinate convention used for `quad_decimate=1, refine_edges=false` is already `left-top-corner=(0,0)`; while for `quad_decimate>1` or `refine_edges=true`, the convention is vague since it seems mixed conventions are used and [some code](#345 (comment)) even be wrong. This fix ensures the same convention be used no matter what values for `quad_decimate` (=1 or >1) and `refine_edges`.
- Loading branch information
1 parent
5666602
commit a62f434
Showing
2 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters