We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
报错信息如下,原因是y代表的y坐标超过了原图(128*128)本身的大小
解决方案:由于是运算过程中产生可比如127.5最后向上(round)取整得到128,将向上取整改为向下取整(floor)可以解决
向上取整:
向下取整:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
报错信息如下,原因是y代表的y坐标超过了原图(128*128)本身的大小
![image](https://user-images.githubusercontent.com/48787805/125612881-e40f4868-0874-4181-903b-2f0b21efa006.png)
解决方案:由于是运算过程中产生可比如127.5最后向上(round)取整得到128,将向上取整改为向下取整(floor)可以解决
向上取整:
![image](https://user-images.githubusercontent.com/48787805/125613510-c31d4169-5792-4f29-be3b-1ca46aab5f9e.png)
向下取整:
![image](https://user-images.githubusercontent.com/48787805/125613482-f060297b-0ba9-42df-b959-6a94a83a6cf7.png)
The text was updated successfully, but these errors were encountered: