@@ -14,11 +14,52 @@ MESSAGE("OpenCV OpenCV_INCLUDE_DIRS: ${OpenCV_INCLUDE_DIRS}")
14
14
MESSAGE ("OpenCV OpenCV_LIBS: ${OpenCV_LIBS} " )
15
15
16
16
#图分割算法
17
- add_executable (cpluplus samples/graphsegmentation_custom.cpp
18
- include /segmentation.h
17
+ #add_executable(cpluplus samples/graphsegmentation_custom.cpp
18
+ # include/segmentation.h
19
+ # include/graphsegment/graphsegmentation.h include/graphsegment/graphsegmentationimpl.h
20
+ # include/graphsegment/edge.h include/graphsegment/point_set_element.h include/graphsegment/point_set.h
21
+ # src/graphsegmentation.cpp src/graphsegmentationimpl.cpp src/point_set.cpp
22
+ # )
23
+ add_executable (cpluplus samples/selectivesearchsegmentation_custom.cpp
24
+ include /selectivesearch/selectivesearchsegmentation.h
25
+ include /selectivesearch/selectivesearchsegmentationimpl.h
26
+
27
+ # Helpers
28
+ include /selectivesearch/region.h include /selectivesearch/neighbor.h
29
+ include /selectivesearch/selective_search_segmentation_strategy.h
30
+ include /selectivesearch/rect_comparator.h
31
+
32
+ # Strategy
33
+ include /selectivesearch/selective_search_segmentation_strategy_color.h
34
+ include /selectivesearch/selective_search_segmentation_strategy_size.h
35
+ include /selectivesearch/selective_search_segmentation_strategy_texture.h
36
+ include /selectivesearch/selective_search_segmentation_strategy_fill.h
37
+ include /selectivesearch/selective_search_segmentation_strategy_multiple.h
38
+
39
+ include /selectivesearch/selective_search_segmentation_strategy_color_impl.h
40
+ include /selectivesearch/selective_search_segmentation_strategy_size_impl.h
41
+ include /selectivesearch/selective_search_segmentation_strategy_texture_impl.h
42
+ include /selectivesearch/selective_search_segmentation_strategy_fill_impl.h
43
+ include /selectivesearch/selective_search_segmentation_strategy_multiple_impl.h
44
+
45
+ src/selective_search_segmentation_strategy_color_impl.cpp
46
+ src/selective_search_segmentation_strategy_color.cpp
47
+ src/selective_search_segmentation_strategy_multiple.cpp
48
+ src/selective_search_segmentation_strategy_multiple_impl.cpp
49
+ src/selective_search_segmentation_strategy_size.cpp
50
+ src/selective_search_segmentation_strategy_size_impl.cpp
51
+ src/selective_search_segmentation_strategy_fill.cpp
52
+ src/selective_search_segmentation_strategy_fill_impl.cpp
53
+ src/selective_search_segmentation_strategy_texture.cpp
54
+ src/selective_search_segmentation_strategy_texture_impl.cpp
55
+ src/selectivesearchsegmentation.cpp
56
+ src/selectivesearchsegmentationimpl.cpp
57
+ src/region.cpp
58
+ src/neighbor.cpp
59
+
60
+ # 图分割算法
19
61
include /graphsegment/graphsegmentation.h include /graphsegment/graphsegmentationimpl.h
20
62
include /graphsegment/edge.h include /graphsegment/point_set_element.h include /graphsegment/point_set.h
21
63
src/graphsegmentation.cpp src/graphsegmentationimpl.cpp src/point_set.cpp
22
64
)
23
- #add_executable(cpluplus samples/selectivesearchsegmentation_custom.cpp)
24
65
target_link_libraries (cpluplus ${OpenCV_LIBS} )
0 commit comments