目录一、引言二、环境准备三、代码实现1. 导入必要的库2. 腐蚀操作3. 膨胀操作4. 开运算5. 闭运算6. 礼帽操作7. 黑帽操作8. 形态学梯度操作9. 主函数调用四、代码解释五、总结一、引言
Im making a game in xna where a tank has to move over a landscape. I need to be able find the bottom of the tank when it is rotated so I can make it move up and down as the player goes over the landsc