|
12 | 12 | #include "py/mpconfig.h" |
13 | 13 | #include "global_config.h" |
14 | 14 |
|
| 15 | +// #define OMV_OPTIONAL_I |
| 16 | +// #define OMV_OPTIONAL_II |
15 | 17 | #if CONFIG_MAIXPY_OMV_MINIMUM |
16 | 18 |
|
17 | 19 | #ifndef CONFIG_MAIXPY_OMV_CONV_YUV_FAST |
|
66 | 68 | #define IMLIB_ENABLE_MODE |
67 | 69 |
|
68 | 70 | // Enable midpoint() |
69 | | -#define IMLIB_ENABLE_MIDPOINT |
| 71 | +// #define IMLIB_ENABLE_MIDPOINT |
70 | 72 |
|
71 | 73 | // Enable morph() |
72 | | -#define IMLIB_ENABLE_MORPH |
| 74 | +// #define IMLIB_ENABLE_MORPH |
73 | 75 |
|
74 | 76 | // Enable Gaussian |
75 | | -#define IMLIB_ENABLE_GAUSSIAN |
| 77 | +// #define IMLIB_ENABLE_GAUSSIAN |
76 | 78 |
|
77 | 79 | // Enable Laplacian |
78 | | -#define IMLIB_ENABLE_LAPLACIAN |
| 80 | +// #define IMLIB_ENABLE_LAPLACIAN |
79 | 81 |
|
80 | 82 | // Enable bilateral() |
81 | | -#define IMLIB_ENABLE_BILATERAL |
| 83 | +// #define IMLIB_ENABLE_BILATERAL |
82 | 84 |
|
83 | 85 | // Enable cartoon() |
84 | | -#define IMLIB_ENABLE_CARTOON |
| 86 | +// #define IMLIB_ENABLE_CARTOON |
85 | 87 |
|
86 | 88 | // Enable remove_shadows() |
87 | | -#define IMLIB_ENABLE_REMOVE_SHADOWS |
| 89 | +// #define IMLIB_ENABLE_REMOVE_SHADOWS |
88 | 90 |
|
89 | 91 | // Enable linpolar() |
90 | | -#define IMLIB_ENABLE_LINPOLAR |
| 92 | +// #define IMLIB_ENABLE_LINPOLAR |
91 | 93 |
|
92 | 94 | // Enable logpolar() |
93 | | -#define IMLIB_ENABLE_LOGPOLAR |
| 95 | +// #define IMLIB_ENABLE_LOGPOLAR |
94 | 96 |
|
95 | 97 | // Enable chrominvar() |
96 | | -#define IMLIB_ENABLE_CHROMINVAR |
| 98 | +// #define IMLIB_ENABLE_CHROMINVAR |
97 | 99 |
|
98 | 100 | // Enable illuminvar() |
99 | | -#define IMLIB_ENABLE_ILLUMINVAR |
| 101 | +// #define IMLIB_ENABLE_ILLUMINVAR |
100 | 102 |
|
101 | 103 | // Enable invariant table |
102 | 104 | //#define IMLIB_ENABLE_INVARIANT_TABLE |
103 | 105 |
|
104 | 106 | // Enable rotation_corr() |
105 | | -#define IMLIB_ENABLE_ROTATION_CORR |
| 107 | +//#define IMLIB_ENABLE_ROTATION_CORR |
106 | 108 |
|
107 | 109 | // Enable phasecorrelate() |
108 | | -#define IMLIB_ENABLE_FIND_DISPLACEMENT |
| 110 | +// #define IMLIB_ENABLE_FIND_DISPLACEMENT |
109 | 111 |
|
110 | 112 | // rotation_corr() is required by phasecorrelate() |
111 | 113 | #if defined(IMLIB_ENABLE_FIND_DISPLACEMENT)\ |
|
114 | 116 | #endif |
115 | 117 |
|
116 | 118 | // Enable get_similarity() |
117 | | -#define IMLIB_ENABLE_GET_SIMILARITY |
| 119 | +// #define IMLIB_ENABLE_GET_SIMILARITY |
118 | 120 |
|
119 | 121 | // Enable find_lines() |
120 | | -#define IMLIB_ENABLE_FIND_LINES |
| 122 | +// #define IMLIB_ENABLE_FIND_LINES |
121 | 123 |
|
122 | 124 | // Enable find_line_segments() |
123 | | -#define IMLIB_ENABLE_FIND_LINE_SEGMENTS |
| 125 | +// #define IMLIB_ENABLE_FIND_LINE_SEGMENTS |
124 | 126 |
|
125 | 127 | // find_lines() is required by the old find_line_segments() |
126 | 128 | #if defined(IMLIB_ENABLE_FIND_LINE_SEGMENTS)\ |
|
129 | 131 | #endif |
130 | 132 |
|
131 | 133 | // Enable find_circles() |
132 | | -#define IMLIB_ENABLE_FIND_CIRCLES |
| 134 | +// #define IMLIB_ENABLE_FIND_CIRCLES |
133 | 135 |
|
134 | 136 | // Enable find_rects() |
135 | | -#define IMLIB_ENABLE_FIND_RECTS |
| 137 | +// #define IMLIB_ENABLE_FIND_RECTS |
136 | 138 |
|
137 | 139 | // Enable find_qrcodes() (14 KB) |
138 | 140 | #if CONFIG_MAIXPY_OMV_QRCODES |
139 | 141 | #define IMLIB_ENABLE_QRCODES |
140 | 142 | #endif |
141 | 143 |
|
142 | 144 | // Enable find_apriltags() (64 KB) |
143 | | -#define IMLIB_ENABLE_APRILTAGS |
| 145 | +// #define IMLIB_ENABLE_APRILTAGS |
144 | 146 |
|
145 | 147 | // Enable find_datamatrices() (26 KB) |
146 | | -#define IMLIB_ENABLE_DATAMATRICES |
| 148 | +// #define IMLIB_ENABLE_DATAMATRICES |
147 | 149 |
|
148 | 150 | // Enable find_barcodes() (42 KB) |
149 | | -#define IMLIB_ENABLE_BARCODES |
| 151 | +// #define IMLIB_ENABLE_BARCODES |
150 | 152 |
|
151 | 153 | // Enable LENET (200+ KB). |
152 | | -#define IMLIB_ENABLE_LENET |
| 154 | +// #define IMLIB_ENABLE_LENET |
153 | 155 |
|
154 | 156 | // Enable CMSIS NN |
155 | | -#define IMLIB_ENABLE_CNN |
| 157 | +// #define IMLIB_ENABLE_CNN |
156 | 158 |
|
157 | 159 | // Enable FAST (20+ KBs). |
158 | | -#define IMLIB_ENABLE_FAST |
| 160 | +// #define IMLIB_ENABLE_FAST |
159 | 161 |
|
160 | 162 | // Enable find_hog() |
161 | | -#define IMLIB_ENABLE_HOG |
| 163 | +// #define IMLIB_ENABLE_HOG |
162 | 164 |
|
163 | 165 | // Enable selective_search() |
164 | | -#define IMLIB_ENABLE_SELECTIVE_SEARCH |
| 166 | +// #define IMLIB_ENABLE_SELECTIVE_SEARCH |
165 | 167 |
|
166 | 168 | #ifndef CONFIG_MAIXPY_OMV_CONV_YUV_FAST |
167 | 169 | #define IMLIB_ENABLE_YUV_LAB_FUNC |
|
0 commit comments