bound2im
来源:互联网 发布:出版社要出版专业知乎 编辑:程序博客网 时间:2024/05/16 17:22
bound2im
bound2im Converts a boundary to an image. B = bound2im(b) converts b, an np-by-2 or 2-by-np array representing the integer coordinates of a boundary, into a binary image with 1s in the locations defined by the coordinates in b and 0s elsewhere. B = bound2im(b, M, N) places the boundary approximately centered in an M-by-N image. If any part of the boundary is outside the M-by-N rectangle, an error is issued. B = bound2im(b, M, N, X0, Y0) places the boundary in an image of size M-by-N, with the topmost boundary point located at X0 and the leftmost point located at Y0. If the shifted boundary is outside the M-by-N rectangle, an error is issued. XO and X0 must be positive integers.
阅读全文
0 0
- bound2im
- BZOJ 5055: 膜法师 树状数组
- Mybatis基础
- 【LeetCode】182. Duplicate Emails
- Java中Synchronized的用法
- leetcode 39. Combination Sum40
- bound2im
- KALI2.0 meterpreter 运用
- 记录17.9.26第一个面试-顺丰JAVA
- python操作excel读入文件
- Java实现——求丑数
- HDU 3501 Calculation 2 (欧拉函数)
- Spark-RDD笔记及集群作业实例
- Go语言入门——从一个简单例子入门
- 使用Mocha+spectron测试Electron打包的桌面版程序(2)PO模型