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

产生的图片右边多了一个象素的空白 #1

Closed
caixw opened this issue May 29, 2015 · 0 comments
Closed

产生的图片右边多了一个象素的空白 #1

caixw opened this issue May 29, 2015 · 0 comments
Assignees
Labels

Comments

@caixw
Copy link
Member

caixw commented May 29, 2015

所有图像,右边和下边都会比左边和上边多一个单位的空白

@caixw caixw added the bug label May 29, 2015
@caixw caixw self-assigned this May 29, 2015
@caixw caixw closed this as completed in fb104fe May 29, 2015
caixw added a commit that referenced this issue Jun 29, 2015
之前#1并未正直解决该bug,而是简单的减少图像一个像素;
出现#1的bug的真正原因是因为,坐标旋转的时候,中心坐标并未指向中心,而是向右下方偏移了0.5个坐标点。
而且在计算blocksize时,是先计算结果,再转换成float,致使计算结果并未真正取到小数位。

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

No branches or pull requests

1 participant