Skip to content

Commit e74720e

Browse files
committed
update document
1 parent 86bbd81 commit e74720e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

modules/ximgproc/include/opencv2/ximgproc/radon_transform.hpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ namespace cv { namespace ximgproc {
2020
* @param norm Normalize the output Mat to grayscale and convert type to CV_8U
2121
*
2222
* This function calculates the Radon Transform of a given image in any range.
23-
* Input image is required to be type CV_8U. A square image is recommended.
24-
* If crop is selected, the input image must be square.
25-
* The output is a Mat of size num_of_integral x src.cols
26-
* i.e. [(end_angle - start_angle) / theta] x src.cols
27-
* with type CV_32SC1 by default.
28-
*
23+
* See https://engineering.purdue.edu/~malcolm/pct/CTI_Ch03.pdf for detail.
24+
* If the input type is CV_8U, the output will be CV_32S.
25+
* If the input type is CV_32F or CV_64F, the output will be CV_64F
26+
* The output size will be num_of_integral x src_diagonal_length.
27+
* If crop is selected, the input image will be crop into square then circle,
28+
* and output size will be num_of_integral x min_edge.
29+
*
2930
*/
3031
CV_EXPORTS_W void RadonTransform(InputArray src,
3132
OutputArray dst,

0 commit comments

Comments
 (0)