| 1095 | |
| 1096 | |
| 1097 | bool pixelOutOfImageRange(cv::Point2i stylePixel, cv::Point2i targetPixel, const cv::Mat& image) |
| 1098 | { |
| 1099 | return (stylePixel.x < 0 || targetPixel.x < 0 || stylePixel.y < 0 || targetPixel.y < 0 || |
| 1100 | stylePixel.x > image.cols - 1 || targetPixel.x > image.cols - 1 || stylePixel.y > image.rows - 1 || targetPixel.y > image.rows - 1); |
| 1101 | } |
| 1102 | |
| 1103 | |
| 1104 | bool pixelIsNotCovered(cv::Point2i pixel, const cv::Mat1i& coveredPixels) |
no outgoing calls
no test coverage detected