Lines Matching refs:cv
105 MotionCells::performDetectionMotionCells (cv::Mat p_frame, in performDetectionMotionCells()
117 cv::Size frameSize; in performDetectionMotionCells()
145 cv::Mat m_pcurgreyImage = cv::Mat (frameSize, CV_8UC1); in performDetectionMotionCells()
146 cv::Mat m_pprevgreyImage = cv::Mat (frameSize, CV_8UC1); in performDetectionMotionCells()
147 cv::Mat m_pgreyImage = cv::Mat (frameSize, CV_8UC1); in performDetectionMotionCells()
148 cv::Mat m_pcurDown = cv::Mat (frameSize, m_pcurFrame.type ()); in performDetectionMotionCells()
149 cv::Mat m_pprevDown = cv::Mat (frameSize, m_pprevFrame.type ()); in performDetectionMotionCells()
152 cvtColor (m_pprevDown, m_pprevgreyImage, cv::COLOR_RGB2GRAY); in performDetectionMotionCells()
154 cvtColor (m_pcurDown, m_pcurgreyImage, cv::COLOR_RGB2GRAY); in performDetectionMotionCells()
159 cv::absdiff (m_pprevgreyImage, m_pcurgreyImage, m_pdifferenceImage); in performDetectionMotionCells()
162 cv::adaptiveThreshold (m_pdifferenceImage, m_pbwImage, 255, in performDetectionMotionCells()
163 cv::ADAPTIVE_THRESH_GAUSSIAN_C, cv::THRESH_BINARY_INV, 7, 5); in performDetectionMotionCells()
166 cv::dilate (m_pbwImage, m_pbwImage, cv::Mat (), cv::Point (-1, -1), 2); in performDetectionMotionCells()
167 cv::erode (m_pbwImage, m_pbwImage, cv::Mat (), cv::Point (-1, -1), 2); in performDetectionMotionCells()
182 transparencyimg = cv::Mat::zeros (p_frame.size (), p_frame.type ()); in performDetectionMotionCells()
190 cv::Point pt1, pt2; in performDetectionMotionCells()
196 cv::rectangle (transparencyimg, in performDetectionMotionCells()
200 motioncellscolor.R_channel_value), cv::FILLED); in performDetectionMotionCells()
202 cv::rectangle (p_frame, in performDetectionMotionCells()
259 cv::Point pt1, pt2; in performDetectionMotionCells()
265 cv::rectangle (transparencyimg, in performDetectionMotionCells()
270 motioncellscolor.R_channel_value), cv::FILLED); in performDetectionMotionCells()
272 cv::rectangle (p_frame, in performDetectionMotionCells()
448 mci.motioncell = cv::Rect (mci.cell_pt1.x, mci.cell_pt1.y, w, h); in calculateMotionPercentInMotionCells()
473 mci.motioncell = cv::Rect (mci.cell_pt1.x, mci.cell_pt1.y, w, h); in calculateMotionPercentInMotionCells()
484 cv::Point upperleft; in performMotionMaskCoords()
487 cv::Point lowerright; in performMotionMaskCoords()
495 cv::rectangle (m_pbwImage, upperleft, lowerright, CV_RGB (0, 0, 0), in performMotionMaskCoords()
496 cv::FILLED); in performMotionMaskCoords()
521 MotionCells::blendImages (cv::Mat p_actFrame, cv::Mat p_cellsFrame, in blendImages()