drawrectangle
时间: 2023-09-18 21:06:01 浏览: 134
实例解析Java设计模式编程中的适配器模式使用
draw_rectangle是一个halcon的交互函数,通过鼠标左键在图片上画一个矩形,然后通过鼠标右键结束交互过程。这个函数返回我们绘制矩形的左上角的点坐标和右下角的点坐标,但是它并不会在界面上绘制这个矩形。具体使用时,我们可以调用Halcon的DRAWRECTANGLE函数来绘制矩形,该函数接受一个参数作为输入,该参数是一个1x5数组,包含了矩形的中心坐标、宽度、高度和旋转角度。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Graphics.DrawRectangle 方法](https://blog.csdn.net/haier123888/article/details/104163723)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [【halcon】draw_rectangle1](https://blog.csdn.net/songhuangong123/article/details/127453725)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [绘制矩形:这是一个函数,用于绘制给定中心、宽度和高度以及旋转角度的矩形。-matlab开发](https://download.csdn.net/download/weixin_38503483/19239531)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文