Commit 57c9206a authored by Gaurav Kukreja's avatar Gaurav Kukreja

Added a brief description about ex14

Signed-off-by: 's avatarGaurav Kukreja <gmkukreja@gmail.com>
parent 2023ccb8
The inpainting seems to complete at 600 iterations with Huber Regularization.
Actually there is a limited aritfact even at 800 and 1000 iterations.
Comparison of Huber and Quadratic Regularization
* With Quadratic, we can alredy see a significant change in 100 iterations, the change is
gradual with Huber Regularization.
* At iterations > 600, the output seems almost same for each.
\ No newline at end of file
......@@ -69,7 +69,7 @@ __global__ void findGreen(float* imgIn, float* imgOut, bool* d_mask, size_t n_pi
__device__ __host__ float huber(float s, float epsilon)
{
return 1.0F / max(epsilon, s);
//return 1.0F;
// return 1.0F;
//return expf(-s*s / epsilon) / epsilon;
}
......@@ -171,7 +171,7 @@ int main(int argc, char **argv)
getParam("tau", tau, argc, argv);
cout << "τ: " << tau << endl;
int N = 800;
int N = 1000;
getParam("N", N, argc, argv);
cout << "N: " << N << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment