Commit 72485cf 1 parent f08a0da commit 72485cf Copy full SHA for 72485cf
File tree 1 file changed +7
-9
lines changed
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 6
6
7
7
namespace cv {namespace ximgproc {
8
8
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)
15
15
{
16
16
CV_Assert (src.dims () == 2 );
17
17
CV_Assert (src.channels () == 1 );
@@ -56,12 +56,10 @@ namespace cv {namespace ximgproc {
56
56
_srcMat.cols , _srcMat.rows )));
57
57
}
58
58
59
- double _t;
60
- Mat _rotated_src;
61
59
Mat _radon (_row_num, _col_num, _out_mat_type);
62
60
63
61
// 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) {
65
63
for (int _col = range.start ; _col < range.end ; _col++) {
66
64
// rotate the source by _t
67
65
double _t = (start_angle + _col * theta);
You can’t perform that action at this time.
0 commit comments