Skip to content

Commit 0769c13

Browse files
committed
kernelDecompInfo の書き方をC++ライクに。CV_EXPORTS 追加
1 parent 6e6674a commit 0769c13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ximgproc/include/opencv2/ximgproc/sparse_table_morphology.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace stMorph {
1919
* @struct kernelDecompInfo
2020
* @brief struct to hold the results of decomposing the structuring element.
2121
*/
22-
typedef struct _kernelDecompInfo
22+
struct CV_EXPORTS kernelDecompInfo
2323
{
2424
//! rows of the original kernel.
2525
int rows;
@@ -41,7 +41,7 @@ typedef struct _kernelDecompInfo
4141
Point anchor;
4242
//! Number of times erosion and dilation are applied.
4343
int iterations;
44-
} kernelDecompInfo;
44+
}
4545

4646
/**
4747
* @brief Decompose the structuring element.

0 commit comments

Comments
 (0)