src/Pipeline.cpp
void Pipeline::convexHulls(std::vector<std::vector<cv::Point> > &inputContours, std::vector<std::vector<cv::Point> > &outputContours) {
		std::vector<std::vector<cv::Point> > hull (inputContours.size());
		outputContours.clear();
		for (size_t i = 0; i < inputContours.size(); i++ ) {
			cv::convexHull(cv::Mat((inputContours)[i]), hull[i], false);
		}
		outputContours = hull;
	}
/**
	 * Compute the convex hulls of contours.
	 *
	 * @param inputContours The contours on which to perform the operation.
	 * @param outputContours The contours where the output will be stored.
	 */
Compute the convex hulls of contours.
@param inputContours The contours on which to perform the operation.
@param outputContours The contours where the output will be stored.
Compute the convex hulls of contours . @param inputContours The contours on which to perform the operation . @param outputContours The contours where the output will be stored .
void Pipeline::convexHulls(std::vector<std::vector<cv::Point> > &inputContours, std::vector<std::vector<cv::Point> > &outputContours) {
		std::vector<std::vector<cv::Point> > hull (inputContours.size());
		outputContours.clear();
		for (size_t i = 0; i < inputContours.size(); i++ ) {
			cv::convexHull(cv::Mat((inputContours)[i]), hull[i], false);
		}
		outputContours = hull;
	}
void Pipeline :: convexHulls ( std :: vector < std :: vector < cv :: Point > > & inputContours , std :: vector < std :: vector < cv :: Point > > & outputContours ) { std :: vector < std :: vector < cv :: Point > > hull ( inputContours . size ( ) ) ; outputContours . clear ( ) ; for ( size_t i = 0 ; i < inputContours . size ( ) ; i ++ ) { cv :: convexHull ( cv :: Mat ( ( inputContours ) [ i ] ) , hull [ i ] , false ) ; } outputContours = hull ; }
Compute the convex hulls of contours.
Compute the convex hulls of contours .