Disable logpolar if not used
@@ -117,6 +117,7 @@ void imlib_logpolar_int(image_t *dst, image_t *src, rectangle_t *roi, bool linea
}
}
+#if defined(IMLIB_ENABLE_LOGPOLAR) || defined(IMLIB_ENABLE_LINPOLAR)
void imlib_logpolar(image_t *img, bool linear, bool reverse)
{
image_t img_2;
@@ -136,6 +137,7 @@ void imlib_logpolar(image_t *img, bool linear, bool reverse)
imlib_logpolar_int(img, &img_2, &rect, linear, reverse);
fb_free();
}
+#endif //defined(IMLIB_ENABLE_LOGPOLAR) || defined(IMLIB_ENABLE_LINPOLAR)
// Note that both ROI widths and heights must be equal.
void imlib_phasecorrelate(image_t *img0, image_t *img1, rectangle_t *roi0, rectangle_t *roi1, bool logpolar, bool fix_rotation_scale,
