From 072ec62874de91e96fc7c6f8cd7003736c45c0b0 Mon Sep 17 00:00:00 2001 From: David Hilvert Date: Thu, 4 Jun 2009 20:16:43 +0000 Subject: [PATCH] d2/align, d2/image_rw: Revise migration-related messages to use pre-processor warnings. --- d2/align.h | 7 ++----- d2/image_rw.h | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/d2/align.h b/d2/align.h index 999367d..c29360e 100644 --- a/d2/align.h +++ b/d2/align.h @@ -2387,12 +2387,8 @@ public: init_weights(); +#warning migrate to libale (e.g., ale_image_map_2) #if 0 - /* - * XXX: the below bounds-checking logic should be migrated to - * ale_image_map_2(), and the below code removed. - */ - point map_offset = reference_image->offset() - weight_map->offset(); int rows = reference_image->height(); @@ -2411,6 +2407,7 @@ public: } #endif +#warning current filtering might be inappropriate /* * XXX: this should perhaps use GET_PIXEL_BI_GEOMETRIC, or GET_PIXEL_BI_MINIMUM * (as, e.g., implemented in the deprecated image::get_bl() method). diff --git a/d2/image_rw.h b/d2/image_rw.h index 9b67282..1ab7221 100644 --- a/d2/image_rw.h +++ b/d2/image_rw.h @@ -525,9 +525,8 @@ public: pixel value = im->get_pixel(i, j); +#warning migrate to libale #if 0 - /* XXX: migrate to Libale. */ - /* * Get nearest-neighbor defined values. * -- 2.11.4.GIT