Esempio n. 1
0
		void Utils::fastSubtractHandler(const ImageProc::ImageProc& imProc, const GBL::Image_t& image1, const GBL::Image_t& image2, GBL::Image_t& outputImage) {
			imProc.fastSubtract(image1, image2, outputImage);
		}
GBL::CmRetCode_t SimpleBlobDetector::detect(const GBL::Image_t& inputImage, GBL::KeyPointCollection_t& detectedKeypoints, const GBL::Image_t& background, const ImageProc::ImageProc& imProc) const {
	GBL::Image_t outputImage;
	imProc.fastSubtract(inputImage, background, outputImage); 
	return detect(outputImage, detectedKeypoints);
}