| 54 | } |
| 55 | |
| 56 | void inset(cv::Rect& rect, int width) |
| 57 | { |
| 58 | assert(width >= 0 || rect.width > -width); |
| 59 | |
| 60 | int width2 = width<<1; |
| 61 | rect.x -= width; |
| 62 | rect.y -= width; |
| 63 | rect.width += width2; |
| 64 | rect.height += width2; |
| 65 | } |
| 66 | |
| 67 | cv::Mat merge(const cv::Mat& rgb, const cv::Mat& alpha) |
| 68 | { |
nothing calls this directly
no outgoing calls
no test coverage detected