

// Copyright: Author: Amit Agrawal, 2006
// Code for solving 2D Poisson equation using analytical solution
// This is an illustration where input image is read, gradients are calculated, image is reconstructed from the gradients and compared with the input image.  The final mean square error is 0


// In practice, pass input gx, gy to SolvePoissonNeumann function for Integration
// gx and gy should be in 1D floating point array, row major, top to bottom row

// Code for Research and Individual Purposes only
// If you use this code, cite my iccv 2005 and eccv 2006 paper
// http://www.cfar.umd.edu/~aagrawal/



/*
A. Agrawal, R. Raskar and R. Chellappa, "What is the Range of Surface Reconstructions from a Gradient Field?", European Conference on Computer Vision (ECCV), 2006  

A. Agrawal, R. Chellappa & R. Raskar, "An Algebraic Approach to Surface Reconstruction from Gradient Fields",  IEEE International Conference on Computer Vision (ICCV), 2005 
*/


