This is the source code for testing FFT-OT algorithm.

1. Usage: 

   DCT_OT.exe $(Project_Dir)..\Data\Sophie.png 

   when window pop up, press any key to continue.

2. The source density is set in CFFT_OT::solve(), you can call

	CFFT_OT::set_source_density_Gaussian()

or 

	CFFT_OT::set_source_density_Bezier()

Furthermore, you can modify the standard deviation, mean for the Gaussian
or control points for the Bezier function.

3. in the main.cpp, FFT_OT_test(imagename, resolution), the resolution parameter
can be modified, such as 512 or 1024. The CFFT_OT::solve() has a error thereshold,
which can also be modified.

4. The code is compiled using visual studio 2019. project solution file is in DCT_OT. 
The OpenCV including directory and the the lib director need to be modified. The 
opencv_world450.dll needs to be put in the binary folder. No other dependencies.

5. The input images are in Data folder, you can use any gray scale image as the input.

The original version in the submitted manuscript is based on libfftw, which requires extra 
libraries and is more complicated to install and compile. So we submit a simplified version based 
on OpenCV DCT. If the reviewers require the original version, we can submit it as well.

Many Thanks!

Na Lei and Xianfeng Gu

08/17/2021
