From a660ccc727ae43120fb57030b98365a9e648cb79 Mon Sep 17 00:00:00 2001 From: Gregor Thalhammer Date: Sat, 12 May 2012 20:03:56 +0200 Subject: [PATCH] unwrap: compiles ok --- .../Miguel_2D_unwrapper_with_mask_and_wrap_around_option.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 a77fb98a..99dd9cce 100644 --- a/unwrap2D/Miguel_2D_unwrapper_with_mask_and_wrap_around_option.c +++ b/unwrap2D/Miguel_2D_unwrapper_with_mask_and_wrap_around_option.c @@ -53,8 +53,8 @@ typedef struct pixelm PIXELM; struct edge { float reliab; //reliabilty of the edge and it depends on the two pixels - struct PIXELM *pointer_1; //pointer to the first pixel - struct PIXELM *pointer_2; //pointer to the second pixel + PIXELM *pointer_1; //pointer to the first pixel + PIXELM *pointer_2; //pointer to the second pixel int increment; //No. of 2*pi to add to one of the pixels to unwrap it with respect to the second }; @@ -698,6 +698,7 @@ int unwrap(float* WrappedImage, float* UnwrappedImage, unsigned char* input_mask free(pixel); free(extended_mask); - return 1; No_of_edges = 0; + return 1; + }