File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 66
77namespace cv {namespace ximgproc {
88 void RadonTransform (InputArray src,
9- OutputArray dst,
10- double theta,
11- double start_angle,
12- double end_angle,
13- bool crop,
14- bool norm)
9+ OutputArray dst,
10+ double theta,
11+ double start_angle,
12+ double end_angle,
13+ bool crop,
14+ bool norm)
1515 {
1616 CV_Assert (src.dims () == 2 );
1717 CV_Assert (src.channels () == 1 );
@@ -56,12 +56,10 @@ namespace cv {namespace ximgproc {
5656 _srcMat.cols , _srcMat.rows )));
5757 }
5858
59- double _t;
60- Mat _rotated_src;
6159 Mat _radon (_row_num, _col_num, _out_mat_type);
6260
6361 // Define the parallel loop as a lambda function
64- cv:: parallel_for_ (Range (0 , _col_num), [&](const Range& range) {
62+ parallel_for_ (Range (0 , _col_num), [&](const Range& range) {
6563 for (int _col = range.start ; _col < range.end ; _col++) {
6664 // rotate the source by _t
6765 double _t = (start_angle + _col * theta);
You can’t perform that action at this time.
0 commit comments