@@ -14,7 +14,8 @@ int findColMajorInd(int rowMajorInd, int nRows, int nCols)
14
14
return (jInd * nRows + iInd);
15
15
}
16
16
17
- static void generateFVectorIntraU (my_vector_of_vectors_t & samples, Mat& img, Mat& tmap, std::vector<int >& orig_ind)
17
+ static
18
+ void generateFVectorIntraU (my_vector_of_vectors_t & samples, Mat& img, Mat& tmap, std::vector<int >& orig_ind)
18
19
{
19
20
int nRows = img.rows ;
20
21
int nCols = img.cols ;
@@ -55,7 +56,8 @@ static void generateFVectorIntraU(my_vector_of_vectors_t& samples, Mat& img, Mat
55
56
CV_LOG_INFO (NULL , " ALPHAMAT: Total number of unknown pixels : " << c1);
56
57
}
57
58
58
- static void kdtree_intraU (Mat& img, Mat& tmap, my_vector_of_vectors_t & indm, my_vector_of_vectors_t & samples, std::vector<int >& orig_ind)
59
+ static
60
+ void kdtree_intraU (Mat& img, Mat& tmap, my_vector_of_vectors_t & indm, my_vector_of_vectors_t & samples, std::vector<int >& orig_ind)
59
61
{
60
62
// Generate feature vectors for intra U:
61
63
generateFVectorIntraU (samples, img, tmap, orig_ind);
@@ -95,7 +97,8 @@ double l1norm(std::vector<double>& x, std::vector<double>& y)
95
97
return sum / ALPHAMAT_DIM;
96
98
}
97
99
98
- static void intraU (Mat& img, my_vector_of_vectors_t & indm, my_vector_of_vectors_t & samples,
100
+ static
101
+ void intraU (Mat& img, my_vector_of_vectors_t & indm, my_vector_of_vectors_t & samples,
99
102
std::vector<int >& orig_ind, SparseMatrix<double >& Wuu, SparseMatrix<double >& Duu)
100
103
{
101
104
// input: indm, samples
0 commit comments