개정판 d8ddd93d
Add function to rotate point
DTI_PID/DTI_PID/DTI_PID.py | ||
---|---|---|
113 | 113 |
def cvtGrayImage(img): |
114 | 114 |
return cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) |
115 | 115 |
|
116 |
''' |
|
117 |
@brief rotate and translate by given angle |
|
118 |
@author jwkim |
|
119 |
@date 2018.??.?? |
|
120 |
''' |
|
116 | 121 |
def getCoordOnRotatedImage(rAngle, x, y, originImageWidth, originImageHeight): |
117 | 122 |
rx = None |
118 | 123 |
ry = None |
내보내기 Unified diff