From 73b03953a8b36e1a4c00813fc3460d989dc38af9 Mon Sep 17 00:00:00 2001 From: cgohlke Date: Mon, 14 May 2012 17:06:48 -0700 Subject: [PATCH] unwrap: Fix crash on Windows --- .../Miguel_2D_unwrapper_with_mask_and_wrap_around_option.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/unwrap2D/Miguel_2D_unwrapper_with_mask_and_wrap_around_option.c b/unwrap2D/Miguel_2D_unwrapper_with_mask_and_wrap_around_option.c index 3017c529..a9bae512 100755 --- a/unwrap2D/Miguel_2D_unwrapper_with_mask_and_wrap_around_option.c +++ b/unwrap2D/Miguel_2D_unwrapper_with_mask_and_wrap_around_option.c @@ -1,9 +1,9 @@ // 2D phase unwrapping, modified for inclusion in scipy by Gregor Thalhammer -//This program was written by Munther Gdeisat and Miguel Arevallilo Herra´ez to program the two-dimensional unwrapper +//This program was written by Munther Gdeisat and Miguel Arevallilo Herra�ez to program the two-dimensional unwrapper //entitled "Fast two-dimensional phase-unwrapping algorithm based on sorting by //reliability following a noncontinuous path" -//by Miguel Arevallilo Herra´ez, David R. Burton, Michael J. Lalor, and Munther A. Gdeisat +//by Miguel Arevallilo Herra�ez, David R. Burton, Michael J. Lalor, and Munther A. Gdeisat //published in the Journal Applied Optics, Vol. 41, No. 35, pp. 7437, 2002. //This program was written by Munther Gdeisat, Liverpool John Moores University, United Kingdom. //Date 26th August 2007 @@ -680,6 +680,7 @@ void returnImage(PIXELM *pixel, float *unwrapped_image, int image_width, int im } //the main function of the unwrapper +void unwrap2D(float* wrapped_image, float* UnwrappedImage, unsigned char* input_mask, int image_width, int image_height, int wrap_around_x, int wrap_around_y)