Searched refs:costH (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/stitching/src/ |
D | seam_finders.cpp | 713 int comp, Mat_<float> &costV, Mat_<float> &costH) in computeCosts() argument 764 costH.create(roi.height+1, roi.width); in computeCosts() 775 costH(y - roi.y, x - roi.x) = costColor; in computeCosts() 780 costH(y - roi.y, x - roi.x) = costColor / costGrad; in computeCosts() 784 costH(y - roi.y, x - roi.x) = badRegionCost; in computeCosts() 796 Mat_<float> costV, costH; in estimateSeam() local 797 computeCosts(image1, image2, tl1, tl2, comp, costV, costH); in estimateSeam() 848 steps[nsteps++] = std::make_pair(cost(y, x-1) + costH(y, x-1), 1); in estimateSeam() 850 … steps[nsteps++] = std::make_pair(cost(y-1, x-1) + costH(y-1, x-1) + costV(y-1, x), 2); in estimateSeam() 852 … steps[nsteps++] = std::make_pair(cost(y+1, x-1) + costH(y+1, x-1) + costV(y, x), 3); in estimateSeam() [all …]
|
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/ |
D | seam_finders.hpp | 198 int comp, Mat_<float> &costV, Mat_<float> &costH);
|